Adapt, But Don't Forget: Fine-Tuning and Contrastive Routing for Lane Detection under Distribution Shift

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Khan, Mohammed Abdul Hafeez, Ganeriwala, Parth, Lehman, Sarah M., Bhattacharyya, Siddhartha, Alvarez, Amy, Neogi, Natasha
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916862167613440
author Khan, Mohammed Abdul Hafeez
Ganeriwala, Parth
Lehman, Sarah M.
Bhattacharyya, Siddhartha
Alvarez, Amy
Neogi, Natasha
author_facet Khan, Mohammed Abdul Hafeez
Ganeriwala, Parth
Lehman, Sarah M.
Bhattacharyya, Siddhartha
Alvarez, Amy
Neogi, Natasha
contents Lane detection models are often evaluated in a closed-world setting, where training and testing occur on the same dataset. We observe that, even within the same domain, cross-dataset distribution shifts can cause severe catastrophic forgetting during fine-tuning. To address this, we first train a base model on a source distribution and then adapt it to each new target distribution by creating separate branches, fine-tuning only selected components while keeping the original source branch fixed. Based on a component-wise analysis, we identify effective fine-tuning strategies for target distributions that enable parameter-efficient adaptation. At inference time, we propose using a supervised contrastive learning model to identify the input distribution and dynamically route it to the corresponding branch. Our framework achieves near-optimal F1-scores while using significantly fewer parameters than training separate models for each distribution.
format Preprint
id arxiv_https___arxiv_org_abs_2507_18653
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adapt, But Don't Forget: Fine-Tuning and Contrastive Routing for Lane Detection under Distribution Shift
Khan, Mohammed Abdul Hafeez
Ganeriwala, Parth
Lehman, Sarah M.
Bhattacharyya, Siddhartha
Alvarez, Amy
Neogi, Natasha
Computer Vision and Pattern Recognition
Machine Learning
Lane detection models are often evaluated in a closed-world setting, where training and testing occur on the same dataset. We observe that, even within the same domain, cross-dataset distribution shifts can cause severe catastrophic forgetting during fine-tuning. To address this, we first train a base model on a source distribution and then adapt it to each new target distribution by creating separate branches, fine-tuning only selected components while keeping the original source branch fixed. Based on a component-wise analysis, we identify effective fine-tuning strategies for target distributions that enable parameter-efficient adaptation. At inference time, we propose using a supervised contrastive learning model to identify the input distribution and dynamically route it to the corresponding branch. Our framework achieves near-optimal F1-scores while using significantly fewer parameters than training separate models for each distribution.
title Adapt, But Don't Forget: Fine-Tuning and Contrastive Routing for Lane Detection under Distribution Shift
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2507.18653