Chelsea707 commited on
Commit
1e3a656
·
verified ·
1 Parent(s): 563dc76

Add Batch 5724b9e7-82db-4191-a7b6-80e07dd10794 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_content_list.json +0 -0
  3. 2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_model.json +0 -0
  4. 2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_origin.pdf +3 -0
  5. 2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/full.md +0 -0
  6. 2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/images.zip +3 -0
  7. 2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/layout.json +0 -0
  8. 2025/Local Patterns Generalize Better for Novel Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_content_list.json +0 -0
  9. 2025/Local Patterns Generalize Better for Novel Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_model.json +0 -0
  10. 2025/Local Patterns Generalize Better for Novel Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_origin.pdf +3 -0
  11. 2025/Local Patterns Generalize Better for Novel Anomalies/full.md +0 -0
  12. 2025/Local Patterns Generalize Better for Novel Anomalies/images.zip +3 -0
  13. 2025/Local Patterns Generalize Better for Novel Anomalies/layout.json +0 -0
  14. 2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/bf882231-2720-484a-9566-e1ecfaef27ba_content_list.json +0 -0
  15. 2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/bf882231-2720-484a-9566-e1ecfaef27ba_model.json +0 -0
  16. 2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/bf882231-2720-484a-9566-e1ecfaef27ba_origin.pdf +3 -0
  17. 2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/full.md +0 -0
  18. 2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/images.zip +3 -0
  19. 2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/layout.json +0 -0
  20. 2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/25f02a74-df10-4e53-b66b-c917a6fda919_content_list.json +0 -0
  21. 2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/25f02a74-df10-4e53-b66b-c917a6fda919_model.json +0 -0
  22. 2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/25f02a74-df10-4e53-b66b-c917a6fda919_origin.pdf +3 -0
  23. 2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/full.md +0 -0
  24. 2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/images.zip +3 -0
  25. 2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/layout.json +0 -0
  26. 2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_content_list.json +0 -0
  27. 2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_model.json +0 -0
  28. 2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_origin.pdf +3 -0
  29. 2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/full.md +475 -0
  30. 2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/images.zip +3 -0
  31. 2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/layout.json +0 -0
  32. 2025/Locality Alignment Improves Vision-Language Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_content_list.json +0 -0
  33. 2025/Locality Alignment Improves Vision-Language Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_model.json +0 -0
  34. 2025/Locality Alignment Improves Vision-Language Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_origin.pdf +3 -0
  35. 2025/Locality Alignment Improves Vision-Language Models/full.md +0 -0
  36. 2025/Locality Alignment Improves Vision-Language Models/images.zip +3 -0
  37. 2025/Locality Alignment Improves Vision-Language Models/layout.json +0 -0
  38. 2025/Locality Sensitive Avatars From Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_content_list.json +0 -0
  39. 2025/Locality Sensitive Avatars From Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_model.json +0 -0
  40. 2025/Locality Sensitive Avatars From Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_origin.pdf +3 -0
  41. 2025/Locality Sensitive Avatars From Video/full.md +0 -0
  42. 2025/Locality Sensitive Avatars From Video/images.zip +3 -0
  43. 2025/Locality Sensitive Avatars From Video/layout.json +0 -0
  44. 2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_content_list.json +0 -0
  45. 2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_model.json +0 -0
  46. 2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_origin.pdf +3 -0
  47. 2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/full.md +0 -0
  48. 2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/images.zip +3 -0
  49. 2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/layout.json +0 -0
  50. 2025/Locally Connected Echo State Networks for Time Series Forecasting/cfa3f754-53ec-4308-a689-f7e31553fefb_content_list.json +0 -0
.gitattributes CHANGED
@@ -1881,3 +1881,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
1881
  2025/LoR-VP_[[:space:]]Low-Rank[[:space:]]Visual[[:space:]]Prompting[[:space:]]for[[:space:]]Efficient[[:space:]]Vision[[:space:]]Model[[:space:]]Adaptation/a549adb2-5523-4e53-911e-76eed8c3ac80_origin.pdf filter=lfs diff=lfs merge=lfs -text
1882
  2025/LoRA-X_[[:space:]]Bridging[[:space:]]Foundation[[:space:]]Models[[:space:]]with[[:space:]]Training-Free[[:space:]]Cross-Model[[:space:]]Adaptation/4273ed34-abf6-47ad-a4ba-486a8372e1e7_origin.pdf filter=lfs diff=lfs merge=lfs -text
1883
  2025/LoRanPAC_[[:space:]]Low-rank[[:space:]]Random[[:space:]]Features[[:space:]]and[[:space:]]Pre-trained[[:space:]]Models[[:space:]]for[[:space:]]Bridging[[:space:]]Theory[[:space:]]and[[:space:]]Practice[[:space:]]in[[:space:]]Continual[[:space:]]Learning/b7f54938-cf26-468d-b84e-74a4e18f4877_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1881
  2025/LoR-VP_[[:space:]]Low-Rank[[:space:]]Visual[[:space:]]Prompting[[:space:]]for[[:space:]]Efficient[[:space:]]Vision[[:space:]]Model[[:space:]]Adaptation/a549adb2-5523-4e53-911e-76eed8c3ac80_origin.pdf filter=lfs diff=lfs merge=lfs -text
1882
  2025/LoRA-X_[[:space:]]Bridging[[:space:]]Foundation[[:space:]]Models[[:space:]]with[[:space:]]Training-Free[[:space:]]Cross-Model[[:space:]]Adaptation/4273ed34-abf6-47ad-a4ba-486a8372e1e7_origin.pdf filter=lfs diff=lfs merge=lfs -text
1883
  2025/LoRanPAC_[[:space:]]Low-rank[[:space:]]Random[[:space:]]Features[[:space:]]and[[:space:]]Pre-trained[[:space:]]Models[[:space:]]for[[:space:]]Bridging[[:space:]]Theory[[:space:]]and[[:space:]]Practice[[:space:]]in[[:space:]]Continual[[:space:]]Learning/b7f54938-cf26-468d-b84e-74a4e18f4877_origin.pdf filter=lfs diff=lfs merge=lfs -text
1884
+ 2025/Local[[:space:]]Loss[[:space:]]Optimization[[:space:]]in[[:space:]]the[[:space:]]Infinite[[:space:]]Width_[[:space:]]Stable[[:space:]]Parameterization[[:space:]]of[[:space:]]Predictive[[:space:]]Coding[[:space:]]Networks[[:space:]]and[[:space:]]Target[[:space:]]Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_origin.pdf filter=lfs diff=lfs merge=lfs -text
1885
+ 2025/Local[[:space:]]Patterns[[:space:]]Generalize[[:space:]]Better[[:space:]]for[[:space:]]Novel[[:space:]]Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_origin.pdf filter=lfs diff=lfs merge=lfs -text
1886
+ 2025/Local[[:space:]]Steps[[:space:]]Speed[[:space:]]Up[[:space:]]Local[[:space:]]GD[[:space:]]for[[:space:]]Heterogeneous[[:space:]]Distributed[[:space:]]Logistic[[:space:]]Regression/bf882231-2720-484a-9566-e1ecfaef27ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
1887
+ 2025/Local[[:space:]]convergence[[:space:]]of[[:space:]]simultaneous[[:space:]]min-max[[:space:]]algorithms[[:space:]]to[[:space:]]differential[[:space:]]equilibrium[[:space:]]on[[:space:]]Riemannian[[:space:]]manifold/25f02a74-df10-4e53-b66b-c917a6fda919_origin.pdf filter=lfs diff=lfs merge=lfs -text
1888
+ 2025/Local-Prompt_[[:space:]]Extensible[[:space:]]Local[[:space:]]Prompts[[:space:]]for[[:space:]]Few-Shot[[:space:]]Out-of-Distribution[[:space:]]Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_origin.pdf filter=lfs diff=lfs merge=lfs -text
1889
+ 2025/Locality[[:space:]]Alignment[[:space:]]Improves[[:space:]]Vision-Language[[:space:]]Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_origin.pdf filter=lfs diff=lfs merge=lfs -text
1890
+ 2025/Locality[[:space:]]Sensitive[[:space:]]Avatars[[:space:]]From[[:space:]]Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_origin.pdf filter=lfs diff=lfs merge=lfs -text
1891
+ 2025/Locality-aware[[:space:]]Gaussian[[:space:]]Compression[[:space:]]for[[:space:]]Fast[[:space:]]and[[:space:]]High-quality[[:space:]]Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_origin.pdf filter=lfs diff=lfs merge=lfs -text
1892
+ 2025/Locally[[:space:]]Connected[[:space:]]Echo[[:space:]]State[[:space:]]Networks[[:space:]]for[[:space:]]Time[[:space:]]Series[[:space:]]Forecasting/cfa3f754-53ec-4308-a689-f7e31553fefb_origin.pdf filter=lfs diff=lfs merge=lfs -text
1893
+ 2025/LocoVR_[[:space:]]Multiuser[[:space:]]Indoor[[:space:]]Locomotion[[:space:]]Dataset[[:space:]]in[[:space:]]Virtual[[:space:]]Reality/ac908ce4-bac2-46c3-87cb-599bf2a776da_origin.pdf filter=lfs diff=lfs merge=lfs -text
1894
+ 2025/Logic-Logit_[[:space:]]A[[:space:]]Logic-Based[[:space:]]Approach[[:space:]]to[[:space:]]Choice[[:space:]]Modeling/cb9b5d9f-4887-4f6a-bcef-03441855c14b_origin.pdf filter=lfs diff=lfs merge=lfs -text
1895
+ 2025/Logical[[:space:]]Consistency[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]in[[:space:]]Fact-Checking/688591cd-d191-4a10-b66b-9dbbc0a1a52d_origin.pdf filter=lfs diff=lfs merge=lfs -text
1896
+ 2025/Logically[[:space:]]Consistent[[:space:]]Language[[:space:]]Models[[:space:]]via[[:space:]]Neuro-Symbolic[[:space:]]Integration/c952af5d-b917-497d-bb54-6a0abe92aa5d_origin.pdf filter=lfs diff=lfs merge=lfs -text
1897
+ 2025/Logicbreaks_[[:space:]]A[[:space:]]Framework[[:space:]]for[[:space:]]Understanding[[:space:]]Subversion[[:space:]]of[[:space:]]Rule-based[[:space:]]Inference/03d36b0e-8869-4547-ab59-f252d40b7efd_origin.pdf filter=lfs diff=lfs merge=lfs -text
1898
+ 2025/Long[[:space:]]Context[[:space:]]Compression[[:space:]]with[[:space:]]Activation[[:space:]]Beacon/b787e1f3-ed2d-42af-a6e5-63e970671d38_origin.pdf filter=lfs diff=lfs merge=lfs -text
1899
+ 2025/Long-Context[[:space:]]LLMs[[:space:]]Meet[[:space:]]RAG_[[:space:]]Overcoming[[:space:]]Challenges[[:space:]]for[[:space:]]Long[[:space:]]Inputs[[:space:]]in[[:space:]]RAG/7634f402-41b1-4245-a33b-7f2c2872775d_origin.pdf filter=lfs diff=lfs merge=lfs -text
1900
+ 2025/Long-Context[[:space:]]Linear[[:space:]]System[[:space:]]Identification/39cb401d-a44f-49fd-9c79-c3d209141bd0_origin.pdf filter=lfs diff=lfs merge=lfs -text
1901
+ 2025/Long-Sequence[[:space:]]Recommendation[[:space:]]Models[[:space:]]Need[[:space:]]Decoupled[[:space:]]Embeddings/7bc723be-8b1c-43d0-ab82-bca153c1107f_origin.pdf filter=lfs diff=lfs merge=lfs -text
1902
+ 2025/Long-Short[[:space:]]Decision[[:space:]]Transformer_[[:space:]]Bridging[[:space:]]Global[[:space:]]and[[:space:]]Local[[:space:]]Dependencies[[:space:]]for[[:space:]]Generalized[[:space:]]Decision-Making/66f602c4-832a-4889-ab79-cda424372522_origin.pdf filter=lfs diff=lfs merge=lfs -text
1903
+ 2025/Long-horizon[[:space:]]Visual[[:space:]]Instruction[[:space:]]Generation[[:space:]]with[[:space:]]Logic[[:space:]]and[[:space:]]Attribute[[:space:]]Self-reflection/13ed5302-b02c-438a-a43f-05a7e0cf24ae_origin.pdf filter=lfs diff=lfs merge=lfs -text
1904
+ 2025/Long-tailed[[:space:]]Adversarial[[:space:]]Training[[:space:]]with[[:space:]]Self-Distillation/b0e1270b-38d3-4b1f-995b-3ca42194db43_origin.pdf filter=lfs diff=lfs merge=lfs -text
1905
+ 2025/Long-time[[:space:]]asymptotics[[:space:]]of[[:space:]]noisy[[:space:]]SVGD[[:space:]]outside[[:space:]]the[[:space:]]population[[:space:]]limit/aaf3f262-114b-4534-a3e5-ca92734d3759_origin.pdf filter=lfs diff=lfs merge=lfs -text
1906
+ 2025/LongGenBench_[[:space:]]Benchmarking[[:space:]]Long-Form[[:space:]]Generation[[:space:]]in[[:space:]]Long[[:space:]]Context[[:space:]]LLMs/86af3f6e-4217-48ed-b05f-3b15ab78b2a4_origin.pdf filter=lfs diff=lfs merge=lfs -text
1907
+ 2025/LongMamba_[[:space:]]Enhancing[[:space:]]Mamba's[[:space:]]Long-Context[[:space:]]Capabilities[[:space:]]via[[:space:]]Training-Free[[:space:]]Receptive[[:space:]]Field[[:space:]]Enlargement/0aafaefd-bff7-454f-9686-32df75191ae0_origin.pdf filter=lfs diff=lfs merge=lfs -text
1908
+ 2025/LongMemEval_[[:space:]]Benchmarking[[:space:]]Chat[[:space:]]Assistants[[:space:]]on[[:space:]]Long-Term[[:space:]]Interactive[[:space:]]Memory/4f56cf64-bbcd-4ff0-bc04-f7bd449b03e4_origin.pdf filter=lfs diff=lfs merge=lfs -text
1909
+ 2025/LongPO_[[:space:]]Long[[:space:]]Context[[:space:]]Self-Evolution[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]through[[:space:]]Short-to-Long[[:space:]]Preference[[:space:]]Optimization/a1a38bd3-b79b-4f5b-95fa-3faad313975b_origin.pdf filter=lfs diff=lfs merge=lfs -text
1910
+ 2025/LongVILA_[[:space:]]Scaling[[:space:]]Long-Context[[:space:]]Visual[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]Long[[:space:]]Videos/e8c1b4ba-7089-49e9-af13-25a1cc33d883_origin.pdf filter=lfs diff=lfs merge=lfs -text
1911
+ 2025/LongWriter_[[:space:]]Unleashing[[:space:]]10,000+[[:space:]]Word[[:space:]]Generation[[:space:]]from[[:space:]]Long[[:space:]]Context[[:space:]]LLMs/68eb215f-9740-4022-8b66-da6251bc3361_origin.pdf filter=lfs diff=lfs merge=lfs -text
1912
+ 2025/Longhorn_[[:space:]]State[[:space:]]Space[[:space:]]Models[[:space:]]are[[:space:]]Amortized[[:space:]]Online[[:space:]]Learners/648e7706-c44a-468f-9881-681800c8220f_origin.pdf filter=lfs diff=lfs merge=lfs -text
1913
+ 2025/Look[[:space:]]Before[[:space:]]You[[:space:]]Leap_[[:space:]]Universal[[:space:]]Emergent[[:space:]]Mechanism[[:space:]]for[[:space:]]Retrieval[[:space:]]in[[:space:]]Language[[:space:]]Models/7f844c34-3a06-4e19-9d47-f4b7810da368_origin.pdf filter=lfs diff=lfs merge=lfs -text
1914
+ 2025/Looking[[:space:]]Backward_[[:space:]]Retrospective[[:space:]]Backward[[:space:]]Synthesis[[:space:]]for[[:space:]]Goal-Conditioned[[:space:]]GFlowNets/8f826911-6428-4171-bf63-b5e5f67217d4_origin.pdf filter=lfs diff=lfs merge=lfs -text
1915
+ 2025/Looking[[:space:]]Backward_[[:space:]]Streaming[[:space:]]Video-to-Video[[:space:]]Translation[[:space:]]with[[:space:]]Feature[[:space:]]Banks/beb9cf3f-6610-4c95-a81b-831810f0a448_origin.pdf filter=lfs diff=lfs merge=lfs -text
1916
+ 2025/Looking[[:space:]]Inward_[[:space:]]Language[[:space:]]Models[[:space:]]Can[[:space:]]Learn[[:space:]]About[[:space:]]Themselves[[:space:]]by[[:space:]]Introspection/19d7fec1-99cb-463b-8b92-32186283c0d9_origin.pdf filter=lfs diff=lfs merge=lfs -text
1917
+ 2025/Looking[[:space:]]into[[:space:]]User’s[[:space:]]Long-term[[:space:]]Interests[[:space:]]through[[:space:]]the[[:space:]]Lens[[:space:]]of[[:space:]]Conservative[[:space:]]Evidential[[:space:]]Learning/2fb8b4e4-f7b5-47a1-8098-38f1912add09_origin.pdf filter=lfs diff=lfs merge=lfs -text
1918
+ 2025/Looped[[:space:]]Transformers[[:space:]]for[[:space:]]Length[[:space:]]Generalization/77ffb308-3d52-4d10-b6ba-51783a4f4af2_origin.pdf filter=lfs diff=lfs merge=lfs -text
1919
+ 2025/Loss[[:space:]]Landscape[[:space:]]of[[:space:]]Shallow[[:space:]]ReLU-like[[:space:]]Neural[[:space:]]Networks_[[:space:]]Stationary[[:space:]]Points,[[:space:]]Saddle[[:space:]]Escape,[[:space:]]and[[:space:]]Network[[:space:]]Embedding/565705d5-6ac0-4231-84fc-d09856e9748d_origin.pdf filter=lfs diff=lfs merge=lfs -text
1920
+ 2025/Lossy[[:space:]]Compression[[:space:]]with[[:space:]]Pretrained[[:space:]]Diffusion[[:space:]]Models/454d1460-912e-4916-a9d7-83dd6a98967b_origin.pdf filter=lfs diff=lfs merge=lfs -text
1921
+ 2025/Lotus_[[:space:]]Diffusion-based[[:space:]]Visual[[:space:]]Foundation[[:space:]]Model[[:space:]]for[[:space:]]High-quality[[:space:]]Dense[[:space:]]Prediction/e8329f03-eca5-4f06-9cf9-46110c7534f4_origin.pdf filter=lfs diff=lfs merge=lfs -text
1922
+ 2025/LucidPPN_[[:space:]]Unambiguous[[:space:]]Prototypical[[:space:]]Parts[[:space:]]Network[[:space:]]for[[:space:]]User-centric[[:space:]]Interpretable[[:space:]]Computer[[:space:]]Vision/46bd7f6d-299f-4889-94cb-588440303292_origin.pdf filter=lfs diff=lfs merge=lfs -text
1923
+ 2025/MA$^2$E_[[:space:]]Addressing[[:space:]]Partial[[:space:]]Observability[[:space:]]in[[:space:]]Multi-Agent[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]with[[:space:]]Masked[[:space:]]Auto-Encoder/258d80a8-fe8f-40a6-bbfd-460fa1badf69_origin.pdf filter=lfs diff=lfs merge=lfs -text
1924
+ 2025/MA-RLHF_[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]from[[:space:]]Human[[:space:]]Feedback[[:space:]]with[[:space:]]Macro[[:space:]]Actions/74761a63-b322-4c7e-8eb8-ca33339ae625_origin.pdf filter=lfs diff=lfs merge=lfs -text
1925
+ 2025/MACPO_[[:space:]]Weak-to-Strong[[:space:]]Alignment[[:space:]]via[[:space:]]Multi-Agent[[:space:]]Contrastive[[:space:]]Preference[[:space:]]Optimization/f3dae68e-fd85-4fe9-9b62-434901e3a97e_origin.pdf filter=lfs diff=lfs merge=lfs -text
1926
+ 2025/MADGEN_[[:space:]]Mass-Spec[[:space:]]attends[[:space:]]to[[:space:]]De[[:space:]]Novo[[:space:]]Molecular[[:space:]]generation/a99fc7b6-f1ea-4ea9-8672-9c246aaa7333_origin.pdf filter=lfs diff=lfs merge=lfs -text
1927
+ 2025/MAESTRO_[[:space:]]Masked[[:space:]]Encoding[[:space:]]Set[[:space:]]Transformer[[:space:]]with[[:space:]]Self-Distillation/22651689-3c32-4777-bf1a-36c5d1f562a3_origin.pdf filter=lfs diff=lfs merge=lfs -text
1928
+ 2025/MAGE_[[:space:]]Model-Level[[:space:]]Graph[[:space:]]Neural[[:space:]]Networks[[:space:]]Explanations[[:space:]]via[[:space:]]Motif-based[[:space:]]Graph[[:space:]]Generation/b69e9ba8-9e2f-405b-b1d9-b0ef6c2741ed_origin.pdf filter=lfs diff=lfs merge=lfs -text
1929
+ 2025/MAI_[[:space:]]A[[:space:]]Multi-turn[[:space:]]Aggregation-Iteration[[:space:]]Model[[:space:]]for[[:space:]]Composed[[:space:]]Image[[:space:]]Retrieval/61bf3c88-af64-4f64-baa2-65a23f20b76b_origin.pdf filter=lfs diff=lfs merge=lfs -text
1930
+ 2025/MANTRA_[[:space:]]The[[:space:]]Manifold[[:space:]]Triangulations[[:space:]]Assemblage/507f0769-9c1c-487f-abc3-32629902e485_origin.pdf filter=lfs diff=lfs merge=lfs -text
1931
+ 2025/MAPS_[[:space:]]Advancing[[:space:]]Multi-Modal[[:space:]]Reasoning[[:space:]]in[[:space:]]Expert-Level[[:space:]]Physical[[:space:]]Science/c767d775-85cf-40ef-9318-029a57b33609_origin.pdf filter=lfs diff=lfs merge=lfs -text
1932
+ 2025/MAP_[[:space:]]Low-compute[[:space:]]Model[[:space:]]Merging[[:space:]]with[[:space:]]Amortized[[:space:]]Pareto[[:space:]]Fronts[[:space:]]via[[:space:]]Quadratic[[:space:]]Approximation/9ea6e3f6-eca2-4b7e-a33e-2d61e01633fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
1933
+ 2025/MAST_[[:space:]]model-agnostic[[:space:]]sparsified[[:space:]]training/feb2ba1a-40ff-4db4-a581-cfd080d8b20d_origin.pdf filter=lfs diff=lfs merge=lfs -text
1934
+ 2025/MAVIS_[[:space:]]Mathematical[[:space:]]Visual[[:space:]]Instruction[[:space:]]Tuning[[:space:]]with[[:space:]]an[[:space:]]Automatic[[:space:]]Data[[:space:]]Engine/06f86c96-a1df-4073-8160-eeb4c94017da_origin.pdf filter=lfs diff=lfs merge=lfs -text
1935
+ 2025/MCNC_[[:space:]]Manifold-Constrained[[:space:]]Reparameterization[[:space:]]for[[:space:]]Neural[[:space:]]Compression/658eb039-c192-463b-b42a-72d4af11cbd6_origin.pdf filter=lfs diff=lfs merge=lfs -text
1936
+ 2025/MDSGen_[[:space:]]Fast[[:space:]]and[[:space:]]Efficient[[:space:]]Masked[[:space:]]Diffusion[[:space:]]Temporal-Aware[[:space:]]Transformers[[:space:]]for[[:space:]]Open-Domain[[:space:]]Sound[[:space:]]Generation/8d37680d-7b1f-4adb-baf6-5bb37a25a343_origin.pdf filter=lfs diff=lfs merge=lfs -text
1937
+ 2025/MEGA-Bench_[[:space:]]Scaling[[:space:]]Multimodal[[:space:]]Evaluation[[:space:]]to[[:space:]]over[[:space:]]500[[:space:]]Real-World[[:space:]]Tasks/63b47cdd-f9f8-488d-8b31-569a3ab145f3_origin.pdf filter=lfs diff=lfs merge=lfs -text
1938
+ 2025/MELODI_[[:space:]]Exploring[[:space:]]Memory[[:space:]]Compression[[:space:]]for[[:space:]]Long[[:space:]]Contexts/7dd8bbfd-c850-40bd-a0ff-dc6de0580ffc_origin.pdf filter=lfs diff=lfs merge=lfs -text
1939
+ 2025/MGCFNN_[[:space:]]A[[:space:]]Neural[[:space:]]MultiGrid[[:space:]]Solver[[:space:]]with[[:space:]]Novel[[:space:]]Fourier[[:space:]]Neural[[:space:]]Network[[:space:]]for[[:space:]]High[[:space:]]Wave[[:space:]]Number[[:space:]]Helmholtz[[:space:]]Equations/cfef5eef-526e-4f23-9a94-809bda03dc24_origin.pdf filter=lfs diff=lfs merge=lfs -text
1940
+ 2025/MGDA[[:space:]]Converges[[:space:]]under[[:space:]]Generalized[[:space:]]Smoothness,[[:space:]]Provably/a555e844-40a7-4c49-98f2-6ae82ee62fbf_origin.pdf filter=lfs diff=lfs merge=lfs -text
1941
+ 2025/MGMapNet_[[:space:]]Multi-Granularity[[:space:]]Representation[[:space:]]Learning[[:space:]]for[[:space:]]End-to-End[[:space:]]Vectorized[[:space:]]HD[[:space:]]Map[[:space:]]Construction/cd34c0f0-fc2c-45f7-a618-addbf383f4b3_origin.pdf filter=lfs diff=lfs merge=lfs -text
1942
+ 2025/MIA-Bench_[[:space:]]Towards[[:space:]]Better[[:space:]]Instruction[[:space:]]Following[[:space:]]Evaluation[[:space:]]of[[:space:]]Multimodal[[:space:]]LLMs/a34d5dd4-1042-4139-a08c-9c6aff732e5d_origin.pdf filter=lfs diff=lfs merge=lfs -text
1943
+ 2025/MIA-DPO_[[:space:]]Multi-Image[[:space:]]Augmented[[:space:]]Direct[[:space:]]Preference[[:space:]]Optimization[[:space:]]For[[:space:]]Large[[:space:]]Vision-Language[[:space:]]Models/109bbd24-ee1f-48b6-86b9-508e2858a17f_origin.pdf filter=lfs diff=lfs merge=lfs -text
1944
+ 2025/MIM-Refiner_[[:space:]]A[[:space:]]Contrastive[[:space:]]Learning[[:space:]]Boost[[:space:]]from[[:space:]]Intermediate[[:space:]]Pre-Trained[[:space:]]Masked[[:space:]]Image[[:space:]]Modeling[[:space:]]Representations/9f951607-1ea7-4366-93cc-70e34ddf786a_origin.pdf filter=lfs diff=lfs merge=lfs -text
1945
+ 2025/MIND_[[:space:]]Math[[:space:]]Informed[[:space:]]syNthetic[[:space:]]Dialogues[[:space:]]for[[:space:]]Pretraining[[:space:]]LLMs/180f2997-aa56-4944-bfea-a9afb98a099a_origin.pdf filter=lfs diff=lfs merge=lfs -text
1946
+ 2025/MIRACLE[[:space:]]3D_[[:space:]]Memory-efficient[[:space:]]Integrated[[:space:]]Robust[[:space:]]Approach[[:space:]]for[[:space:]]Continual[[:space:]]Learning[[:space:]]on[[:space:]]3D[[:space:]]Point[[:space:]]Clouds[[:space:]]via[[:space:]]Shape[[:space:]]Model[[:space:]]Construction/7d29b382-b60b-4739-ae13-bb1364193d78_origin.pdf filter=lfs diff=lfs merge=lfs -text
1947
+ 2025/MIRAGE_[[:space:]]Evaluating[[:space:]]and[[:space:]]Explaining[[:space:]]Inductive[[:space:]]Reasoning[[:space:]]Process[[:space:]]in[[:space:]]Language[[:space:]]Models/8ae1a5d0-2384-4cad-ad28-ca24fdbd6ed7_origin.pdf filter=lfs diff=lfs merge=lfs -text
2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/f2bbaa49-1afc-4e13-9f57-47390fda3366_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ea86ada02cbbd2825e05f728d8eac0046d4c57f26eb06631636cd390c76854
3
+ size 1892431
2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2672520b00caa487b6626805b7c0f916cf1b7913f024c7906dcf0e7b2358dd76
3
+ size 2663292
2025/Local Loss Optimization in the Infinite Width_ Stable Parameterization of Predictive Coding Networks and Target Propagation/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Patterns Generalize Better for Novel Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Patterns Generalize Better for Novel Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Patterns Generalize Better for Novel Anomalies/9ae74471-3427-488c-bbc0-c9c9659f7922_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:502666f4f8aea9b6dc7b9d210b920d5ff964f8b049a2b4ee9639480dd6057ca2
3
+ size 27509728
2025/Local Patterns Generalize Better for Novel Anomalies/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Patterns Generalize Better for Novel Anomalies/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ecaacdd05aea6d450f7c3d1c81c616982e4f300f382a631e5261292af134524
3
+ size 1519171
2025/Local Patterns Generalize Better for Novel Anomalies/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/bf882231-2720-484a-9566-e1ecfaef27ba_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/bf882231-2720-484a-9566-e1ecfaef27ba_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/bf882231-2720-484a-9566-e1ecfaef27ba_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd05070506ff8c688f9cb498df9125c5ac1cd2e1f69ebf8f0b4dcdbd76c2a0c
3
+ size 754273
2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d03f596ce0e1fb7bd37f5c86c2e95853dd47d23f1107d976fc0411697a9783b5
3
+ size 5171259
2025/Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic Regression/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/25f02a74-df10-4e53-b66b-c917a6fda919_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/25f02a74-df10-4e53-b66b-c917a6fda919_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/25f02a74-df10-4e53-b66b-c917a6fda919_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8ac960e68002184735654fcb88b6eeaa093b451c97bb9ab8a7ce31825b603ff
3
+ size 1355403
2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d64185f583eea9868439b264d44cb1ee7309dd3c973a7e42e682cef154da1a4e
3
+ size 1453444
2025/Local convergence of simultaneous min-max algorithms to differential equilibrium on Riemannian manifold/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/0cf992c2-303a-4847-aa0d-753bb9554abc_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fcd8fd0ca3acd342fad7ec2fac09e33e9c90201e99f1d550ebd64aa2817d280
3
+ size 2083649
2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/full.md ADDED
@@ -0,0 +1,475 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LOCAL-PROMPT: EXTENSIBLE LOCAL PROMPTS FOR FEW-SHOT OUT-OF-DISTRIBUTION DETECTION
2
+
3
+ Fanhu Zeng $^{1,2}$ , Zhen Cheng $^{1,2}$ , Fei Zhu $^{3}$ , Hongxin Wei $^{4}$ , Xu-Yao Zhang $^{1,2*}$
4
+
5
+ $^{1}$ State Key Laboratory of Multimodal Artificial Intelligence Systems, Institute of Automation, Chinese Academy of Sciences
6
+ $^{2}$ School of Artificial Intelligence, University of Chinese Academy of Sciences
7
+ <sup>3</sup>Centre for Artificial Intelligence and Robotics, HKISI-CAS
8
+ $^{4}$ Department of Statistics and Data Science, Southern University of Science and Technology
9
+
10
+ {zengfanhu2022,chengzhen2019,zhufei2018}@ia.ac.cn
11
+
12
+ xyz@nlpr.ia.ac.cn, weihx@sustech.edu.cn
13
+
14
+ # ABSTRACT
15
+
16
+ Out-of-Distribution (OOD) detection, aiming to distinguish outliers from known categories, has gained prominence in practical scenarios. Recently, the advent of vision-language models (VLM) has heightened interest in enhancing OOD detection for VLM through few-shot tuning. However, existing methods mainly focus on optimizing global prompts, ignoring refined utilization of local information with regard to outliers. Motivated by this, we freeze global prompts and introduce Local-Prompt, a novel coarse-to-fine tuning paradigm to emphasize regional enhancement with local prompts. Our method comprises two integral components: global prompt guided negative augmentation and local prompt enhanced regional regularization. The former utilizes frozen, coarse global prompts as guiding cues to incorporate negative augmentation, thereby leveraging local outlier knowledge. The latter employs trainable local prompts and a regional regularization to capture local information effectively, aiding in outlier identification. We also propose regional-related metric to empower the enrichment of OOD detection. Moreover, since our approach explores enhancing local prompts only, it can be seamlessly integrated with trained global prompts during inference to boost the performance. Comprehensive experiments demonstrate the effectiveness and potential of our method. Notably, our method reduces average FPR95 by $5.17\%$ against state-of-the-art method in 4-shot tuning on challenging ImageNet-1k dataset, even outperforming 16-shot results of previous methods. Code is released at https://github.com/AuroraZengfh/Local-Prompt.
17
+
18
+ # 1 INTRODUCTION
19
+
20
+ Out-of-distribution (OOD) detection (Liu et al., 2020; Cheng et al., 2023b; Jaeger et al., 2022; Tao et al., 2022) aims to distinguish outliers, i.e., samples that do not belong to known in-distribution (ID) classes. It is crucial for industries that require a high level of safety, such as face recognition (Lopez-Lopez et al., 2022) and autonomous driving (Filos et al., 2020). Most previous methods in the field of OOD detection handle the problem using single-modal methods and concentrate on post-hoc processing (Hendrycks & Gimpel, 2016; Wang et al., 2022) or leveraging outliers (Hendrycks et al., 2018; Jiang et al., 2024). However, they suffer from computational inefficiency or consuming data collection. Recently, as the emergence of vision-language models (Radford et al., 2021; Li et al., 2021) shows promising results in multi-modal tasks including image caption (Li et al., 2022a), video understanding (Xu et al., 2021), and so on, it is promising to exploit textual representations to improve performance of OOD detection given a vision-language model (Radford et al., 2021) as a prior model. Considering that zero-shot undergoes a domain gap between upstream and target distribution while full-tuning may pose threats to the learned representation, it is meaningful to explore few-shot learning for vision-language model in OOD detection, in which the detector is prohibited from real outliers and only has access to several ID images.
21
+
22
+ ![](images/df922bd81e3c1ed7604bbbe3ca89063934ce7df089f02f520b52a70a57da688d.jpg)
23
+ Figure 1: Comparison of prompt learning for OOD detection task. Prompts with global optimization may fail in challenging OOD samples as they are overall similar to ID samples and only have subtle regional differences. For example, cat and tiger are generally similar (blue boxes) and only differ in forehead (red box). Our approach with local outlier knowledge cares about region difference and tackles the issue to some extent.
24
+
25
+ The most challenging scene for OOD detection is that one hard OOD sample is similar to a known class on the whole and only has subtle differences locally, which naturally requires the detector to identify outliers through local outlier regions. However, existing research falls short of refining OOD task via rich local information when subtle OOD samples are exhibited in certain regions, as is shown in Fig. 1. Some methods merely focus on utilizing global features only (Ming et al., 2022) (blue boxes in Fig. 1), which ignores local features (red boxes in Fig. 1) and inevitably brings about coarse description. Others use the same prompts to match both global and local image features (Miyai et al., 2023b;a), so the gap between them may lead to inaccurate local outlier identification. Consequently, it is straightforward that enhancing regional information to empower the model with local outlier knowledge could be significant to OOD detection.
26
+
27
+ Motivated by the above observations, we focus on how to explicitly exploit regional-related knowledge, i.e., the learned knowledge is determined by the position of regions, about not only known classes but also unknown samples, which has not been explored before. To tackle the issue, we propose Local-Prompt, which concentrates on enhancing local features solely and introduces extensive local prompts for fine local information utilization. Concretely, we decompose global and local prompts to exploit global and local features, and term prompts that interact with global/local features as global/local prompts. Then we propose two integral components: global prompt guided negative augmentation and local prompt enhanced regional regularization. Global prompt is frozen to provide guidance for generating negative augmentation, which could facilitate the exploitation of local outlier knowledge. Fine local prompt is designed for regional regularization to refine regional-related local prompts, which captures the fine local information to better distinguish OOD inputs. Moreover, we also propose corresponding regional-related evaluation metrics to leverage the power of local prompts for OOD detection.
28
+
29
+ Another advantage of our approach is that it orthogonally explores the benefits of local prompts shown in Fig. 1 and uses hand-crafted global prompts, i.e., a photo of a {class}. Hence, it is extensible to all existing global prompt designing methods (Miyai et al., 2023a; Wang et al., 2023). Therefore, we can extend it by seamlessly replacing coarse global prompts with trained ones during inference to improve the performance.
30
+
31
+ Comprehensive experiments demonstrate the effectiveness of the proposed method. Specifically, our results outperform the state-of-the-art methods in both OOD detection (5.17% reduction on FPR95) and ID accuracy evaluation (1.02%) under 4-shot tuning by a large margin, exhibiting the superiority and the potential of enhancing local prompts for OOD detection and ID classification ability. We additionally carry out various analysis on and all quantitative outcomes and qualitative visualization validate effectiveness. We summarize our contributions as follows:
32
+
33
+ - We focus on enhancing local information with local prompts and propose a coarse-to-fine few-shot tuning paradigm. Specifically, we propose effective negative augmentation and regional regularization to learn local prompts with local outlier knowledge.
34
+ - We propose regional-related OOD score and ID classification metrics, which benefit from enhanced local prompts in OOD detection. Moreover, our method is orthogonal to global
35
+
36
+ prompt optimization methods and is extensible to get notable performance when integrated with trained local global prompts during inference.
37
+
38
+ - We conduct comprehensive experiments and achieve competitive results on various OOD detection datasets, demonstrating the superiority of our method. Notably, our 4-shot results on challenging ImageNet-1k even outperform 16-shot results of previous methods.
39
+
40
+ # 2 RELATED WORK
41
+
42
+ # 2.1 OUT-OF-DISTRIBUTION DETECTION WITH VISION-LANGUAGE MODEL
43
+
44
+ Out-of-distribution detection, as a crucial part of open environment (Zeng et al., 2024; Zhu et al., 2023b; Cheng et al., 2023b), has been widely studied in the past decades (Hendrycks et al., 2018; Cheng et al., 2023a; Shu et al., 2023; Zhu et al., 2023a; Liu et al., 2024). With the emergence of CLIP (Radford et al., 2021), which learns outstanding visual and textual representations pretrained on large-scale image-text pairs and displays excellent ability in various downstream tasks, much attention has been paid to transferring vision-language model to OOD detection task (Fort et al., 2021; Ming et al., 2022; Esmaeilpour et al., 2022; Wang et al., 2023; Miyai et al., 2023a; Park et al., 2023; Bai et al., 2024). For instance, MCM (Ming et al., 2022) adopts the visual and textual representations extracted from CLIP encoders and applies softmax with temperature to better separate ID and OOD data. ZOC (Esmaeilpour et al., 2022) generates pseudo unseen class labels with additional modules and defines a novel confidence score accordingly. Clipn (Wang et al., 2023) enhances the discrimination of OOD samples with extra encoder and data (Sharma et al., 2018).
45
+
46
+ # 2.2 MULTI-MODAL FEW-SHOT PROMPT LEARNING
47
+
48
+ Since vision-language model like CLIP (Radford et al., 2021) achieves superior performance in numerous image-text tasks, many attempts have been made to explore few-shot tuning to leverage the power of large pre-trained models. There are mainly two lines of approaches, namely Adapter Learning (Zhang et al., 2021; Gao et al., 2023; Guo et al., 2023; Udandarao et al., 2023; Zhu et al., 2023c) and Prompt Learning (Zhou et al., 2022b; Bahng et al., 2022). Both of them froze the pretrained encoders when fine-tuning a few additional parameters.
49
+
50
+ Prompt learning promotes the performance of vision-language model by enhancing the prompts in both visual (Jia et al., 2022; Bahng et al., 2022) and textual (Zhou et al., 2022b;a) aspects. A common practice is setting textual prompts learnable and forwarding them together with visual inputs. CoOp (Zhou et al., 2022b) replaces the hand-crafted prompts with contextual learnable embeddings and optimizes them during few-shot training. In our approach, we freeze global prompts and fine-tune local prompts individually.
51
+
52
+ # 2.3 GLOBAL AND LOCAL INFORMATION
53
+
54
+ In Vision Transformer (Dosovitskiy et al., 2020; Zeng & Yu), global tokens are specifically designed for image classification task (Touvron et al., 2021; He et al., 2022). They represent overall characteristics of images. Local tokens are utilized for dense prediction tasks including segmentation (Cheng et al., 2022; Strudel et al., 2021), object detection (Chen et al., 2022; Meng et al., 2021), and so on. The utilization of local features has been explored as well, such as pyramid features (Wang et al., 2021) and window attention (Liu et al., 2021; Li et al., 2022b; Liu et al., 2022).
55
+
56
+ In the field of OOD detection, global features are primarily employed and numerous studies have been conducted concerning local information (Miyai et al., 2023b; a; Zhang et al., 2023). GL-MCM (Miyai et al., 2023b) takes all tokens into consideration and uses the sum of global and local OOD scores to measure the confidence. LoCoOp (Miyai et al., 2023a) keeps global ID textual embeddings away from the interference of ID-irrelevant regions. However, all existing approaches take same prompts for all features. By contrast, our method directly enhances OOD detection with ID-related areas and refines local prompts to leverage local outlier knowledge.
57
+
58
+ # 3 PRELIMINARY
59
+
60
+ # 3.1 PROBLEM DEFINITION
61
+
62
+ Few-shot out-of-distribution detection. Formally, out-of-distribution detection can be viewed as a binary classification that the detector has to identify whether the input image is from ID or OOD space. Labeled training data is composed of $\mathcal{D}_{\mathrm{train}}^{\mathrm{in}} = \{(x_i,y_i)\}_{i = 1}^n$ , where $x_{i}$ is sampled i.i.d. from joint data distribution space $\mathcal{P}_{\mathcal{X}\mathcal{Y}^{\mathrm{in}}}$ and $y_{i}\in \mathcal{V}^{\mathrm{in}}$ . $\mathcal{V}^{\mathrm{in}} = \{1,\dots ,C\}$ is the label space of ID data and $C$ is the number of classes. We transfer the definition of few-shot learning in classification to OOD detection to fine-tune given vision-language model instead of training from scratch. Under few-shot setting, a small proportion of images in each class (e.g., 1, 4, or 16 images) are extracted for training. $\mathcal{V}^{\mathrm{out}}$ is the label space of OOD data and there is no overlap between ID and OOD label, i.e., $\mathcal{V}^{\mathrm{in}}\cap \mathcal{V}^{\mathrm{out}} = \emptyset$ . Typically, the model is unable to obtain any OOD data during training process.
63
+
64
+ The test dataset is a mixture of $\mathcal{D}_{\mathrm{test}}^{\mathrm{in}}$ and $\mathcal{D}_{\mathrm{test}}^{\mathrm{out}}$ . When testing, OOD performance is evaluated by discriminating which distribution each sample comes from. A discriminant function is calculated to identify ID and OOD samples:
65
+
66
+ $$
67
+ D (\boldsymbol {x}) = \left\{ \begin{array}{c c} \text {I D}, & S (\boldsymbol {x}) \geq \gamma \\ \text {O O D}, & S (\boldsymbol {x}) < \gamma \end{array} , \right. \tag {1}
68
+ $$
69
+
70
+ where $S(\pmb{x})$ is the confidence score function measuring the uncertainty and $\gamma$ is the threshold.
71
+
72
+ Prompt learning with CLIP. CLIP (Radford et al., 2021) is compromised of image encoder $E_{\mathrm{I}}$ and text encoder $E_{\mathrm{T}}$ . Given an image $I$ and a text $T$ describing the corresponding image, they are extracted into feature embeddings, respectively. In prompt learning, textual prompts can be handcrafted templates (Radford et al., 2021), e.g., "a photo of {class}" or learnable context words (Zhou et al., 2022a), e.g., $\pmb{t}_c = [\pmb{v}_1,\dots ,\pmb{v}_L;\pmb{v}_c]$ , where $\pmb{v}_i$ , $(i = 1,\dots ,L)$ is the learnable embedding, and $L$ is the length of context words. $\pmb{v}_c$ ( $c \in \{1,\dots ,C\}$ ) is the embedding of class name. Features of prompts are obtained from text encoder $E_{\mathrm{T}}(\pmb{t}_c): \mathbb{R}^{(L + 1)\times d} \to \mathbb{R}^d$ . For simple notation, we use $t_c / t / \hat{t}$ described below to represent features of prompts as text encoder is not the focus of the paper.
73
+
74
+ Image is first split into several patches with an additional class token embedding $\pmb{x} \in \mathbb{R}^{(N + 1) \times d}$ . $N$ and $d$ denote the number of local tokens and hidden dimension, respectively. Both global and local visual features are then extracted from image encoder $[z^{\mathrm{g}}, z^{\mathrm{l}}] = E_{\mathrm{I}}(\pmb{x}) : \mathbb{R}^{(N + 1) \times d} \to \mathbb{R}^{(N + 1) \times d}$ , where global features $z^{\mathrm{g}}$ and local features $z^{\mathrm{l}}$ represents overall features and patch-wise regional features, respectively.
75
+
76
+ In this paper, we denote global prompts and local prompts to hand-crafted/learnable prompts that interact with overall local features and fine local features, respectively.
77
+
78
+ OOD detection with CLIP. The MCM score (Ming et al., 2022) is defined as the maximum of similarity after softmax with temperature:
79
+
80
+ $$
81
+ S _ {\mathrm {M C M}} (\boldsymbol {x}) = \max _ {i} \frac {\exp \left(\operatorname {s i m} \left(\boldsymbol {z} ^ {\mathrm {g}} , \boldsymbol {t} _ {i}\right) / T\right)}{\sum_ {j = 1} ^ {C} \exp \left(\operatorname {s i m} \left(\boldsymbol {z} ^ {\mathrm {g}}, \boldsymbol {t} _ {j}\right) / T\right)}, \tag {2}
82
+ $$
83
+
84
+ and GL-MCM score (Miyai et al., 2023b) considers local information. It applies softmax for local features as well and the maximum is selected as local MCM score. Final OOD score is the sum of MCM score and local MCM score:
85
+
86
+ $$
87
+ S _ {\mathrm {G L} - \mathrm {M C M}} (\boldsymbol {x}) = S _ {\mathrm {M C M}} (\boldsymbol {x}) + \max _ {i, h} \frac {\exp \left(\operatorname {s i m} \left(\boldsymbol {z} _ {h} ^ {1} , \boldsymbol {t} _ {i}\right) / T\right)}{\sum_ {j = 1} ^ {C} \exp \left(\operatorname {s i m} \left(\boldsymbol {z} _ {h} ^ {1} , \boldsymbol {t} _ {j}\right) / T\right)}, \tag {3}
88
+ $$
89
+
90
+ where $z^{\mathrm{g}}$ represents global feature and $z_h^1$ ( $h \in \{1, \dots, N\}$ ) represents all extracted local features.
91
+
92
+ # 4 METHODOLOGY
93
+
94
+ We propose Local-Prompt, a coarse-to-fine paradigm to strengthen OOD detection with local outlier knowledge. We first present negative augmentation that leverages local and unknown outlier information. Then, we describe local prompt enhancement along with their training regularization and a regional OOD score for better regional information utilization. Finally, we extend our method to trained global prompts to boost the performance. Detailed structures are shown in Fig. 2.
95
+
96
+ ![](images/d4dd2d2535e15c53d62bddd02642af7a6cc32237d33746c876405ece896e3783.jpg)
97
+ Figure 2: Detailed structure of the proposed Local-Prompt. Our method consists of global prompt guided negative augmentation and local prompt enhanced regional regularization. We froze global prompts to select regional augmented samples and enhance local prompts to learn regional-related representation that helps improve both ID accuracy and OOD detection.
98
+
99
+ # 4.1 GLOBAL PROMPT GUIDED NEGATIVE AUGMENTATION
100
+
101
+ As it is costly and not always effective to rely solely on real outliers, one crucial problem for OOD detection is how to leverage imaginary local outlier knowledge to the detector. We propose to synthesize hard negative images to force the model to learn features with strong relation only to simulate outlier situations while avoiding the requirement of real OOD samples. To this end, we apply a simple and straightforward random crop augmentation to empower the detector with unknown (i.e., OOD) information. Specifically, we randomly crop image input $m$ times and use the hand-crafted template with corresponding class name, i.e., $t_c =$ "a photo of {class}", $c = \{1,\dots ,C\}$ as text inputs to calculate the image-text similarity with global features from image encoder. We then select $m_1 / m_2$ images with the largest/least similarity, respectively. Images with the largest similarity can be seen as positive samples and those with the least similarity serve as hard negative samples. Notably, random crop is helpful to leverage local information in that local prompts can learn regional-related outlier information through space translation by means of random crop. Effectiveness of random crop is verified in Sec. 5.2.
102
+
103
+ Global prompts can be viewed as coarse guidance for negative augmentation standing for overall representation and are frozen in our framework. Motivated by previous observations (Ming et al., 2022; Miyai et al., 2023b), we simply use the basic global prompts during training and select augmented images as they are fairly good for extracting global features. Concretely, the global prompts are used to (1) guide the negative augmentation selection, which has been described above; (2) guide the global OOD score calculation for evaluation, as shown in Sec. 4.3.
104
+
105
+ It is worth emphasizing that our approach is orthogonal to all existing global prompt optimization strategies, i.e., global prompts are built without tuning in our structure (Miyai et al., 2023a), so during inference, it is expected that extending the hand-crafted global prompts with carefully designed ones can promote the performance. Concretely, we replace hand-crafted global prompts with trained ones that have the same shape. Note that our main purpose is to decompose global and local prompts and showcase the effectiveness of local outlier enhancement for OOD detection. Therefore, we do not specifically select the template as it is not the focus of the paper.
106
+
107
+ # 4.2 LOCAL PROMPT ENHANCED REGIONAL REGULARIZATION
108
+
109
+ Once augmented inputs are decided, corresponding local features are then used to optimize local prompts to identify ID and OOD samples from the perspective of regional enhancement. We aim at utilizing the local features extracted from image encoder in a fine way to (1) learn regional-related prompts that better characterize local similarity for both ID and OOD regions; (2) enhance detection ability with refined local features. Specifically, we design local prompts $t$ with learnable context
110
+
111
+ words to represent local textual information for each known class. Moreover, on account of the existence of OOD regions, we build a few local negative prompts $\hat{t}$ to handle possible local outliers.
112
+
113
+ Contrary to previous global prompt optimization methods, local prompts that work on local features are expected to learn regional-related textual representations and be aware of outliers during training. To this end, we enhance local prompts through regional regularization, which consists of contrastive regularization and diversity regularization, to better distinguish between ID and OOD samples.
114
+
115
+ Contrastive regularization. We propose regional contrastive regularization to enhance local textual prompts for better local information utilization. It is composed of local loss and local negative loss. Given a positive sample of training image, local loss is employed to learn regional information of known classes:
116
+
117
+ $$
118
+ \mathcal {L} _ {\mathrm {p o s}} (\boldsymbol {x}, y) = - \log \frac {\mathcal {T} _ {k} \left\{\exp \left(\sin \left(\boldsymbol {z} _ {h} ^ {1} , \boldsymbol {t} _ {y}\right) / T\right) \right\}}{\sum_ {i = 1} ^ {\mathrm {C}} \mathcal {T} _ {k} \left\{\exp \left(\sin \left(\boldsymbol {z} _ {h} ^ {1} , \boldsymbol {t} _ {i}\right) / T\right) \right\} + \sum_ {i = 1} ^ {\mathrm {N} _ {\mathrm {n e g}}} \mathcal {T} _ {k} \left\{\exp \left(\sin \left(\boldsymbol {z} _ {h} ^ {1} , \hat {\boldsymbol {t}} _ {i}\right) / T\right) \right\}}, \tag {4}
119
+ $$
120
+
121
+ where $(x,y)$ stands for training image-label pairs, $\mathcal{T}_k(x)$ is the sum of $k$ largest elements in $x$ , $k$ is regional number and $T$ is the temperature. We use cosine similarity as the similarity metric:
122
+
123
+ $$
124
+ \operatorname {s i m} \left(\boldsymbol {t} _ {i}, \boldsymbol {t} _ {j}\right) = \frac {\boldsymbol {t} _ {i} \cdot \boldsymbol {t} _ {j}}{\left\| \boldsymbol {t} _ {i} \right\| \left\| \boldsymbol {t} _ {j} \right\|}. \tag {5}
125
+ $$
126
+
127
+ Similarly, given a hard negative sample of the image denoted as $\tilde{x}$ , local negative loss is defined to make the model aware of outliers:
128
+
129
+ $$
130
+ \mathcal {L} _ {\mathrm {n e g}} (\tilde {\boldsymbol {x}}) = - \log \frac {\sum_ {i = 1} ^ {\mathrm {N} _ {\mathrm {n e g}}} \mathcal {T} _ {k} \left\{\exp \left(\sin \left(\tilde {\boldsymbol {z}} _ {h} ^ {\mathrm {l}} , \hat {\boldsymbol {t}} _ {i}\right) / T\right) \right\}}{\sum_ {i = 1} ^ {\mathrm {C}} \mathcal {T} _ {k} \left\{\exp \left(\sin \left(\tilde {\boldsymbol {z}} _ {h} ^ {\mathrm {l}} , \boldsymbol {t} _ {i}\right) / T\right) \right\} + \sum_ {i = 1} ^ {\mathrm {N} _ {\mathrm {n e g}}} \mathcal {T} _ {k} \left\{\exp \left(\sin \left(\tilde {\boldsymbol {z}} _ {h} ^ {\mathrm {l}} , \hat {\boldsymbol {t}} _ {i}\right) / T\right) \right\}}. \tag {6}
131
+ $$
132
+
133
+ Intuitively, contrastive regularization forces the model to focus on ID-related regions through random crop, and keep away from outlier-related regions through negative augmentation. We demonstrate the necessity of local negative loss to make margins for unknown categories in OOD detection in Sec.5.2.
134
+
135
+ Diversity regularization. As local negative prompts are randomly initialized, more regularization has to be imposed on them to ensure their diversity. Therefore, in addition to the proposed contrastive regularization, we apply a diversity regularization on local negative prompts, as follows:
136
+
137
+ $$
138
+ \mathcal {L} _ {\text {r e g}} = \frac {1}{N _ {\text {n e g}} \left(N _ {\text {n e g}} - 1\right) / 2} \sum_ {1 \leq i < j \leq N _ {\text {n e g}}} \sin \left(\hat {\boldsymbol {t}} _ {i}, \hat {\boldsymbol {t}} _ {j}\right), \tag {7}
139
+ $$
140
+
141
+ where $N_{\mathrm{neg}}$ is the number of local negative prompts. Final Loss is a weighted sum of the above loss:
142
+
143
+ $$
144
+ \mathcal {L} _ {\text {t o t a l}} = \mathcal {L} _ {\text {p o s}} + \lambda_ {\text {n e g}} \mathcal {L} _ {\text {n e g}} + \lambda_ {\text {r e g}} \mathcal {L} _ {\text {r e g}}, \tag {8}
145
+ $$
146
+
147
+ where $\lambda_{\mathrm{neg}}$ and $\lambda_{\mathrm{reg}}$ are the coefficients of the corresponding losses.
148
+
149
+ # 4.3 REGIONAL OOD SCORE
150
+
151
+ On consideration that regional information is especially enhanced during training, we propose Regional-MCM score to enhance OOD score beyond simple MCM and GL-MCM:
152
+
153
+ $$
154
+ S _ {\mathrm {R} - \mathrm {M C M}} (\boldsymbol {x}) = S _ {\mathrm {M C M}} (\boldsymbol {x}) + \mathcal {T} _ {k} ^ {\text {m e a n}} \left\{\frac {\exp \left(\sin \left(\boldsymbol {z} _ {h} ^ {l} , \boldsymbol {t} _ {i}\right) / T\right)}{\sum_ {j = 1} ^ {C} \exp \left(\sin \left(\boldsymbol {z} _ {h} ^ {l} , \boldsymbol {t} _ {j}\right) / T\right) + \sum_ {j = 1} ^ {N _ {\mathrm {n e g}}} \exp \left(\sin \left(\boldsymbol {z} _ {h} ^ {l} , \hat {\boldsymbol {t}} _ {j}\right) / T\right)} \right\}, \tag {9}
155
+ $$
156
+
157
+ where $\mathcal{T}_k^{\mathrm{mean}}(\pmb{x})$ is the mean of $k$ largest elements in $\pmb{x}$ and $k$ represents regional number. Intuitively, Regional-MCM serves as a general form of GL-MCM that takes the $k$ most similar regions into consideration and additionally contains local negative prompts, which is helpful to consider more than one certain region with high similarity and improve OOD detection ability. Effectiveness of the score is verified in Sec. 5.2.
158
+
159
+ As the proposed OOD score is only applicable for OOD detection, we further propose a local-aware score that assigns a score to each class and thus determines ID category with the largest score. Specifically, ID classification takes both global and local features into consideration:
160
+
161
+ $$
162
+ h _ {i} ^ {\mathrm {g}} (\boldsymbol {x}) = \operatorname {s i m} \left(\boldsymbol {z} ^ {\mathrm {g}}, \boldsymbol {t} _ {i}\right), \tag {10}
163
+ $$
164
+
165
+ Table 1: Results when ImageNet-1k is used as ID data. We compare the methods in different tuning manners. † represents the result by our re-implementation. Bold values represent the best results.
166
+
167
+ <table><tr><td rowspan="2">Method</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td colspan="11">Zero-shot</td></tr><tr><td>MCM</td><td>30.91</td><td>94.61</td><td>37.59</td><td>92.57</td><td>44.69</td><td>89.77</td><td>57.77</td><td>86.11</td><td>42.74</td><td>90.77</td></tr><tr><td>GL-MCM</td><td>15.18</td><td>96.71</td><td>30.42</td><td>93.09</td><td>38.85</td><td>89.90</td><td>57.93</td><td>83.63</td><td>35.47</td><td>90.83</td></tr><tr><td colspan="11">Full-tuning</td></tr><tr><td>MSP</td><td>54.05</td><td>87.43</td><td>73.37</td><td>78.03</td><td>72.98</td><td>78.03</td><td>68.85</td><td>79.06</td><td>67.31</td><td>80.64</td></tr><tr><td>Energy</td><td>29.75</td><td>94.68</td><td>53.18</td><td>87.33</td><td>56.40</td><td>85.60</td><td>51.35</td><td>88.00</td><td>47.67</td><td>88.90</td></tr><tr><td>KNN</td><td>29.17</td><td>94.52</td><td>35.62</td><td>92.67</td><td>39.61</td><td>91.02</td><td>64.35</td><td>85.67</td><td>42.19</td><td>90.97</td></tr><tr><td>NPOS</td><td>16.58</td><td>96.19</td><td>43.77</td><td>90.44</td><td>45.27</td><td>89.44</td><td>46.12</td><td>88.80</td><td>37.93</td><td>91.22</td></tr><tr><td>Textual-OE</td><td>29.61</td><td>94.74</td><td>57.12</td><td>87.34</td><td>66.82</td><td>83.71</td><td>79.29</td><td>77.76</td><td>58.21</td><td>85.88</td></tr><tr><td colspan="11">Few-shot</td></tr><tr><td>CoOp</td><td>18.95</td><td>95.52</td><td>29.58</td><td>92.90</td><td>38.72</td><td>89.64</td><td>48.03</td><td>85.87</td><td>33.82</td><td>90.98</td></tr><tr><td>Local-Prompt</td><td>9.65</td><td>97.87</td><td>20.40</td><td>95.57</td><td>29.39</td><td>92.67</td><td>51.20</td><td>88.00</td><td>27.66</td><td>93.53</td></tr><tr><td>\( LoCoOp^† \)</td><td>21.67</td><td>95.69</td><td>22.98</td><td>95.07</td><td>31.41</td><td>92.10</td><td>49.79</td><td>87.85</td><td>31.46</td><td>92.68</td></tr><tr><td>Local-Prompt+LoCoOp</td><td>12.81</td><td>97.29</td><td>19.34</td><td>95.85</td><td>27.53</td><td>92.97</td><td>45.51</td><td>89.99</td><td>26.29</td><td>94.03</td></tr><tr><td colspan="11">16-shot</td></tr><tr><td>CoOp</td><td>14.60</td><td>96.62</td><td>28.48</td><td>92.65</td><td>36.49</td><td>89.98</td><td>43.13</td><td>88.03</td><td>30.67</td><td>91.82</td></tr><tr><td>Local-Prompt</td><td>8.71</td><td>98.10</td><td>23.97</td><td>94.85</td><td>32.50</td><td>92.32</td><td>47.93</td><td>89.04</td><td>28.27</td><td>93.58</td></tr><tr><td>LoCoOp</td><td>16.05</td><td>96.86</td><td>23.44</td><td>95.07</td><td>32.87</td><td>91.98</td><td>42.28</td><td>90.19</td><td>28.66</td><td>93.52</td></tr><tr><td>Local-Prompt+LoCoOp</td><td>8.63</td><td>98.07</td><td>23.23</td><td>95.12</td><td>31.74</td><td>92.42</td><td>34.50</td><td>92.29</td><td>24.52</td><td>94.48</td></tr></table>
168
+
169
+ $$
170
+ h _ {i} ^ {1} (\boldsymbol {x}) = \mathcal {T} _ {k} ^ {\text {m e a n}} \left\{\exp \left(\operatorname {s i m} \left(\boldsymbol {z} _ {h} ^ {1}, \boldsymbol {t} _ {i}\right) / T\right) \right\}, \tag {11}
171
+ $$
172
+
173
+ where $h_i^{\mathrm{g}}(\pmb{x})$ , $h_i^1(\pmb{x})$ are global and local portions and $i$ represents the category label. The score attached to each category is measured by:
174
+
175
+ $$
176
+ f (y = i | \boldsymbol {x}) = h _ {i} ^ {\mathrm {g}} (\boldsymbol {x}) * h _ {i} ^ {1} (\boldsymbol {x}), \tag {12}
177
+ $$
178
+
179
+ each sample is then classified corresponding to the maximum score.
180
+
181
+ # 5 EXPERIMENTS
182
+
183
+ Datasets. Following existing works (Ming et al., 2022; Miyai et al., 2023b;a), large scale ImageNet-1K (Deng et al., 2009) along with a 100-category subset of it denoted as ImageNet-100 are used as ID dataset and OOD dataset is a combination of iNaturalist (Van Horn et al., 2018), SUN (Xiao et al., 2010), Places (Zhou et al., 2017) and Texture (Cimpoi et al., 2014). In addition, We also use two semantically similar subsets of ImageNet-1k, i.e., ImageNet-10 and ImageNet-20, to evaluate near OOD detection performance (Ming et al., 2022). Detailed information is provided in Appendix A.
184
+
185
+ Implementation details. We use CLIP-Base/16 as the backbone. Image encoder, text encoder, and global prompts are frozen and only local prompts are learnable. We set one local prompt for each known category (1000 in total for ImageNet-1k). $\lambda_{\mathrm{neg}}$ and $\lambda_{\mathrm{reg}}$ are 5 and 0.5, respectively. As the stability of temperature $T$ has been verified by previous research (Ming et al., 2022; Miyai et al., 2023b), we set $T$ to be 1 by default. More details are shown in Appendix B.
186
+
187
+ Evaluation metrics. We report the following metrics for evaluation: (1) the area under the receiver operating characteristic curve (AUROC); (2) false positive rate of OOD samples when true positive rate of ID samples is $95\%$ (FPR95); (3) in-distribution data classification accuracy (ID accuracy).
188
+
189
+ # 5.1 MAIN RESULTS
190
+
191
+ ImageNet-1k as ID dataset. We report 4 and 16-shot results on four OOD datasets using ImageNet-1k as ID dataset. It can be seen in Tab. 1 that tuning local prompts only using hand-crafted global prompts can achieve competitive results, especially in datasets with challenging fine local textures like iNaturalist. Concretely, we get impressive progress in 4-shot tuning (outperforming by $3.80\%$ on FPR95). In 16-shot setting, our approach gets competitive results as well. All results above strongly showcase the potential of regional enhancement for OOD detection as an orthogonal direction to global prompt optimization methods. Results of more shots are shown in Appendix C.
192
+
193
+ ID accuracy. In addition to OOD performance, it is also meaningful to evaluate ID accuracy as it is expected to ensure classification accuracy and separate outliers at the same time. However, weighing too much about separating outliers may narrow the inter-class distance, thus harming accuracy. Consequently, we evaluate ID accuracy for ImageNet-1k and the results shown in Tab. 2 conclude that
194
+
195
+ Table 2: ID accuracy evaluation using Table 3: Comparison results of near OOD detection tasks. ImageNet-1k as ID data. We report 16-shot results for few-shot methods. Our Method Tuning Manner ID accuracy method can achieve performance against other methods.
196
+
197
+ <table><tr><td>MCM
198
+ GL-MCM</td><td>zero-shot</td><td>67.01
199
+ 67.01</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>KNN
200
+ NPOS</td><td>full-tuning</td><td>79.64
201
+ 79.42</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>LoCoOp</td><td>4-shot</td><td>69.50</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Local-Prompt</td><td></td><td>70.52</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>LoCoOp</td><td>16-shot</td><td>71.86</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Local-Prompt</td><td></td><td>74.24</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td rowspan="2">MCM
202
+ GL-MCM</td><td>5.00</td><td>98.71</td><td>12.51</td><td>97.70</td><td>8.75</td><td>98.21</td><td></td></tr><tr><td>10.10</td><td>98.04</td><td>9.00</td><td>98.62</td><td>9.55</td><td>98.33</td><td></td></tr><tr><td>LoCoOp</td><td>11.20</td><td>97.49</td><td>12.00</td><td>97.79</td><td>11.60</td><td>97.64</td><td></td></tr><tr><td>Local-Prompt</td><td></td><td>3.90</td><td>99.06</td><td>6.20</td><td>98.84</td><td>5.05</td><td>98.95</td></tr></table>
203
+
204
+ Table 4: Experiments on ImageNet-100. 4-shot results are reported for few-shot tuning.
205
+
206
+ <table><tr><td rowspan="2">Method</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>MCM</td><td>18.13</td><td>96.77</td><td>36.45</td><td>94.54</td><td>34.52</td><td>94.36</td><td>41.22</td><td>92.25</td><td>32.58</td><td>94.48</td></tr><tr><td>LoCoOp†</td><td>44.94</td><td>93.31</td><td>30.70</td><td>94.70</td><td>34.31</td><td>93.93</td><td>55.92</td><td>90.01</td><td>41.47</td><td>92.99</td></tr><tr><td>Local-Prompt</td><td>6.99</td><td>98.05</td><td>24.34</td><td>96.03</td><td>26.04</td><td>95.49</td><td>36.32</td><td>93.67</td><td>23.42</td><td>95.81</td></tr></table>
207
+
208
+ our method significantly surpasses previous methods (1.02% and 2.38%, respectively). It demonstrates that the proposed regional enhancement is also beneficial to improve OOD separation while increasing inter-class distance, which is of great significance for real application.
209
+
210
+ Extensive to global prompts. Benefiting from the convenient integration with well-trained global prompts, we combine the advantage of trained global prompts from LoCoOp (Miyai et al., 2023a) without further design (Local-Prompt+LoCoOp) and get further substantial improvements on all datasets. For example, we surpass the state-of-the-art method by a large margin (5.17% on FPR95 and 1.35% on AUROC), even against previous methods with 16 shots. Specifically, extending local
211
+
212
+ prompts to global prompts is helpful to datasets with major global representations like Texture, verifying the compatibility and potential of local prompt optimization. It is notable that the extension process is seamless and can be integrated with any global optimization prompts, strongly showing the extensibility of our approach. Density map in Fig. 3 also illustrates the superiority of our method. More visualization can be found in Appendix D.
213
+
214
+ ![](images/1d8a287ea2230a1a63fe24ca1b625c4e3299a69e44c19b943240a3616b8fab7e.jpg)
215
+ Figure 3: Comparison of density map on iNaturalist. Ours are more separable.
216
+
217
+ Near OOD detection tasks. Near OOD task typically evaluates semantically similar categories and is relatively more challenging. Following existing work (Ming et al., 2022), we conduct experiments on ImageNet-10 vs. ImageNet-20 to verify the effectiveness of the proposed approach. Results in Tab. 3 indicate that our method exceeds previous methods by a large margin. It can be observed that previous few-shot method fails in near OOD tasks. We attribute it to the refinement of local prompts by local outlier knowledge, which greatly assists in distinguishing semantically similar categories. By contrast, relying solely on global prompts may confuse the distribution. Therefore, it underlines that our local outlier enhancement approach is especially effective in semantically near OOD tasks.
218
+
219
+ ImageNet-100 as ID dataset. We also conduct experiments using ImageNet-100 as ID dataset. We compare with other zero-shot and few-shot methods and results are reported in Tab. 4. The substantial performance improvements (average $9.16\%$ reduction on FPR95 and $1.33\%$ promotion on AUROC) strongly demonstrate the effectiveness and transferability of our approach.
220
+
221
+ Comparison with outlier methods. NegLabel (Jiang et al., 2024) designs a novel scheme for OOD score with negative labels. It leverages real outlier information with negative labels from extensive corpus databases. This kind of knowledge helps to a great extent pointed out by OE (Hendrycks et al., 2018) and is inconsistent with real-world application, where negative categories are infinite. As can be seen from Tab. 5, we observe that (1) although without outlier, our model achieves better
222
+
223
+ Table 5: Comparison with NegLabel, which leverages powerful outlier samples.
224
+
225
+ <table><tr><td rowspan="2">Method</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>NegLabel (w outlier)</td><td>1.91</td><td>99.49</td><td>20.53</td><td>95.49</td><td>35.59</td><td>91.64</td><td>43.56</td><td>90.22</td><td>25.40</td><td>94.21</td></tr><tr><td>Local-Prompt (w/o outlier)</td><td>8.63</td><td>98.07</td><td>23.23</td><td>95.12</td><td>31.74</td><td>92.42</td><td>34.50</td><td>92.29</td><td>24.52</td><td>94.48</td></tr></table>
226
+
227
+ Table 6: Effectiveness of each component in loss function.
228
+
229
+ <table><tr><td rowspan="2">Loss</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>Baseline (Lpos)</td><td>11.64</td><td>97.59</td><td>26.81</td><td>94.59</td><td>34.50</td><td>91.59</td><td>50.46</td><td>87.84</td><td>30.85</td><td>92.90</td></tr><tr><td>+Lneg</td><td>9.84</td><td>97.88</td><td>24.37</td><td>94.97</td><td>32.84</td><td>91.94</td><td>50.02</td><td>88.32</td><td>29.27</td><td>93.27</td></tr><tr><td>+Lneg + Lreg</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr></table>
230
+
231
+ Table 7: Influence of different negative augmentation strategies.
232
+
233
+ <table><tr><td rowspan="2"></td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>Baseline</td><td>11.18</td><td>97.68</td><td>23.30</td><td>95.25</td><td>30.97</td><td>92.44</td><td>50.44</td><td>87.89</td><td>28.97</td><td>93.31</td></tr><tr><td>+cutout</td><td>17.47</td><td>96.64</td><td>26.17</td><td>94.73</td><td>34.38</td><td>91.84</td><td>54.84</td><td>86.88</td><td>33.21</td><td>92.52</td></tr><tr><td>+gaussian noise</td><td>11.32</td><td>97.59</td><td>25.70</td><td>94.39</td><td>34.99</td><td>91.71</td><td>51.06</td><td>88.15</td><td>30.76</td><td>92.96</td></tr><tr><td>+random crop</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr></table>
234
+
235
+ average performance against NegLabel; (2) our method achieves better balance between different kinds of OOD datasets, which strongly validates the effectiveness of incorporating local information and strengthens its application in diverse and infinite read-world scenarios.
236
+
237
+ # 5.2 ABLATION STUDY
238
+
239
+ We conduct various and comprehensive ablation studies to investigate the effectiveness of each component. We train a 4-shot model to showcase the function of components and hyper-parameters unless otherwise stated. More studies about training time and coefficient are shown in Appendix C.
240
+
241
+ Effectiveness of loss components. We conduct experiments to analyze the effectiveness of each loss component and results in Tab. 6 imply that local prompts optimization (baseline) achieves comparable results with global prompts optimization methods, strongly demonstrating the effectiveness of our proposed regional enhancement strategy. Furthermore, taking hard negative samples together with local negative prompts $\hat{t}$ to optimize OOD-considered representation is beneficial to the distinction of outliers. Outcome without regularization loss is better in FPR95 but slightly inferior in AUROC. Considering overall performance and the fact that the optimization of $\hat{t}$ relies heavily on the initialization without regularization, we reserve regularization loss for stability and convergence.
242
+
243
+ Influence of negative augmentation strategy. We conduct experiments to analyse the influence of negative augmentation strategy. In Tab. 7, baseline does not employ augmentation. Cutout, gaussian noise and random crop are used as augmentation, respectively. It is concluded that improper augmentation is unfavorable to detection ability. By contrast, random crop is helpful to enhance regional-related representation and distinguish outliers, which confirms our analysis above.
244
+
245
+ Number of local negative prompts. The number of local negative prompts $N_{\mathrm{neg}}$ stands for local outlier knowledge the model learns from negative augmentation. Results in Tab. 8 indicate that the performance is positively related to $N_{\mathrm{neg}}$ . However, larger $N_{\mathrm{neg}}$ requires more computational resources. Considering both computational cost and performance, the number 300 is selected.
246
+
247
+ OOD score strategy. We compare our proposed OOD score with existing scores (Ming et al., 2022; Miyai et al., 2023b) on 16-shots. We also remove local negative prompts in our OOD score to analyse their effectiveness. Results in Fig. 4 imply that our regional OOD score attains better performance than existing strategy, displaying the strength of regional enhancement. Moreover, the performance is further promoted when negative prompts are introduced. We attribute it to possible outlier leverage through negative prompts.
248
+
249
+ ![](images/7f3d67f227a3ba349aab7314614fa2ea1f138f65d5373b067b7ff8e132aba4a0.jpg)
250
+ Figure 4: Ablation study of different OOD score strategies. LNP denotes local negative prompts.
251
+
252
+ ![](images/dc806d727d2194115156755c2aff3dfd62168cefa2017414eb2bb45ebe64a1ed.jpg)
253
+
254
+ Table 8: Influence of different number of local negative prompts.
255
+
256
+ <table><tr><td rowspan="2">Nneg</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>100</td><td>9.02</td><td>98.00</td><td>24.71</td><td>94.82</td><td>32.77</td><td>91.87</td><td>48.81</td><td>88.50</td><td>28.82</td><td>93.30</td></tr><tr><td>200</td><td>9.65</td><td>97.90</td><td>22.58</td><td>95.26</td><td>32.03</td><td>92.18</td><td>49.85</td><td>88.00</td><td>28.52</td><td>93.33</td></tr><tr><td>300</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr></table>
257
+
258
+ # 5.3 VISUALIZATION
259
+
260
+ Visualization of local prompts. We give a detailed explanation of local prompts and visualize the regions that attract attention from local prompts and local negative prompts. Visualization is shown in Fig. 5 in the order of original picture, ID-related, and several typical OOD-related areas. It implies that local prompts concentrate on ID regions and local negative prompts are helpful to extract ID-irrelevant, i.e., outlier areas corresponding to certain semantics. For instance, local negative prompts successfully focus on sky, sea, and beach, respectively in pirate ship, which is beneficial to enhance OOD detection ability through local and unknown knowledge leverage.
261
+
262
+ ![](images/895c15c313678093cd884366b6cf4bba1e7717058410b975f44953d0b4bacf98.jpg)
263
+ Figure 5: Visualization of ID and OOD related regions. Local prompts and local negative prompts successfully focus on ID-related and OOD-related regions, respectively, which helps OOD detection.
264
+
265
+ Visualization of hard OOD samples. We showcase several hard OOD samples that previous global-based method fails to detect, while our method with local enhancement successfully discriminates the outlier. For example, in the first image, previous global-based method fails to detect the outlier as it is similar to ID category ocean liner on the whole, with only subtle difference mechanical devices on the deck indicating that it is actually an icebreaker (also demonstrated by the iceberg next to it). The same phenomenon are also observed other examples.
266
+
267
+ Ground Truth: Icebreaker (OD)
268
+ ![](images/23ca0bb302e66068103ca84235ed42f51d4e16f451c77161d933f1f771dfeee1.jpg)
269
+ Global based method: Ocean liner (ID) Ours: Outlier Global based method: Daisy (ID) Ours: Outlier Global based method: Rose hip (ID) Ours: Outlier
270
+
271
+ ![](images/19d3d0378409f8e3e5254a79d379cffc259ae5e284ee9d839327177fca1ecde9.jpg)
272
+ Ground Truth: Sunflower (OOD)
273
+ Figure 6: Examples of outlier from SUN dataset that fails to be detected by previous global-based method, and our method with local enhancement successfully discriminates them with subtle differences in certain regions.
274
+
275
+ ![](images/1c058785c4e34f33d8e3300cb7f4d6d76aed90d3242404e46d5c290e9cdb9ffb.jpg)
276
+ Ground Truth: Apple (OOD)
277
+
278
+ # 6 CONCLUSION
279
+
280
+ In this paper, we investigate the relationship between global and local prompts for few-shot OOD detection. Concentrating on enhancing outlier knowledge for better local textual representation utilization, we decompose global and local features using respective prompts. We use straightforward negative augmentation to leverage local outlier knowledge and propose local prompts to enhance regional information by means of regional regularization. We also propose regional-related evaluation metric to enrich the detector with local outlier information. Moreover, our approach is extensible to well-trained global prompts to get better performance. We conduct various experiments and superior results underline the effectiveness of our method. We hope our method can provide a new perspective on studying local prompts for OOD detection tasks based on vision-language models.
281
+
282
+ # ACKNOWLEDGEMENT
283
+
284
+ This work is supported by National Science and Technology Major Project (2022ZD0116500), National Natural Science Foundation of China (62222609, 62076236), and CAS Project for Young Scientists in Basic Research (YSBR-083).
285
+
286
+ # REFERENCES
287
+
288
+ Hyojin Bahng, Ali Jahanian, Swami Sankaranarayanan, and Phillip Isola. Exploring visual prompts for adapting large-scale models. arXiv preprint arXiv:2203.17274, 2022.
289
+ Yichen Bai, Zongbo Han, Bing Cao, Xiaoheng Jiang, Qinghua Hu, and Changqing Zhang. Id-like prompt learning for few-shot out-of-distribution detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17480-17489, 2024.
290
+ Qiang Chen, Xiaokang Chen, Gang Zeng, and Jingdong Wang. Group detr: Fast training convergence with decoupled one-to-many label assignment. arXiv preprint arXiv:2207.13085, 2022.
291
+ Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention mask transformer for universal image segmentation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 1290-1299, 2022.
292
+ Zhen Cheng, Xu-Yao Zhang, and Cheng-Lin Liu. Unified classification and rejection: A one-versus-all framework. arXiv preprint arXiv:2311.13355, 2023a.
293
+ Zhen Cheng, Fei Zhu, Xu-Yao Zhang, and Cheng-Lin Liu. Average of pruning: Improving performance and stability of out-of-distribution detection. arXiv preprint arXiv:2303.01201, 2023b.
294
+ Mircea Cimpoi, Subhransu Maji, Iasonas Kokkinos, Sammy Mohamed, and Andrea Vedaldi. Describing textures in the wild. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3606-3613, 2014.
295
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248-255. IEEE, 2009.
296
+ Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2020.
297
+ Sepideh Esmaeilpour, Bing Liu, Eric Robertson, and Lei Shu. Zero-shot out-of-distribution detection based on the pre-trained model clip. In Proceedings of the AAAI conference on artificial intelligence, volume 36, pp. 6568-6576, 2022.
298
+ Angelos Filos, Panagiotis Tigkas, Rowan McAllister, Nicholas Rhinehart, Sergey Levine, and Yarin Gal. Can autonomous vehicles identify, recover from, and adapt to distribution shifts? In International Conference on Machine Learning, pp. 3145-3153. PMLR, 2020.
299
+ Stanislav Fort, Jie Ren, and Balaji Lakshminarayanan. Exploring the limits of out-of-distribution detection. Advances in Neural Information Processing Systems, 34:7068-7081, 2021.
300
+ Peng Gao, Shijie Geng, Renrui Zhang, Teli Ma, Rongyao Fang, Yongfeng Zhang, Hongsheng Li, and Yu Qiao. Clip-adapter: Better vision-language models with feature adapters. International Journal of Computer Vision, pp. 1-15, 2023.
301
+ Ziyu Guo, Renrui Zhang, Longtian Qiu, Xianzheng Ma, Xupeng Miao, Xuming He, and Bin Cui. Calip: Zero-shot enhancement of clip with parameter-free attention. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pp. 746-754, 2023.
302
+ Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dólár, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 16000-16009, 2022.
303
+
304
+ Dan Hendrycks and Kevin Gimpel. A baseline for detecting misclassified and out-of-distribution examples in neural networks. In International Conference on Learning Representations, 2016.
305
+ Dan Hendrycks, Mantas Mazeika, and Thomas Dietterich. Deep anomaly detection with outlier exposure. In International Conference on Learning Representations, 2018.
306
+ Paul F Jaeger, Carsten Tim Lüth, Lukas Klein, and Till J Bungert. A call to reflect on evaluation practices for failure detection in image classification. In The Eleventh International Conference on Learning Representations, 2022.
307
+ Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie, Serge Belongie, Bharath Hariharan, and Ser-Nam Lim. Visual prompt tuning. In European Conference on Computer Vision, pp. 709-727. Springer, 2022.
308
+ Xue Jiang, Feng Liu, Zhen Fang, Hong Chen, Tongliang Liu, Feng Zheng, and Bo Han. Negative label guided ood detection with pretrained vision-language models. In The Twelfth International Conference on Learning Representations, 2024.
309
+ Junnan Li, Ramprasaath Selvaraju, Akhilesh Gotmare, Shafiq Joty, Caiming Xiong, and Steven Chu Hong Hoi. Align before fuse: Vision and language representation learning with momentum distillation. Advances in neural information processing systems, 34:9694-9705, 2021.
310
+ Wei Li, Linchao Zhu, Longyin Wen, and Yi Yang. Decap: Decoding clip latents for zero-shot captioning via text-only training. In The Eleventh International Conference on Learning Representations, 2022a.
311
+ Yanghao Li, Hanzi Mao, Ross Girshick, and Kaiming He. Exploring plain vision transformer backbones for object detection. In European Conference on Computer Vision, pp. 280-296. Springer, 2022b.
312
+ Weitang Liu, Xiaoyun Wang, John Owens, and Yixuan Li. Energy-based out-of-distribution detection. Advances in neural information processing systems, 33:21464-21475, 2020.
313
+ Yangyang Liu, Yi Chen, Fei Yin, and Cheng-Lin Liu. Context-aware confidence estimation for rejection in handwritten Chinese text recognition. In International Conference on Document Analysis and Recognition, pp. 134-151. Springer, 2024.
314
+ Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 10012-10022, 2021.
315
+ Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, et al. Swin transformer v2: Scaling up capacity and resolution. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 12009-12019, 2022.
316
+ Eric Lopez-Lopez, Xose M Pardo, and Carlos V Regueiro. Incremental learning from low-labelled stream data in open-set video face recognition. Pattern Recognition, 131:108885, 2022.
317
+ Depu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng, Houqiang Li, Yuhui Yuan, Lei Sun, and Jingdong Wang. Conditional detr for fast training convergence. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 3651-3660, 2021.
318
+ Yifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun, Wei Li, and Yixuan Li. Delving into out-of-distribution detection with vision-language representations. Advances in Neural Information Processing Systems, 35:35087-35102, 2022.
319
+ Atsuyuki Miyai, Qing Yu, Go Irie, and Kiyoharu Aizawa. Locoop: Few-shot out-of-distribution detection via prompt learning. arXiv preprint arXiv:2306.01293, 2023a.
320
+ Atsuyuki Miyai, Qing Yu, Go Irie, and Kiyoharu Aizawa. Zero-shot in-distribution detection in multi-object settings using vision-language foundation models. arXiv preprint arXiv:2304.04521, 2023b.
321
+
322
+ Sangha Park, Jisoo Mok, Dahuin Jung, Saehyung Lee, and Sungroh Yoon. On the powerfulness of textual outlier exposure for visual ood detection. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.
323
+ Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pp. 8748-8763. PMLR, 2021.
324
+ Piyush Sharma, Nan Ding, Sebastian Goodman, and Radu Socratic. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2556-2565, 2018.
325
+ Yang Shu, Xingzhuo Guo, Jialong Wu, Ximei Wang, Jianmin Wang, and Mingsheng Long. Clipood: Generalizing clip to out-of-distributions. 2023.
326
+ Robin Strudel, Ricardo Garcia, Ivan Laptev, and Cordelia Schmid. Segmenter: Transformer for semantic segmentation. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 7262-7272, 2021.
327
+ Leitian Tao, Xuefeng Du, Jerry Zhu, and Yixuan Li. Non-parametric outlier synthesis. In The Eleventh International Conference on Learning Representations, 2022.
328
+ Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. In International conference on machine learning, pp. 10347-10357. PMLR, 2021.
329
+ Vishaal Udandarao, Ankush Gupta, and Samuel Albanie. Sus-x: Training-free name-only transfer of vision-language models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 2725-2736, 2023.
330
+ Grant Van Horn, Oisin Mac Aodha, Yang Song, Yin Cui, Chen Sun, Alex Shepard, Hartwig Adam, Pietro Perona, and Serge Belongie. The inaturalist species classification and detection dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 8769-8778, 2018.
331
+ Haoqi Wang, Zhizhong Li, Litong Feng, and Wayne Zhang. Vim: Out-of-distribution with virtual-logit matching. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 4921-4930, 2022.
332
+ Hualiang Wang, Yi Li, Huifeng Yao, and Xiaomeng Li. Clipn for zero-shot ood detection: Teaching clip to say no. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 1802-1812, 2023.
333
+ Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 568-578, 2021.
334
+ Jianxiong Xiao, James Hays, Krista A Ehinger, Aude Oliva, and Antonio Torralba. Sun database: Large-scale scene recognition from abbey to zoo. In 2010 IEEE computer society conference on computer vision and pattern recognition, pp. 3485-3492. IEEE, 2010.
335
+ Hu Xu, Gargi Ghosh, Po-Yao Huang, Dmytro Okhonko, Armen Aghajanyan, Florian Metze, Luke Zettlemoyer, and Christoph Feichtenhofer. Videoclip: Contrastive pre-training for zero-shot video-text understanding. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 6787-6800, 2021.
336
+ Fanhu Zeng and Deli Yu. M2m-tag: Training-free many-to-many token aggregation for vision transformer acceleration. In Workshop on Machine Learning and Compression, NeurIPS 2024.
337
+
338
+ Fanhu Zeng, Fei Zhu, Haiyang Guo, Xu-Yao Zhang, and Cheng-Lin Liu. Modalprompt: Dual-modality guided prompt for continual learning of large multimodal models. arXiv preprint arXiv:2410.05849, 2024.
339
+ Ji Zhang, Lianli Gao, Bingguang Hao, Hao Huang, Jingkuan Song, and Hengtao Shen. From global to local: Multi-scale out-of-distribution detection. IEEE Transactions on Image Processing, 2023.
340
+ Renrui Zhang, Rongyao Fang, Wei Zhang, Peng Gao, Kunchang Li, Jifeng Dai, Yu Qiao, and Hongsheng Li. Tip-adapter: Training-free clip-adapter for better vision-language modeling. arXiv preprint arXiv:2111.03930, 2021.
341
+ Bolei Zhou, Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba. Places: A 10 million image database for scene recognition. IEEE transactions on pattern analysis and machine intelligence, 40(6):1452-1464, 2017.
342
+ Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Conditional prompt learning for vision-language models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16816-16825, 2022a.
343
+ Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Learning to prompt for vision-language models. International Journal of Computer Vision, 130(9):2337-2348, 2022b.
344
+ Fei Zhu, Zhen Cheng, Xu-Yao Zhang, and Cheng-Lin Liu. Openmix: Exploring outlier samples for misclassification detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12074-12083, 2023a.
345
+ Fei Zhu, Xu-Yao Zhang, Zhen Cheng, and Cheng-Lin Liu. Revisiting confidence estimation: Towards reliable failure prediction. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023b.
346
+ Xiangyang Zhu, Renrui Zhang, Bowei He, Aojun Zhou, Dong Wang, Bin Zhao, and Peng Gao. Not all features matter: Enhancing few-shot clip with adaptive prior refinement. arXiv preprint arXiv:2304.01195, 2023c.
347
+
348
+ # APPENDIX
349
+
350
+ # A DATASET DETAILS
351
+
352
+ ImageNet-10 contains 10 classes of ImageNet-1k, including military aircraft (n04552348), sports car (n04285008), brambling (n01530575), Siamese cat (n02123597), impala (n02422699), Greater Swiss Mountain Dog (n02107574), American bullfrog (n01641577), garbage truck (n03417042), common sorrel horse (n02389026) and container ship (n03095699).
353
+
354
+ ImageNet-20 is a 20-class subset in ImageNet-1k. Concretely, they are schooner (n04147183), canoe (n02951358), balloon (n02782093), tank (n04389033), missile (n03773504), high-speed train (n02917067), starfish (n02317335), spotted salamander (n01632458), smooth newt (n0163067 0), newt (n01631663), zebra (n02391049), European green lizard (n01693334), Nile crocodile (n01 697457), Arctic fox (n02120079), grey wolf (n02114367), brown bear (n02132136), moped (n0378 5016), steam locomotive (n04310018), space shuttle (n04266014) and snowmobile (n04252077).
355
+
356
+ ImageNet-100 is the same 100-class subset of ImageNet-1k as MCM (Ming et al., 2022) to have a fair comparison with previous vision-language based OOD detection methods. Detail categories are provided in https://github.com/deeplearning-wisc/MCM.
357
+
358
+ # B TRAINING DETAILS
359
+
360
+ Number of learnable context words is 16. We use SGD optimizer to train the model with 30 epochs. Learning rate is $2 \times 10^{-3}$ with a cosine schedule and batch size is 256. $m$ is set to 24 by default. We empirically set positive/negative augmentation to be 8/1, which are discussed thoroughly below. Training and testing $k$ are 50 and 10, respectively in main results. We use one single NVIDIA A6000 to run all experiments. The reported results are averaged for three runs. Extra experimental results are shown below.
361
+
362
+ # C MORE EXPERIMENTAL RESULTS
363
+
364
+ Experiments of different shots. We use ImageNet-1k as ID dataset in the main experiment. For training, we use different shots, i.e., numbers of images from each class, following few-shot setting. For evaluation, we use validation set of ImageNet-1k, which is composed of 50000 images from 1000 categories. Results are shown in Tab. 9.
365
+
366
+ Influence of coefficient. Both $\lambda_{\mathrm{neg}}$ and $\lambda_{\mathrm{reg}}$ determine the importance of the corresponding loss. We report average FPR95 and AUROC to show the trend when the coefficients vary. The results in Tab. 10 indicate that the performance tends to be stable when the coefficients are in a wide range. During the entire ablation process, the results are relatively robust when the ratio of the two corresponding coefficients is approximately within [2, 10], with performance drop under extreme cases ( $\lambda_{\mathrm{neg}} = 0.1$ and 50). For $\lambda_{\mathrm{neg}} = 50$ , the loss for local prompts is neglected, resulting in severe
367
+
368
+ Table 9: More few-shot experimental results on ImageNet-1k.
369
+
370
+ <table><tr><td rowspan="2">Method</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td colspan="11">4-shot</td></tr><tr><td>CoOp</td><td>18.95</td><td>95.52</td><td>29.58</td><td>92.90</td><td>38.72</td><td>89.64</td><td>48.03</td><td>85.87</td><td>33.82</td><td>90.98</td></tr><tr><td>LoCoOp</td><td>21.67</td><td>95.69</td><td>22.98</td><td>95.07</td><td>31.41</td><td>92.10</td><td>49.79</td><td>87.85</td><td>31.46</td><td>92.68</td></tr><tr><td>Local-Prompt</td><td>9.65</td><td>97.87</td><td>20.40</td><td>95.57</td><td>29.39</td><td>92.67</td><td>51.20</td><td>88.00</td><td>27.66</td><td>93.53</td></tr><tr><td colspan="11">8-shot</td></tr><tr><td>CoOp</td><td>15.23</td><td>96.69</td><td>27.78</td><td>93.08</td><td>35.93</td><td>90.22</td><td>48.26</td><td>85.91</td><td>31.80</td><td>91.47</td></tr><tr><td>LoCoOp</td><td>16.34</td><td>96.47</td><td>22.40</td><td>94.96</td><td>31.86</td><td>91.83</td><td>42.20</td><td>89.81</td><td>28.20</td><td>93.27</td></tr><tr><td>Local-Prompt</td><td>10.17</td><td>97.83</td><td>19.82</td><td>95.42</td><td>30.83</td><td>92.54</td><td>48.26</td><td>88.47</td><td>27.27</td><td>93.56</td></tr><tr><td colspan="11">16-shot</td></tr><tr><td>CoOp</td><td>14.60</td><td>96.62</td><td>28.48</td><td>92.65</td><td>36.49</td><td>89.98</td><td>43.13</td><td>88.03</td><td>30.67</td><td>91.82</td></tr><tr><td>LoCoOp</td><td>16.05</td><td>96.86</td><td>23.44</td><td>95.07</td><td>32.87</td><td>91.98</td><td>42.28</td><td>90.19</td><td>28.66</td><td>93.52</td></tr><tr><td>Local-Prompt</td><td>8.71</td><td>98.10</td><td>23.97</td><td>94.85</td><td>32.50</td><td>92.32</td><td>47.93</td><td>89.04</td><td>28.27</td><td>93.58</td></tr></table>
371
+
372
+ Table 10: Influence of different coefficient in loss function.
373
+
374
+ <table><tr><td rowspan="2" colspan="2"></td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td rowspan="5">λneg</td><td>0.1</td><td>17.64</td><td>95.97</td><td>27.18</td><td>94.76</td><td>34.45</td><td>91.41</td><td>48.82</td><td>86.89</td><td>32.02</td><td>92.25</td></tr><tr><td>2</td><td>9.47</td><td>97.97</td><td>24.11</td><td>94.99</td><td>32.28</td><td>92.07</td><td>47.94</td><td>88.86</td><td>28.45</td><td>93.47</td></tr><tr><td>5</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr><tr><td>10</td><td>10.19</td><td>97.83</td><td>23.46</td><td>95.26</td><td>31.59</td><td>92.31</td><td>49.57</td><td>88.81</td><td>28.70</td><td>93.55</td></tr><tr><td>50</td><td>34.09</td><td>92.06</td><td>42.34</td><td>88.63</td><td>50.88</td><td>83.52</td><td>62.47</td><td>85.70</td><td>47.44</td><td>87.48</td></tr><tr><td rowspan="3">λreg</td><td>0.2</td><td>9.83</td><td>97.88</td><td>24.60</td><td>94.92</td><td>32.65</td><td>92.10</td><td>49.82</td><td>88.63</td><td>29.22</td><td>93.38</td></tr><tr><td>0.5</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr><tr><td>1</td><td>11.24</td><td>97.67</td><td>25.87</td><td>94.77</td><td>33.54</td><td>91.89</td><td>48.38</td><td>88.97</td><td>29.75</td><td>93.32</td></tr></table>
375
+
376
+ ![](images/bfbe97bb7bafa240736151daa53689c87db562fda4e6b953853a257a18487b11.jpg)
377
+ Figure 7: Results on different values of $k$ for training and inference.
378
+
379
+ ![](images/d00cf919d044a8fa72f38fbd0694fcc1c7c4bb48d774d92f8761ac8f50374fa7.jpg)
380
+
381
+ performance drop. For $\lambda_{\mathrm{neg}} = 0.1$ , the local negative prompts are over-regularized by diversity constraints. The effectiveness of the proposed loss can be further verified accordingly.
382
+
383
+ Regional number. Regional number $k$ expresses the extent to which local prompts pay attention to areas. As regional information is not always ID or OOD-related, the selection of regional number $k$ largely determines performance. During training, Regions are selected to emphasize suitable ID-related regions (outlier regions when hard negative images) and learn regional-related local prompts. During inference, $k$ is relatively smaller to guarantee the confidence of the selected region for metric calculation. We conduct various experiments on different values of $k$ during both training and testing. Curves shown in Fig. 7 illustrate that for both $k$ during training and inference, larger $k$ will confuse confidence of the boundary between ID and OOD regions, while smaller $k$ fails to extract precise regional-related textual representations, which corresponds to our analysis. We underline that varying $k$ brings in subtle differences and even simplified outcome without careful selection of $k$ still achieves better results than previous approaches.
384
+
385
+ Extra training time. We extend the training time to analyse the benefits of longer training. It can be seen in Tab. 11 that 30 epochs is sufficient to get superior representations in few-shot prompt tuning and longer training time does not necessarily bring about the improvements of performance. By contrast, LoCoOp (Miyai et al., 2023a) requires 50 epochs and it indicates that our approach is well and fast converged, which is in line with the purpose of few-shot learning.
386
+
387
+ Number of negative augmentation. The number of negative augmentation influences the performance. It can be seen in Tab. 12 that setting negative augmentation to be 1 achieves obviously better results. A potential reason for the phenomenon is that random crops of original images are hard enough for the detector to learn local outlier information and too much negative augmentation may confuse the learning process. Consequently, we choose the least similar image as the negative augmentation.
388
+
389
+ Table 11: Influence of longer training time.
390
+
391
+ <table><tr><td rowspan="2">epoch</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>30</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr><tr><td>50</td><td>9.60</td><td>97.83</td><td>23.71</td><td>95.05</td><td>32.31</td><td>92.02</td><td>48.47</td><td>88.68</td><td>28.52</td><td>93.40</td></tr></table>
392
+
393
+ Table 12: Influence of negative augmentation number.
394
+
395
+ <table><tr><td rowspan="2">N</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>1</td><td>9.39</td><td>97.97</td><td>24.20</td><td>95.10</td><td>32.13</td><td>92.21</td><td>49.37</td><td>88.66</td><td>28.77</td><td>93.48</td></tr><tr><td>8</td><td>10.31</td><td>97.80</td><td>25.18</td><td>94.96</td><td>33.36</td><td>92.06</td><td>51.32</td><td>87.64</td><td>30.04</td><td>93.12</td></tr></table>
396
+
397
+ Table 13: Comparison with ID-like.
398
+
399
+ <table><tr><td rowspan="2">Method</td><td colspan="2">iNaturalist</td><td colspan="2">SUN</td><td colspan="2">Places</td><td colspan="2">Texture</td><td colspan="2">Average</td></tr><tr><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td><td>FPR95↓</td><td>AUROC↑</td></tr><tr><td>ID-like</td><td>8.98</td><td>98.19</td><td>42.03</td><td>91.64</td><td>44.00</td><td>90.57</td><td>25.27</td><td>94.32</td><td>30.07</td><td>93.68</td></tr><tr><td>Ours</td><td>12.81</td><td>97.29</td><td>19.34</td><td>95.85</td><td>27.53</td><td>92.97</td><td>45.51</td><td>89.99</td><td>26.29</td><td>94.03</td></tr></table>
400
+
401
+ Comparison with ID-like. We additionally compare with ID-like (Bai et al., 2024), and the results shown in Tab. 13 reveal that our model achieves better average performance against ID-like, demonstrating the utility of our local information enhancement strategy.
402
+
403
+ ![](images/133e9fec0768bc903deb56a767cf376520d84ced66d562e75fa4e0d7a921a826.jpg)
404
+
405
+ ![](images/cf7f687a999acdfb3229c69c0a86c9de91b87050abe089d1617f0218bd812e16.jpg)
406
+
407
+ ![](images/e612fbc3860afcbb55302ed5c1addc647da5ac83d56840e33e5786d9d7b53962.jpg)
408
+
409
+ ![](images/2a049d66658857d167070c5c2bc97096ed0ea753c54d5ed7d07da156870c3899.jpg)
410
+
411
+ ![](images/5f94fc032937f190e5d3e6c888e2d7e131a1bb4764e9026a9f937cc8a08a4bec.jpg)
412
+
413
+ ![](images/a58f4b7cd91f2822b3f13cab3438613e6739c1fd6a19957e48d00ace8a4d2ab4.jpg)
414
+
415
+ ![](images/010b3be9d0957d949e64b7ea5d916111c24f263191b7680839864e08dd03655f.jpg)
416
+
417
+ ![](images/d1c2e455b6c780a756abc942cb3f1341da991261c25b9dcb5e30cd322abd1ca1.jpg)
418
+
419
+ ![](images/2fb881a21e354fe199c593fe386bac01ff059c08a0f4f661668a194c62df3445.jpg)
420
+
421
+ ![](images/890f86fe39975ec9be1bea9d2c17cd695db3b54cb80738b1d281e399a188abfd.jpg)
422
+ Figure 8: Density map of different OOD datasets measured by various methods.
423
+
424
+ ![](images/1e03fb3ddd517972c5ddb5cee3087d10b20676dda08556bf96aa0160f9fa0a07.jpg)
425
+
426
+ ![](images/becd4c2c75c458bb2a15fe74c7324acef31923e3716a5a00cce0e78df394f35b.jpg)
427
+
428
+ # D VISUALIZATION AND ANALYSIS
429
+
430
+ Visualization of heatmaps. we additionally include heatmaps maps of typical images to illustrate the attention of our methods. It can be seen in Fig. 9 that our method accurately focuses on ID regions despite the interference of complex background surroundings, e.g., tabby cat, lion and leonberg with complex background of grassland, which showcases the effectiveness of pseudo background augmentation serving as local outlier. Moreover, our method also captures multi-objects, e.g., the ships on the sea (third picture on the first row), strongly validating the usefulness of local enhancement in the framework.
431
+
432
+ ![](images/4335367438615f147435808156937437ea5e5cdf74ef7494e4040e708cb14e42.jpg)
433
+ ID: tabby cat
434
+ ID: lion
435
+
436
+ ![](images/b00da4d7495f52fe7172c3e289ec76e52a2aa600d852416829abd1f2137bd485.jpg)
437
+
438
+ ![](images/0d6c1839c22086da7a40c5b4d3f646c567875c2cf9051afa7bd0df3c284bc3bd.jpg)
439
+ Figure 9: Visualization of heatmaps.
440
+
441
+ ![](images/76462b1838cb5c678f2f4d1804cd0e5d9e923afc78a70b8d59c9ea3af86784fa.jpg)
442
+ ID: fountain pen
443
+
444
+ ![](images/d88275efad457ea64f22af600a781cd2ee73b4576f8b286051405fa9dc36ee14.jpg)
445
+ ID: leonberg (dog)
446
+
447
+ ![](images/4d2f5391cc3bdb97b641c522c933b6361a3701eb14f5b912b4e084cf827d66d3.jpg)
448
+
449
+ ![](images/89c5b03de2b5f8d41af029efc5b01342402dac606283d7b0ec592077e4620210.jpg)
450
+
451
+ ![](images/16dd74568cd55d5a0da175c01ff7cd4b588b259766d5b9070be75717b7a0f403.jpg)
452
+ ID: liner (ship)
453
+
454
+ ![](images/eb971fb2c0d5dfdc820624b5f2d269c84d7fed08b33b5dc23647e53ebfe683ca.jpg)
455
+ ID: minivan (car)
456
+
457
+ ![](images/a0e90f8c738d898cba452641164818e691eda329cf5df973158b1951e87af171.jpg)
458
+
459
+ ![](images/b585d2f333a8a7cf83350823bd2f1c44e1e22013f843bec0f64159557e335c52.jpg)
460
+
461
+ Table 14: The top-k average similarity of both ID-dataset and OOD datasets with local prompts.
462
+
463
+ <table><tr><td>k</td><td>10</td><td>20</td><td>50</td></tr><tr><td colspan="4">w/o local enhancement</td></tr><tr><td>ID-dataset</td><td>0.297</td><td>0.286</td><td>0.272</td></tr><tr><td>OOD-datasets</td><td>0.280</td><td>0.276</td><td>0.261</td></tr><tr><td colspan="4">w local enhancement</td></tr><tr><td>ID-dataset</td><td>0.312</td><td>0.306</td><td>0.282</td></tr><tr><td>OOD-datasets</td><td>0.273</td><td>0.266</td><td>0.249</td></tr></table>
464
+
465
+ More visualization. We visualize the density map of 4 OOD datasets, i.e., iNaturalist, SUN, Places and Texture and compare them with typical existing methods. Fig. 8 exhibits that our approach is capable of distinguishing ID and OOD samples with more confidence and has obviously less overlap between them than previous zero-shot and few-shot methods. It strongly demonstrates the effectiveness and potential of our local prompt based method.
466
+
467
+ Similarity of enhanced regions. We calculate the top-k average similarity of both ID-dataset and OOD datasets with local prompts to qualitatively showcase the effectiveness of local enhancement. It can be clearly seen in Tab. 14 that the method without local enhancement has no obvious boundary between ID and OOD datasets (0.272 for top-50 and 0.276 for top-20), which may confuse the model when detecting hard outlier samples where subtle difference occurs in certain regions of the image. By contrast, our method appears to be more discriminant and has an obvious boundary between them (0.282 for ID and 0.273 for OOD). It additionally demonstrates the core problem that current method encounters and our method of refining local regions successfully addresses the issue to some extent.
468
+
469
+ # E LIMITATIONS AND FUTURE WORK
470
+
471
+ Training time. The primary limitation of our work is that it may require more training time due to negative augmentation. However, as few shot tuning paradigm for vision-language model is efficient and time-saving, it will not be the bottleneck of the model. Practically, we fine-tune CLIP on one single NVIDIA A6000 and 4-shot tuning only needs 4 hours.
472
+
473
+ Joint training of both global and local prompts. In our work, we mainly concentrate on the effectiveness of local prompts as an enhancement and set global prompts frozen/from existing methods. We believe that exploiting the connection between global and local features is promising. Therefore, we are in an effort to explore the advantage of training global and local prompts jointly.
474
+
475
+ Expansion to other recognition tasks. In this work, we focus on OOD detection for classification task. It will be an interesting topic to handle other vision tasks in open-world such as segmentation and object detection. However, existing methods also merely deal with one task at a time. Nevertheless, we believe the proposed local prompts can be generally useful as long as the applied tasks have rich local information.
2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1191e6d3febc315b3a0dcdacbe0ad6ce30c2038a6f4f61b79b785d91ab80071
3
+ size 926317
2025/Local-Prompt_ Extensible Local Prompts for Few-Shot Out-of-Distribution Detection/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Alignment Improves Vision-Language Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Alignment Improves Vision-Language Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Alignment Improves Vision-Language Models/36f08cbf-8658-4a80-ab65-7f21c4524b29_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b4b13f15e5e42e93befd6dfb045c6a629f44c80420318b1cbda6a8c73ccd207
3
+ size 7735533
2025/Locality Alignment Improves Vision-Language Models/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Alignment Improves Vision-Language Models/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b5451f705c1b2d2273d2b4ffd4546beb1416e04065f7a8606996f240939aa6d
3
+ size 1306763
2025/Locality Alignment Improves Vision-Language Models/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Sensitive Avatars From Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Sensitive Avatars From Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Sensitive Avatars From Video/b9ccada6-a2af-4496-8e2b-189cfd1d84f3_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a1662601cad1b9653f8dbd1253758221e55fd3ddc647537bd63da844682a4d3
3
+ size 5999099
2025/Locality Sensitive Avatars From Video/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality Sensitive Avatars From Video/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48c02e7c89ee64b0c241dc5fb447190293ffcf981a69c169357c71c824d1f014
3
+ size 2407241
2025/Locality Sensitive Avatars From Video/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/7577aaa5-03a8-4ded-8f34-668d80ba84fa_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0a97e257e2ecf60f46fb913df2ff59c7a5ee76b0e1df5b5f643f1433ebc128f
3
+ size 8569511
2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:126ac41920129f13301c7402c9343565e85d403efe8bbbb0d147ff868ffd2fc1
3
+ size 2752339
2025/Locality-aware Gaussian Compression for Fast and High-quality Rendering/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2025/Locally Connected Echo State Networks for Time Series Forecasting/cfa3f754-53ec-4308-a689-f7e31553fefb_content_list.json ADDED
The diff for this file is too large to render. See raw diff