<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Generalized Visual Odometry via Cross-Modal Self-Training</title></titleStmt>
			<publicationStmt>
				<publisher>International Conference on Computer Vision</publisher>
				<date>10/02/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10534479</idno>
					<idno type="doi"></idno>
					
					<author>Lei Lai</author><author>Zhongkai Shangguan</author><author>Jimuyang Zhang</author><author>Eshed Ohn-Bar</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We propose XVO, a semi-supervised learning method for training generalized monocular Visual Odometry (VO) models with robust off-the-self operation across diverse datasets and settings. In contrast to standard monocular VO approaches which often study a known calibration within a single dataset, XVO efficiently learns to recover relative pose with real-world scale from visual scene semantics, i.e., without relying on any known camera parameters. We optimize the motion estimation model via self-training from large amounts of unconstrained and heterogeneous dash camera videos available on YouTube. Our key contribution is twofold. First, we empirically demonstrate the benefits of semi-supervised training for learning a general-purpose direct VO regression network. Second, we demonstrate multi-modal supervision, including segmentation, flow, depth, and audio auxiliary prediction tasks, to facilitate generalized representations for the VO task. Specifically, we find audio prediction task to significantly enhance the semi-supervised learning process while alleviating noisy pseudo-labels, particularly in highly dynamic and out-of-domain video data. Our proposed teacher network achieves state-of-the-art performance on the commonly used KITTI benchmark despite no multi-frame optimization or knowledge of camera parameters. Combined with the proposed semi-supervised step, XVO demonstrates off-the-shelf knowledge transfer across diverse conditions on KITTI, nuScenes, and Argoverse without fine-tuning.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Monocular Visual Odometry (VO) methods for recovering ego-motion from a sequence of images have mostly been studied within a restricted scope, where a single dataset, such as KITTI <ref type="bibr">[28]</ref>, may be used for both training and evaluation under a fixed pre-calibrated camera <ref type="bibr">[37,</ref><ref type="bibr">45,</ref><ref type="bibr">54,</ref><ref type="bibr">77,</ref><ref type="bibr">109,</ref><ref type="bibr">112,</ref><ref type="bibr">116,</ref><ref type="bibr">124,</ref><ref type="bibr">126,</ref><ref type="bibr">128]</ref>. However, very few * Equally contributed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Teacher Model</head><note type="other">Student Model</note><p>1. Supervised Training 4. Supervised Training 3. Filtering 2. Pseudo-Labeling y y &#7929;aux y aux 1: Learning General-Purpose Monocular Visual Odometry (VO) Models from Multi-Modal and Pseudo-Labeled Videos.</p><p>Our proposed XVO framework first trains an ego-motion prediction teacher model over a small initial dataset, e.g., nuScenes <ref type="bibr">[7]</ref>. We then expand the original dataset through pseudo-labeling of in-the-wild videos. Motivated by how humans learn general representations through observation of large amounts of multimodal data, we employ multiple auxiliary prediction tasks, including segmentation, flow, depth, and audio, as part of the semi-supervised training process. Finally, we leverage uncertainty-based filtering of potentially noisy pseudolabels and train a robust student model. studies have analyzed the task of generalized VO, i.e., relative pose estimation with real-world scale across differing scenes and capture setups.</p><p>For instance, consider an autonomous robot or vehicle deployed at a large scale. The robot is highly likely to encounter environments for which no ground truth ego-motion data was previously collected. In such novel settings, current VO methods will quickly exhibit poor ego-motion estimation and drift <ref type="bibr">[23,</ref><ref type="bibr">24,</ref><ref type="bibr">29,</ref><ref type="bibr">46,</ref><ref type="bibr">47,</ref><ref type="bibr">65,</ref><ref type="bibr">96,</ref><ref type="bibr">128]</ref>. Moreover, our robot may be required to adjust its camera setup over its lifetime (e.g., to a new camera) or leverage data from a fleet of robots with varying or perhaps unknown camera configurations. Yet, existing VO methods generally assume care-This ICCV paper is the Open Access version, provided by the Computer Vision Foundation.</p><p>Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore. fully calibrated camera parameters during training <ref type="bibr">[23,</ref><ref type="bibr">24,</ref><ref type="bibr">65,</ref><ref type="bibr">77,</ref><ref type="bibr">96,</ref><ref type="bibr">109,</ref><ref type="bibr">128]</ref>. Specifically, to simplify the ill-posed monocular pose recovery task, researchers often resort to relying on knowledge of the camera intrinsic parameters to incorporate various geometric or photometric consistencybased mechanisms <ref type="bibr">[37,</ref><ref type="bibr">45,</ref><ref type="bibr">54,</ref><ref type="bibr">89,</ref><ref type="bibr">112,</ref><ref type="bibr">116,</ref><ref type="bibr">124,</ref><ref type="bibr">126]</ref>. In this work, we do not make such an assumption as we are concerned training VO models that can learn from and operate under diverse unconstrained videos in the wild. Specifically, we pursue an orthogonal direction to prior work based on semi-supervised learning and explore more scalable and camera-agnostic deployment settings.</p><p>Our key hypothesis is that neural network models can learn to circumvent issues related to pose and scale ambiguity in generalized VO settings through observation of ample amounts of diverse scene and motion video data. This approach is motivated by humans' ability to flexibly estimate motion in arbitrary conditions through a general understanding of salient scene properties (e.g., object sizes) <ref type="bibr">[73]</ref>. This general understanding is developed over large amounts of perceptual data, often multi-modal in nature <ref type="bibr">[71,</ref><ref type="bibr">81,</ref><ref type="bibr">81]</ref>. For instance, cross-modal information processing between audio and video has been shown to play a role in spatial reasoning and proprioception <ref type="bibr">[57,</ref><ref type="bibr">58,</ref><ref type="bibr">67,</ref><ref type="bibr">74,</ref><ref type="bibr">99]</ref>. Indeed, collected online videos often have audio, which can be used as a further source of cross-modal supervision. As further discussed in Sec. 3, we find ambient audio to correlate at times with scenarios where monocular VO tends to fail, such as determining ego-speed when the vehicle is stopped at a dense intersection or as context for the current traffic scenario when estimating translation (e.g., highway driving). Extracting information related to flow, segmentation, or depth can also further guide learning generalized representations. To fully explore the utility of self-training VO models, we analyze a unified multi-modal framework and its impact on guiding semi-supervised VO learning from large amounts of unconstrained sources.</p><p>As far as we are aware, we are the first to study the feasibility of self-training for direct, calibration-free, egomotion pose regression with an absolute real-world scale. Specifically, we find that incorporating additional modalities via simple multi-task learning can significantly enhance model robustness and generalization. When paired with an uncertainty-based filtering module, we achieve stateof-the-art VO performance with a single broadly usable model which we validate for the autonomous driving usecase. Moreover, our training and inference is highly efficient as the auxiliary learning formulation does not alter the two-frame input, i.e., in contrast to methods relying on extracting rich intermediate representations <ref type="bibr">[4,</ref><ref type="bibr">96,</ref><ref type="bibr">112,</ref><ref type="bibr">124]</ref>. We demonstrate state-of-the-art results on KITTI using the proposed two-frame VO model structure without requiring elaborate long-term memory, computationally expensive it-erative refinement steps, or knowledge of camera parameters. Our code is available at <ref type="url">https://github.com/h2xlab/</ref> XVO.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Related Work</head><p>Monocular Visual Odometry: Despite recent advances, both geometrical and learning-based VO approaches are still mostly evaluated over limited datasets under similar training and testing conditions <ref type="bibr">[9,</ref><ref type="bibr">25,</ref><ref type="bibr">40,</ref><ref type="bibr">64,</ref><ref type="bibr">72,</ref><ref type="bibr">90,</ref><ref type="bibr">92,</ref><ref type="bibr">94]</ref>. For instance, training and evaluation are both conducted on KITTI <ref type="bibr">[28]</ref>, which contains a fixed camera setup with limited diversity and density of scenarios <ref type="bibr">[96]</ref>. More recently, learning-based approaches leveraging unsupervised learning for VO <ref type="bibr">[45,</ref><ref type="bibr">47,</ref><ref type="bibr">75,</ref><ref type="bibr">112,</ref><ref type="bibr">115,</ref><ref type="bibr">126]</ref>, have shown state-ofthe-art performance on KITTI. Notably, UnDeepVO <ref type="bibr">[45]</ref> utilizes stereo imagery for training to recover real-world scale without the need for labeled datasets. GeoNet <ref type="bibr">[112]</ref> combines depth, optical flow, and camera pose to holistically learn a VO prediction model. TartanVO <ref type="bibr">[96]</ref> conditions the VO model on the intrinsic parameters in order to achieve robust generalized performance. However, the aforementioned methods all require known camera intrinsics <ref type="bibr">[45,</ref><ref type="bibr">112]</ref> in inference resulting in a restricted use-case and cannot leverage data with unknown camera parameters. In light of these challenges, our work develops mechanisms to enable VO models to learn from and operate over diverse datasets without known calibration. Specifically, our method leverages semi-supervised and multi-modal learning techniques to learn robust generalized representations for estimating motion and real-world scale. Therefore, our approach is orthogonal to most related methods which emphasize self-and un-supervised learning of models based on warping and consistency tasks which rely on precise camera calibration <ref type="bibr">[37,</ref><ref type="bibr">45,</ref><ref type="bibr">112]</ref>.</p><p>Semi-Supervision for Computer Vision Tasks: Semisupervised learning approaches have been extensively studied within the computer vision and machine learning communities <ref type="bibr">[18,</ref><ref type="bibr">44,</ref><ref type="bibr">55,</ref><ref type="bibr">82,</ref><ref type="bibr">87,</ref><ref type="bibr">111]</ref>. However, prior works have not yet focused on the monocular VO task, instead emphasizing object detection <ref type="bibr">[8]</ref>, semantic segmentation <ref type="bibr">[98]</ref>, 3D reconstruction <ref type="bibr">[102]</ref>, action recognition <ref type="bibr">[101]</ref> or lowlevel computer vision tasks <ref type="bibr">[6,</ref><ref type="bibr">10,</ref><ref type="bibr">17,</ref><ref type="bibr">33,</ref><ref type="bibr">38,</ref><ref type="bibr">59,</ref><ref type="bibr">61,</ref><ref type="bibr">70,</ref><ref type="bibr">84,</ref><ref type="bibr">107,</ref><ref type="bibr">110]</ref>. Consequently, fundamental research questions related to the impacts of improving VO model generalization remain unanswered, e.g., whether semi-supervised learning can be used to enhance reasoning over real-world scale <ref type="bibr">[43,</ref><ref type="bibr">76,</ref><ref type="bibr">97,</ref><ref type="bibr">120]</ref> and long-tail scenarios <ref type="bibr">[119]</ref> or how uncertainty mechanisms can contribute to more robust training from heterogeneous video data. Specifically, we explore the role of multi-task and multi-modal learning in order to improve semi-supervised VO model training.</p><p>Auxiliary Learning: Our proposed method primarily aims to enhance the performance of a VO model through auxiliary tasks within a semi-supervised learning framework. Auxiliary learning <ref type="bibr">[49,</ref><ref type="bibr">51,</ref><ref type="bibr">122]</ref> aims to use auxiliary tasks to enhance the performance of the primary tasks. It has been effectively employed in diverse domains, including computer vision <ref type="bibr">[15,</ref><ref type="bibr">41,</ref><ref type="bibr">60,</ref><ref type="bibr">104]</ref>, natural language processing <ref type="bibr">[16,</ref><ref type="bibr">19,</ref><ref type="bibr">42]</ref>, and robotics <ref type="bibr">[36,</ref><ref type="bibr">66,</ref><ref type="bibr">68,</ref><ref type="bibr">83,</ref><ref type="bibr">93,</ref><ref type="bibr">117,</ref><ref type="bibr">118]</ref>. Xu et al. <ref type="bibr">[104]</ref> applied auxiliary image classification and saliency detection to improve the performance of the semantic segmentation. Song et al. <ref type="bibr">[83]</ref> leverages an auxiliary task of velocity estimation to enhance the ability to avoid obstacles of an indoor mobile robot. While several related studies employ auxiliary supervision derived from the ground-truth depth and optical flow <ref type="bibr">[88,</ref><ref type="bibr">89]</ref>, in this work our goal is to explore the use of such supervision from potentially noisy pseudo-labels, e.g., as regularization for learning robust internal representations for VO.</p><p>Cross-Modal Learning: Cross-modal learning is inspired by how biological systems learn by incorporating complementary information from multiple modalities, such as vision, sound, and touch. Prior research in computational cross-modal learning has focused on learning a shared representation space where samples from distinct modalities i.e., image, audio, text, can be aligned <ref type="bibr">[3,</ref><ref type="bibr">34,</ref><ref type="bibr">125]</ref>. Moreover, the addition multiple tasks and modalities have been shown to benefit generalization for various machine perception and learning tasks <ref type="bibr">[2,</ref><ref type="bibr">34,</ref><ref type="bibr">78,</ref><ref type="bibr">113,</ref><ref type="bibr">114,</ref><ref type="bibr">114]</ref>. For instance, audio generation <ref type="bibr">[21,</ref><ref type="bibr">86,</ref><ref type="bibr">127]</ref>, image captioning <ref type="bibr">[48,</ref><ref type="bibr">103]</ref>, speech recognition <ref type="bibr">[1,</ref><ref type="bibr">80]</ref>, navigation <ref type="bibr">[13]</ref>, and multimedia retrieval <ref type="bibr">[11,</ref><ref type="bibr">27,</ref><ref type="bibr">35]</ref> have all shown improved performance due to cross-modal training. However, such studies tend to focus on simplified domains, e.g., restricted acoustic or haptic environments, whereas we analyze dense and dynamic scenes in the wild. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Method</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Problem Setting</head><p>Direct Pose Regression: Our goal is to learn a general function for mapping two observed image frames <ref type="formula">3</ref>) and translation t i &#8712; R 3 . Given a dataset comprising annotated labels of pose ground-truth,</p><p>, learning-based approaches for VO often optimize for a regression loss <ref type="bibr">[5,</ref><ref type="bibr">75,</ref><ref type="bibr">89,</ref><ref type="bibr">94,</ref><ref type="bibr">112]</ref>. In practice, the direct pose regression task often exhibits drift due to issues with absolute scale ambiguity and compound errors, particularly in cases of dense and dynamic scenes. For instance, small errors in rotation estimation can result in large errors over multiple time steps which impact the evaluation. While we formulate a two-frame regression task, prior methods have relied on longer-term memory in order to improve model robustness <ref type="bibr">[37,</ref><ref type="bibr">47,</ref><ref type="bibr">94,</ref><ref type="bibr">106]</ref>, however, this comes at a computational and memory cost. Moreover, most monocular methods only produce up-to-scale predictions <ref type="bibr">[46,</ref><ref type="bibr">96,</ref><ref type="bibr">112]</ref>, as will be further discussed in Sec 4. Instead, we rely on a semi-supervised training process to mitigate issues in absolute scale recovery while enabling a simple two-frame model to achieve state-of-the-art results.</p><p>Self-Training with Auxiliary Tasks: In addition to a labeled odometry dataset D L , our framework assumes access to a large dataset that is not annotated with respect to the ego-motion task but potentially other complementary tasks that are auxiliary to the main VO task, i.e.,</p><p>. Moreover, we assume access to a set of models for generating a pseudo-labeled dataset <ref type="bibr">[8,</ref><ref type="bibr">43,</ref><ref type="bibr">76,</ref><ref type="bibr">107,</ref><ref type="bibr">120]</ref>, i.e.,</p><p>i=1 which can be joined with the original dataset D = D L &#8746; D P L for supervised training (Sec. 3.4). We note that this is a practical assumption as there are abundant computer vision models for obtaining various pseudo-labels. As will be discussed in Sec. 3.3, these pseudo-labels may be filtered by removing high-uncertainty samples. Overall, the cross-modal self-training objective can be defined as</p><p>where L vo is a main VO task loss, L unc is an uncertainty estimation loss, L aux is defined over the auxiliary prediction tasks, and &#955; u is a scalar hyper-parameter. We demonstrate our semi-supervised formulation to benefit various known issues with VO, e.g., improving scale recovery. Moreover, our formulation is kept efficient during inference as it does not alter the two-frame input x, i.e., in contrast to methods relying on extracting intermediate representations as input, such as flow <ref type="bibr">[96]</ref> or depth <ref type="bibr">[124]</ref>. Next, we define our network structure and training.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Ego-Motion Network Training</head><p>Our approach first trains a direct ego-motion teacher model (shown as the main encoder and middle branch in Fig. <ref type="figure">1</ref>) over the labeled dataset D L . To enable learning from an unconstrained video, we do not incorporate any dependency on intrinsic parameters, i.e., either as input <ref type="bibr">[23,</ref><ref type="bibr">24,</ref><ref type="bibr">96]</ref> or for computing a supervisory loss <ref type="bibr">[45,</ref><ref type="bibr">77,</ref><ref type="bibr">89,</ref><ref type="bibr">109,</ref><ref type="bibr">112]</ref>. We find our network design to provide an efficient but surprisingly strong baseline, matching state-ofthe-art on the KITTI benchmark despite no elaborate multiframe optimization. Encoder: We employ a high-capacity feature extractor for effectively leveraging the rich multi-task supervision in later stages (Sec. 3.4). The feature extractor is a Mask-Flownet encoder <ref type="bibr">[123]</ref>, which was found to outperform the commonly used PWC-Net <ref type="bibr">[85,</ref><ref type="bibr">96]</ref>, followed by four transformer self-attention layers <ref type="bibr">[14,</ref><ref type="bibr">22]</ref>. The patch size is 12&#215;16, with each layer comprising four heads and 256 hidden parameters. The encoder structure for the initial teacher model and cross-modal student is kept the same.</p><p>VO Decoder: The VO decoder branch consists of three Fully Connected (FC) layers that regress relative pose y = [R|t] and an uncertainty estimate for the prediction. The VO task optimizes a Mean Squared Error (MSE) loss over predicted translation t &#8712; R 3 and Euler angle rotations &#952; &#8712; R 3 ,</p><p>Uncertainty Estimation: To account for the difficulty in the absolute scale pose regression task, we propose to also model prediction uncertainty. We adopt a matrix Fisher distribution <ref type="bibr">[62]</ref>, which provides a framework for modeling rotation distribution on SO(3). The probability density function of the matrix Fisher distribution is as follows:</p><p>where &#936; &#8712; R 3&#215;3 are the distribution parameters, R &#8712; SO(3) is the pose rotation matrix, and c(&#936;) is a normalization constant <ref type="bibr">[56]</ref>. Given the estimated parameters &#936; we use the negative log likelihood of R in the predicted distribution as a loss, i.e.,</p><p>As a proxy for prediction (i.e., pseudo-label) quality, we find it is sufficient to model uncertainty in rotation prediction, however more elaborate estimation methods can also be used <ref type="bibr">[39,</ref><ref type="bibr">76,</ref><ref type="bibr">108]</ref>. The confidence predictions will be used to remove potentially noisy pseudo-labels prior to the self-training process, as discussed next.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Pseudo-Label Selection</head><p>The VO model from Sec. 3.2 can be used to obtain pseudo-labels over an unlabeled (i.e., with respect to the main VO task) data D U . However, incorrect predictions can introduce noise and heavily degrade model training <ref type="bibr">[76,</ref><ref type="bibr">82]</ref>. Hence, it is crucial to remove low-confidence samples prior to the cross-modal self-training.</p><p>In our regression problem, we measure the confidence of a pseudo-label based on the entropy of the predicted matrix Fisher distribution (i.e., a lower entropy represents increased confidence),</p><p>where we set a fixed threshold &#964; u to ensure the network prediction is sufficiently certain to be selected. To generate pseudo-labels, the VO model is tested on out-of-domain data with highly diverse and dynamic scenes. Based on our analysis in Sec. 4, we find the uncertainty-aware selection mechanism to be crucial for robust self-training irrespective of the auxiliary training tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Self-Training with Auxiliary Tasks</head><p>To learn effective representations for generalized VO at scale, we propose to incorporate supervision from auxiliary but potentially complementary prediction tasks in addition to the generated VO pseudo-labels on D U . The introduced auxiliary tasks regularize the self-training process, particularly in cases where VO pseudo-labels may be inaccurate but other modalities may contain relevant information for reducing ambiguity. Our approach is motivated by the success of multi-task frameworks for computer vision tasks <ref type="bibr">[2,</ref><ref type="bibr">30,</ref><ref type="bibr">41,</ref><ref type="bibr">113,</ref><ref type="bibr">114,</ref><ref type="bibr">121]</ref>. However, we emphasize that related studies often leverage high-quality annotated labels and not noisy pseudo-labels based on model predictions. We sought to incorporate useful auxiliary tasks, as unrelated or noisy supervision can impede the learning process and result in a detrimental effect on the main task model. We set the auxiliary labeled task as an audio prediction task y aux i := A i &#8712; R 2&#215;L , and the auxiliary pseudolabeled tasks &#7929;aux i := [ Si , Di , Fi ] &#8712; R W &#215;H&#215;C as segmentation, depth, and flow prediction, respectively. Subsequently, we leverage multi-task learning (as shown in Fig. <ref type="figure">3</ref>) and minimize a loss composed of four terms, <ref type="bibr">(6)</ref> over the entire dataset D. We note that we drop the explicit label source to avoid clutter. Next, we define each term and corresponding decoder. We empirically observe the additional tasks to improve generalization in evaluation, both within and across VO datasets.</p><p>Audio Decoder: We utilize audio labels, generally available for online videos, as an auxiliary prediction task. We note that prior work often studies such cross-modal reasoning for basic navigation scenarios <ref type="bibr">[12,</ref><ref type="bibr">13,</ref><ref type="bibr">26]</ref> and not for in-the-wild videos where dense dynamic objects may generate significant ambient noise. In our settings, an audio signal can provide complementary information to visual information regarding the overall traffic scenario as well as ego-speed. This insight will be affirmed by our findings in Sec. <ref type="bibr">4</ref>, where the audio task is shown to provide synergistic supervision, both for the main VO task and when combined with other auxiliary tasks. For instance, Fig. <ref type="figure">3</ref> depicts how an idling ego-vehicle may generate lower audio levels, which, in conjunction with the visual scene features, can help disambiguate ego-motion from surrounding motion when stopped at intersections. As drift due to surrounding motion is a common failure mode for VO models, we further incorporate a segmentation task for dynamic objects below.</p><p>Our audio decoder is based on a 1D U-Net architecture <ref type="bibr">[79]</ref>, consisting of a residual 1D convolutional block <ref type="bibr">[32]</ref> and an attention block <ref type="bibr">[91]</ref>, and reconstructs the dual-channel raw audio of the two input frames using the encoder features. We employ a two-term MSE and spectral loss,</p><p>where FT represents the short-time Fourier transform <ref type="bibr">[20]</ref>.</p><p>Segmenting Dynamic Objects: The relative motion caused by dynamic objects can often lead to inaccurate pose predictions, e.g., when stopped at a traffic light with oncoming traffic. To facilitate disambiguating potentially dynamic objects from the static background, we incorporate a segmentation prediction for pedestrian and vehicle classes <ref type="bibr">[4]</ref>. As this task involves extensive manual annotation, we intentionally do not assume it is provided as part of the originally labeled dataset D L and instead leverage an off-the-shelf model based on Mask R-CNN <ref type="bibr">[31]</ref>. The model is pre-trained on the COCO dataset <ref type="bibr">[50]</ref>. We use the detector to construct a pseudo-label semantic segmentation S &#8712; R W &#215;H&#215;2 of foreground and background in the two input frames. We leverage an FCN <ref type="bibr">[52]</ref> decoder, consisting of 11 transposed convolutional layers followed by a convolutional layer and a final sigmoid activation function, and minimize a Dice loss,</p><p>where &#348;i &#8712; R H&#215;W &#215;2 is the decoder predicted segmentation, and</p><p>As dynamic objects often cause ego-motion estimation drift, the prediction task can regularize self-training by providing a useful invariant prior (i.e., across datasets and settings) of background and foreground knowledge. Moreover, the segmentation task complements the audio task in many scenarios as dynamic objects may also generate ambient audio.</p><p>Depth and Flow Tasks: We explore two additional auxiliary tasks based on depth and optical flow estimation, as they potentially offer valuable information about the structure of the surroundings and the camera motion and are frequently employed in VO tasks <ref type="bibr">[53,</ref><ref type="bibr">63,</ref><ref type="bibr">69,</ref><ref type="bibr">96]</ref>. We utilize an MSE as the loss function for both depth and flow tasks,</p><p>To simplify the model, we maintain the identical decoder structure used as in the dynamic object segmentation task (see Fig. <ref type="figure">2</ref>), with the exception of eliminating the final Sigmoid layer.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5.">Implementation Details</head><p>Our models are trained using three NVIDIA RTX 3090 GPUs using a batch size of six. The learning rate is set to 0.001 and with decay 0.99. Given the main VO objective, we set &#955; &#952; = 1 and &#955; u = 0.1. Remaining auxiliary loss hyper-parameters, i.e., &#955; a , &#955; s , &#955; f , &#955; d , are set to 0.01. For our semi-supervised training, we obtain a diverse set of 59,000 unlabeled samples across different geographical locations, times of day, and environmental conditions. We split the nuScenes benchmark <ref type="bibr">[7]</ref> into training, validation, and evaluation sets, to train an initial teacher model for 15 epochs. The student model is trained for 15 epochs on a mix of labeled nuScenes and pseudo-labeled YouTube data. We note that we do not employ careful ratio optimization <ref type="bibr">[8]</ref> when mixing the datasets without and instead solely rely on the uncertainty-based selection mechanism. We leverage data augmentation strategies, including random cropping and resizing, for improving generalization and simulating varying camera intrinsics <ref type="bibr">[96]</ref>. During inference, the model runs at 77 FPS on a single NVIDIA GTX 3090 GPU. Additional details regarding the training and experiments can be found in the supplementary.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Experiments</head><p>In this section, we comprehensively analyze our XVO framework. As our goal is to build generalized VO systems, we emphasize generalization ability across different datasets with various camera setups, specifically in the context of varying autonomous driving settings.</p><p>Datasets: To understand the role of cross-modal selftraining on model generalization, we evaluate our proposed XVO method using three commonly employed datasets, KITTI <ref type="bibr">[28]</ref>, nuScenes <ref type="bibr">[7]</ref> and Argoverse 2 <ref type="bibr">[100]</ref>. Out of the three, KITTI is the most popular VO benchmark, consisting of 11 sequences 00-10 with ground truth. As KITTI is an older benchmark (2012), its camera intrinsics vary significantly from the other two benchmarks. nuScenes consists of about 15 hours of driving data (totaling 197,000 images) from four regions in Boston and Singapore: Boston-Seaport, Singapore-OneNorth, Singapore-Queenstown, and Singapore-HollandVillage. In contrast to KITTI which was captured in sunny driving with mostly static objects, nuScenes incorporates complex real-world driving maneuvers in dense streets and various conditions, e.g., nighttime, difficult illumination conditions with low visibility, as well as artifacts on the camera lens, such as rain droplets or dirt. Finally, Argoverse 2 is a large dataset with 1,000 driving sequences across six US cities. We leverage a test dataset that includes 150 sequences and 48,022 images.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Procedure and Baselines:</head><p>We generally train within one region on nuScenes (HollandVillage) and evaluate the remaining regions and datasets. This is in contrast to prior evaluation procedures where models can learn to memorize the scale and camera setup without generalization through training and testing on the same camera setup and similar environments. We also directly compare with prior state-ofthe-art using the standard KITTI protocol <ref type="bibr">[45,</ref><ref type="bibr">112]</ref>. As our approach does not leverage known intrinsics, we separate approaches that do assume such knowledge in their pipeline to ensure meaningful analysis. We further indicate whether methods predict pose with absolute scale, as some methods output up-to-scale estimates and use the ground-truth scale to align and evaluate their model, e.g., TartanVO <ref type="bibr">[96]</ref>.</p><p>Nonetheless, TartanVO is one of the few approaches that have shown generalization across datasets without the need to fine-tune or perform online adaptation strategies and is therefore our main baseline.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Metrics:</head><p>We follow standard evaluation metrics of average translation t rel (in %) and rotation r rel (in degrees per 100 meters) errors, computed over all possible subsequences within a test sequence of lengths (100, ..., 800) meters <ref type="bibr">[28,</ref><ref type="bibr">96]</ref>. We refer the reader to the KITTI leaderboard for more details regarding the metric. However, we observe prior measures to only provide a proxy evaluation of real-world scale predictions as the errors could potentially vary along the trajectory independently of trajectory-level measures (our supplementary contains additional details). To explore the benefits of semi-supervised training on realworld scale estimation, we sought to directly quantify scale recovery within consecutive frames in a single metric. We therefore also report the average scale error (se) over predicted and ground-truth translation,</p><p>where prevents dividing by zero.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Results</head><p>We examine the role of the main components in the proposed framework below. Complete ablation, e.g., across modality combinations and training settings, can be found in the supplementary.</p><p>Teacher Model Performance: Table <ref type="table">1</ref> compares our proposed encoder architecture for the main VO task with prior methods. When trained in a supervised learning manner on KITTI, our teacher model achieves the lowest translation error of 3.4% even without access to camera intrinsics or multi-step optimization. This suggests that basic modifications to underlying network structure, e.g., through an improved encoder and attention-based mechanism, can result in significant gains for the monocular VO task. Given the effective network structure, we now turn to analyzing the benefits of the proposed semi-supervised framework.</p><p>Semi-Supervised VO Training: Table <ref type="table">1</ref> also analyzes the generalization performance of the proposed semisupervised learning framework on KITTI. Specifically, we show our initial teacher model that is trained on the nuScenes (HollandVillage) dataset to not generalize well to the KITTI testing set (25.27% translation and 8.17 &#8226; rotation error) due to domain shift and differing camera settings. However, after semi-supervised training, the errors for the student model are reduced by 40% and 50% in translation and rotation errors, respectively. The best self-trained model with auxiliary tasks (complete ablation can be found Table <ref type="table">1</ref>: Analysis on the KITTI Benchmark. We abbreviate 'intrinsics-free' as I (i.e., a method which does not assume the intrinsics) and 'real-world scale' as S (i.e., a method is able to recover real-world scale). To ensure meaningful comparison, we categorize models based on supervision type. Firstly, we present unsupervised learning methods, followed by supervised learning methods, then generalized VO methods, and finally our XVO ablation. In the case of TartanVO, we analyze robustness to noise applied to the intrinsics. We train two teacher models: one based on KITTI (as shown in supervised learning approaches) and the other on nuScenes (as displayed at the end of the</p><p>Table with ablations). Method I S Seq 03 Seq 04 Seq 05 Seq 06 Seq 07 Seq 10 Avg t rel r rel t rel r rel t rel r rel t rel r rel t rel r rel t rel r rel t rel r rel Unsupervised Methods: SfMLearner [126] &#10007; &#10007; 10.78 3.92 4.49 5.24 18.67 4.10 25.88 4.80 21.33 6.65 14.33 3.30 15.91 4.67 GeoNet [112] &#10007; &#10007; 19.21 9.78 9.09 7.55 20.12 7.67 9.28 4.34 8.27 5.93 20.73 9.10 14.45 7.40 Zhan et al. [115] &#10007; &#10003; 15.76 10.62 3.14 2.02 4.94 2.34 5.80 2.06 6.49 3.56 12.82 3.40 8.16 4.00 UnDeepVO [45] &#10007; &#10003; 5.00 6.17 4.49 2.13 3.40 1.50 6.20 1.98 3.15 2.48 10.63 4.65 5.48 3.15 Supervised Methods: DeepVO [94] &#10003; &#10003; 8.49 6.89 7.19 4.97 2.62 3.61 5.42 5.82 3.91 4.60 8.11 8.83 5.96 5.79 ESP-VO [95] &#10003; &#10003; 6.72 6.46 6.33 6.08 3.35 4.93 7.24 7.29 3.52 5.02 9.77 10.2 6.16 6.66 GFS-VO [105] &#10003; &#10003; 5.44 3.32 2.91 1.30 3.27 1.62 8.50 2.74 3.37 2.25 6.32 2.33 4.97 2.26 Xue et al. [106] &#10003; &#10003; 3.32 2.10 2.96 1.76 2.59 1.25 4.93 1.90 3.07 1.76 3.94 1.72 3.47 1.75 Our Teacher (KITTI) &#10003; &#10003; 3.46 2.00 1.67 0.70 2.12 0.92 3.92 1.46 5.93 3.96 3.31 1.52 3.40 1.76 Baseline Generalized VO Methods: TartanVO (TartanAir) [96] &#10007; &#10007; 4.20 2.80 6.19 4.35 5.84 3.24 4.21 2.51 7.11 4.96 8.00 3.21 5.93 3.51 TartanVO (10% Noise) &#10007; &#10007; 9.33 3.12 10.88 4.71 11.77 5.39 11.88 4.52 14.70 10.74 11.76 3.61 11.72 5.35 TartanVO (20% Noise) &#10007; &#10007; 17.79 4.42 21.58 5.04 20.12 8.54 18.80 6.26 21.34 16.27 17.45 5.03 19.51 7.59 TartanVO (30% Noise) &#10007; &#10007; 25.89 7.06 34.91 4.54 22.48 10.17 19.32 5.23 19.40 13.33 25.06 8.43 24.51 8.13 Proposed Generalized VO Methods: Our Teacher (nuScenes) &#10003; &#10003; 26.78 4.92 26.02 2.42 23.65 8.85 23.97 6.47 30.66 20.32 20.57 6.01 25.27 8.17 Student w/o Filter &#10003; &#10003; 26.98 9.68 22.56 2.15 14.77 5.83 11.38 1.62 16.45 9.35 20.23 8.99 18.73 6.27 Student &#10003; &#10003; 20.30 3.97 16.33 1.57 11.12 4.19 15.60 5.69 7.77 3.48 19.91 5.59 15.17 4.08 XVO &#10003; &#10003; 14.53 3.93 16.29 0.96 8.31 2.76 15.31 5.49 5.86 3.00 12.17 3.45 12.08 3.27 We also compare with the most related TartanVO <ref type="bibr">[96]</ref> baseline which utilizes the ground-truth for scale alignment and has access to camera intrinsics. However, even with the ground-truth alignment, TartanVO exhibits quick degradation with minimal noise in the intrinsics (enabling a more fair comparison as our method is not provided these as input). Moreover, we explore the generalization of our training framework by evaluating on various datasets in Table <ref type="table">2</ref>.</p><p>We emphasize that none of the trained models have access to samples from Argoverse 2 or KITTI dataset during training. By predicting real-world scale, our student model with all auxiliary tasks outperforms the baseline TartanVO in all three datasets, e.g., by 80% in translation and 70% scale error on Argoverse 2, without any ground-truth alignment. This indicates the proposed method to improve reasoning over scale and scene semantics across arbitrary conditions.</p><p>Impact of Uncertainty-Aware Sample Selection: When inspecting the various pseudo-labels, we observed many cases of drift and incorrect predictions due to the harsh generalization settings. Hence, the uncertainty-aware pseudolabel selection mechanism plays a crucial role in the semisupervised learning process. As shown in Table <ref type="table">1</ref> and Table 2, discarding pseudo-labels with low confidence consistently improves performance, both with and without multimodal supervision. We notice how a student model without the uncertainty-aware sample removal (i.e., 'Student w/o</p><p>150 100 50 0 100 50 0 50 100 400 200 0 200 400 300 200 100 0 100 200 300 400 200 100 0 100 200 300 100 0 100 200 300 400 500 0 100 200 300 400 500 600 700 200 100 0 100 200 X(m) Z(m) Ground&#8230;truth Teacher&#8230;(nuScenes) Student Student+Aud+Seg</p><p>Figure <ref type="figure">4</ref>: Qualitative Analysis on KITTI. We find that incorporating audio and segmentation tasks as part of the semi-supervised learning process significantly improves ego-pose estimation on KITTI.</p><p>Filter') provides only mild improvements compared to the teacher. Once noisy samples are filtered out of the dataset, the performance on KITTI and nuScenes improve significantly, e.g., from 26.16 to 17.04 and 15.93 to 10.54 translation error respectively.</p><p>Ablation on Auxiliary Tasks: We sought to understand the role of the various explored auxiliary tasks, i.e., audio, segmentation, depth, and flow. We first analyze the impact of adding an audio reconstruction task for the VO problem. Although extracted audio includes some ambient noise, we can see that XVO consistently benefits from the proposed audio supervision across the evaluation datasets. This can be explained by the consistent quality of the ground-truth audio labels, i.e., when compared to the noise in pseudolabels generated by the auxiliary prediction models on our unconstrained videos. In general, we find that audio, segmentation, and flow tasks result in better performance compared to the depth prediction task. While prior research often leverages monocular depth prediction for improving VO on KITTI, this is a significantly challenging task in more general settings which results in noisier pseudolabels. We also investigate various combinations of auxiliary branches and find the combination of segmentation and audio branch performs better than a single auxiliary task on KITTI. While this is encouraging, KITTI contains simpler scenarios with relatively few dynamic traffic participants. In such simpler settings, our segmentation branch can be used to obtain reliable pseudo-labels and learn effi-cient generalized features. However, this finding does not extend to nuScenes and Argoverse 2 which frequently contain dense and dynamic scenes. We also find that simply adding prediction tasks does not provide further gains due to the pseudo-label noise and a more brittle and difficult optimization process. Complete ablations on auxiliary tasks can be seen in our supplementary.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Qualitative Results</head><p>Fig. <ref type="figure">4</ref> depicts the prediction of driving trajectories on KITTI sequences 7, 8, 9, and 10. The trajectory predicted using the teacher model that is trained on nuScenes is not able to recover scale accurately. Due to the semi-supervised training process, the student model is shown to have better scale recovery and generalization despite the lack of calibration knowledge. Nonetheless, the student model fails to estimate accurate rotation in more challenging scenes on KITTI, e.g., top right and bottom left scenarios. Finally, the cross-modal trained model is shown to robustly estimate translation, rotation, and scale, even in the most complicated route in Fig. <ref type="figure">4</ref>-top right. Additional qualitative examples are provided in the supplementary.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Conclusion</head><p>In this paper, we present XVO, a novel method for generalized visual odometry estimation via cross-modal selftraining. Our efficient network structure achieves state-ofthe-art results on KITTI, despite having no knowledge of camera parameters or multi-frame optimization as in prior methods. Moreover, our framework leverages a mixedlabel semi-supervised setting over a large dataset of internet videos to further enhance generalization performance. Specifically, we show that additional auxiliary segmentation and audio reconstruction tasks can significantly impact cross-dataset generalization. Our trained VO models can be used across platforms and settings without fine-tuning, i.e., due to general reasoning over semantic visual characteristics of scenes. Moreover, our training settings of improving the performance of a model that is initially trained on a small and restricted dataset are broadly applicable to various robotics use-cases. We hope our work can inspire future researchers to explore scalable VO models that can benefit a broad range of applications. Given the limited utility of combining multiple auxiliary tasks in our settings, a future direction would be to study better methods for learning from noisy and diverse auxiliary pseudo-labels. Moreover, while we achieved state-of-the-art results with a two-frame approach, multi-frame optimization could provide further benefits by alleviating drift.</p></div></body>
		</text>
</TEI>
