# Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs

팩터 그래프를 활용한 견고한 시각-관성 오도메트리를 위한 딥 IMU 바이어스 추론

Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon · arXiv · 2022년 11월 8일

- **연구 문제** 시각 추적이 실패하면 VIO가 IMU 적분 오차의 누적으로 빠르게 발산하며, 기존 바이어스 추정은 물리적 진화보다 잔차를 줄이는 값으로 흐를 수 있습니다.
- **연구 방법** IMU 측정 윈도우와 이전 바이어스 추정치로부터 바이어스 진화를 예측하는 LSTM 또는 Transformer를 학습하고, 예측값을 팩터 그래프의 단항 팩터로 통합합니다.
- **주요 결과** NCD-Multi 어려운 시퀀스, Spot 일반화, EuRoC 드론 실험에서 baseline보다 낮은 오차를 보고했으며, 블랙아웃과 이미지 왜곡 실험에서도 LSTM과 Transformer가 baseline보다 낮은 오차를 보였습니다.

## 시각 추적 실패 시 IMU 적분 drift 문제

VIO는 카메라와 IMU를 결합해 모바일 플랫폼의 상태를 추정하는 널리 쓰이는 방법입니다. 그러나 시각 추적이 실패하면 IMU만으로 적분하게 되고, 이때 IMU 측정 오차가 빠르게 누적되어 추정 궤적이 발산합니다. 원문은 이 오차를 가산적 제로 평균 가우시안 잡음과 천천히 변하는 바이어스의 결합으로 모델링한다고 설명합니다. 저자들은 기존 VIO 연구가 주로 시각 추적 개선에 집중했다고 보고, 이 논문은 IMU 바이어스를 직접 추론하는 방향을 택합니다.

핵심 문제는 VIO의 최적화 과정에서 추정되는 바이어스가 물리적 바이어스 진화와 반드시 일치하지 않고, 잔차를 줄이는 값으로 흘러갈 수 있다는 점입니다. 따라서 IMU 바이어스를 다른 경로로 추론할 수 있다면 시각 추적 실패 구간의 오차를 줄일 여지가 생깁니다.

## 바이어스 진화를 학습하는 신경망과 팩터 그래프 통합

제안 방법은 IMU 측정 윈도우와 이전 바이어스 추정치를 입력받아 현재 시점의 가속도계 및 자이로스코프 바이어스를 예측하는 신경망 Fθ를 학습합니다. 기존의 브라운 잡음 모델은 바이어스의 시간 미분을 제로 평균 가우시안으로 보는 근사이며, 원문은 이 근사가 장시간에는 성립하지 않는다고 설명합니다. 그래서 저자들은 식 (8)의 고정된 확률 과정 대신 바이어스 진화 자체를 신경망으로 근사합니다.

예측된 바이어스는 팩터 그래프의 단항 팩터로 들어갑니다. 원문은 잔차 rbaj = baj − ˆbaj와 rbgj = bgj − ˆbgj를 제시하며, 이 팩터의 공분산은 ˆΣba = I3·2.5e−3, ˆΣbg = I3·2.5e−5로 고정되었다고 보고합니다. 즉 이 값들은 본 실험에서 튜닝된 고정값입니다. 학습 시에는 teacher forcing으로 정답 바이어스를 입력하고, 정답에 zero-mean 가우시안 잡음을 더했으며, 손실은 바이어스 예측의 평균 제곱 오차입니다. 가속도계와 자이로스코프 바이어스는 각각 별도의 네트워크 인스턴스로 학습됩니다.

## LSTM과 Transformer 구현의 차이

원문은 순차 데이터에 적합한 두 구조로 LSTM과 Transformer를 구현했습니다. LSTM은 하나의 IMU 윈도우와 직전 바이어스 추정치를 입력받아 은닉 상태와 셀 상태를 다음 추론으로 넘기므로 긴 궤적에서는 오래된 입력 정보를 결국 잊을 수 있다고 원문이 밝힙니다. Transformer는 l개 윈도우의 IMU 측정과 바이어스 이력을 위치 인코딩과 함께 입력받으며, 어텐션으로 더 오래된 정보를 참조합니다.

두 구현은 같은 팩터 그래프 통합 방식을 공유하지만, 입력 이력의 길이와 내부 구조가 다릅니다. 구현 설정으로 LSTM은 2층 단방향, 은닉 크기 256이며 1 s 데이터(w=10)와 2 Hz 추론을 사용했습니다. Transformer는 8개 헤드, 인코더·디코더 2층, 임베딩 크기 512이며 최대 이력 l=100을 사용했습니다. 이 값들은 본문에서 보고된 구현 설정이며, 다른 모델 구성에서 같은 결과를 보장하지 않습니다.

## 데이터셋과 어려운 시퀀스의 검증 설계

학습과 검증에는 사람이 손에 든 센서로 수집한 NCD-Multi와 드론 데이터셋 EuRoC를 사용했습니다. NCD-Multi의 어려운 시퀀스인 Stairs, Mine, Quad는 테스트 전용으로 분리되었고, 나머지 데이터는 75:25로 나누어 학습과 검증에 사용되었습니다. Spot 데이터셋은 학습에 쓰지 않고 테스트 전용으로만 사용되었으며, 이는 NCD-Multi로 학습한 모델을 다른 locomotion 방식에 적용하는 검증입니다.

![Figure 7: Visual challenges in the NCD-Multi Dataset. Top Row: Images from NCD-Multi Stairs sequence with door opening obscuring the cameras shown on the left…](https://refivu.com/papers/7e9e3ea5-3db6-473c-9d99-7fbb39b4d501/figures/figure-efcb14331749deff6e446f143b734e22.png?thumb=512)

**Fig. 7** . Visual challenges in the NCD-Multi Dataset. Top Row: Images from NCD-Multi Stairs sequence with door opening obscuring the cameras shown on the left and tight spaces of about 1. 5 m wide and a mirror shown on the right. Bottom Row: Images from NCD-Multi Mine sequence with darkness and the challenge of camera being held up close to a wall.

[원문](https://arxiv.org/abs/2211.04517v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon · Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

평가 지표로는 상대 자세 오차인 RPE를 사용했고, 표 II는 10 M 상대 병진/회전 오차를 보고합니다. 다만 Stairs 시퀀스는 전체 이동 거리가 짧아 5 m RPE를 사용했다고 원문이 밝힙니다. 비교 기준은 같은 팩터 그래프에서 단항 팩터만 제외한 VIO baseline입니다.

## 핸드헬드·사족보행 결과와 드론 비교

NCD-Multi 어려운 시퀀스에서 Mine 행의 10 M 상대 병진 오차는 VIO baseline 0.46 M, LSTM 0.33 M, Transformer 0.42 M으로 보고됩니다. 이 값은 낮을수록 좋은 오차입니다. Quad 시퀀스의 Transformer 값은 0.25 M입니다. 원문은 이 결과를 바탕으로 평균 15% drift rate 감소를 보고하며, 큰 감소는 시각 실패가 전면적인 구간에서 나타난다고 설명합니다.

Spot 데이터셋에서는 handheld 데이터로 학습한 LSTM과 Transformer를 재학습이나 미세조정 없이 적용했습니다. 표 II의 Spot Easy와 Spot Hard는 baseline 대비 개선을 보이며, 이는 locomotion 방식이 다른 데이터에서의 일반화 증거로 제시됩니다.

![Figure 1: Two of the platforms used in this work. Left: handheld device including a SevenSense AlphaSense visual-inertial sensor. Right: the same device mounte…](https://refivu.com/papers/7e9e3ea5-3db6-473c-9d99-7fbb39b4d501/figures/figure-5f3047632b86bd846b2a344bef05d056.png?thumb=512)

**Fig. 1** . Two of the platforms used in this work. Left: handheld device including a SevenSense AlphaSense visual-inertial sensor. Right: the same device mounted on a Boston Dynamics Spot quadruped. An IMU bias model from a neural network trained on handheld data was used to infer the biases on the Spot dataset without any retraining — despite the signiﬁcantly different motion pattern. The lidar was not used in these experiments.

[원문](https://arxiv.org/abs/2211.04517v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon · Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

EuRoC 드론 실험은 Zhang 등과 Brossard 등의 공개 결과와 비교했습니다. 표 III에서 V103의 baseline은 0.27 M이고 Transformer는 0.17 M으로, 개선율은 37%로 표기됩니다. 저자들은 이 비교가 각 방법의 baseline과 평가 방식이 달라 직접 비교가 어렵다고 밝힙니다. 따라서 드론 결과는 이 방법이 드론에도 적용될 수 있음을 보여 주는 근거로 읽어야 하며, 다른 방법보다 우월하다는 결론은 아닙니다.

## 블랙아웃과 이미지 왜곡 실험

블랙아웃 실험은 Spot Easy 궤적에서 카메라 영상을 5 s 동안 검은색으로 만든 조건입니다. 평균 5 m RPE는 baseline 0.26 m, bias-lock 0.28 m, LSTM 0.22 m, Transformer 0.20 m로 보고됩니다. 여기서 bias-lock은 블랙아웃 중 바이어스 랜덤 워크를 고정한 변형이며, 원문은 이 변형이 baseline을 개선하지 못했다고 밝힙니다. 따라서 블랙아웃 구간에서 제안 방법의 이점은 바이어스 고정이 아니라 학습된 바이어스 예측에서 나왔다고 읽는 것이 원문의 해석과 맞습니다.

![Figure 10: Blackout Experiment: 5 m RPE Performance where the cameras were disabled for 5 s (gray area) during the Spot Easy trajectory. Mean 5 m RPE was 0.26…](https://refivu.com/papers/7e9e3ea5-3db6-473c-9d99-7fbb39b4d501/figures/figure-647102849fe5c88ac9c665a81f1cb050.png?thumb=512)

**Fig. 10** . Blackout Experiment: 5 m RPE Performance where the cameras were disabled for 5 s (gray area) during the Spot Easy trajectory. Mean 5 m RPE was 0.26 m, 0.28 m, 0.22 m and 0.20 m for the baseline, bias-lock, LSTM and Transformer methods respectively.

[원문](https://arxiv.org/abs/2211.04517v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon · Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

이미지 왜곡 실험은 Spot Easy 궤적의 100 s 시점에 두 스테레오 영상을 10 pixel 왼쪽으로 10 s 동안 이동시킨 조건입니다. 이 실험에서 LSTM과 Transformer의 RMSE 오차는 baseline 대비 각각 41%와 12% 낮게 보고됩니다. 저자들은 이 결과를 학습된 바이어스 추정이 잘못 귀속된 시각 오차를 완화한 결과로 해석하며, 이는 원문의 해석이지 별도의 증명은 아닙니다.

![Figure 11: Image Distortion Experiment: At 100 s of the Spot Easy trajectory we apply a small distortion to both stereo images (pink area). The baseline VIO de…](https://refivu.com/papers/7e9e3ea5-3db6-473c-9d99-7fbb39b4d501/figures/figure-c10799046efff12af70ad1538b71a8fc.png?thumb=512)

**Fig. 11** . Image Distortion Experiment: At 100 s of the Spot Easy trajectory we apply a small distortion to both stereo images (pink area). The baseline VIO develops a signiﬁcant offset in z bias as the error is attributed to the gyroscope. LSTM and Transformer methods have reduced magnitude of error and recovery time.

[원문](https://arxiv.org/abs/2211.04517v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon · Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 한계

원문은 이 방법이 LSTM의 장기 기억 한계, Brownian 근사의 장시간 불성립, 그리고 기준 방법들의 평가 조건 차이라는 제약을 가진다고 밝힙니다. 특히 Transformer는 LSTM보다 모델 크기와 추론 시간이 큽니다. 원문은 LSTM이 약 30 MB, Transformer가 약 200 MB이며 forward pass가 LSTM은 6 ms 미만, Transformer는 20 ms라고 보고합니다. 또 Transformer는 왜곡 실험에서 LSTM보다 낮은 성능을 보였고, 저자들은 LSTM의 2 Hz 추론 속도가 교란에 더 빨리 반응하게 했을 것으로 해석합니다.

또한 원문은 불확실성 추정을 모델에 통합하는 작업과 바퀴형 로봇 같은 비주기적 locomotion에 대한 검증을 향후 과제로 제시합니다. 따라서 현재 결과는 제시된 handheld, 사족보행, 드론 데이터와 실험 조건 안에서만 해석해야 합니다.

## 논문 정보

- **저자**: Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 11월 8일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 11월 8일
- **버전**: v1
- **arXiv**: 2211.04517
- **DOI**: 10.1109/lra.2022.3222956
- **분류**: cs.RO
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2211.04517v1) · [원문 PDF ↗](https://arxiv.org/pdf/2211.04517v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Visual Inertial Odometry (VIO) is one of the most established state estimation methods for mobile platforms. However, when visual tracking fails, VIO algorithms quickly diverge due to rapid error accumulation during inertial data integration. This error is typically modeled as a combination of additive Gaussian noise and a slowly changing bias which evolves as a random walk. In this work, we propose to train a neural network to learn the true bias evolution. We implement and compare two common sequential deep learning architectures: LSTMs and Transformers. Our approach follows from recent learning-based inertial estimators, but, instead of learning a motion model, we target IMU bias explicitly, which allows us to generalize to locomotion patterns unseen in training. We show that our proposed method improves state estimation in visually challenging situations across a wide range of motions by quadrupedal robots, walking humans, and drones. Our experiments show an average 15% reduction in drift rate, with much larger reductions when there is total vision failure. Importantly, we also demonstrate that models trained with one locomotion pattern (human walking) can be applied to another (quadruped robot trotting) without retraining.

## 원문 인용

Russell Buchanan, Varun Agrawal, Marco Camurri, Frank Dellaert, Maurice Fallon (2022). Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs. arXiv:2211.04517v1. https://doi.org/10.1109/lra.2022.3222956

**BibTeX**

```
@article{buchanan2022deep,
  title = {{Deep IMU Bias Inference for Robust Visual-Inertial Odometry with Factor Graphs}},
  author = {Russell Buchanan and Varun Agrawal and Marco Camurri and Frank Dellaert and Maurice Fallon},
  year = {2022},
  eprint = {2211.04517},
  archivePrefix = {arXiv},
  doi = {10.1109/lra.2022.3222956},
  url = {https://arxiv.org/abs/2211.04517v1}
}
```

## 이 논문의 용어

- [트랜스포머](https://refivu.com/terms/515e8433c447-transformer)
- [LSTM](https://refivu.com/terms/ba10547646d9-lstm)
- [teacher forcing](https://refivu.com/terms/5af8c5103329-teacher-forcing)
- [mean square error (MSE)](https://refivu.com/terms/36f3e3c64731-mean-square-error-mse)
- [factor graph](https://refivu.com/terms/55511b3924ef-factor-graph)
- [EuRoC](https://refivu.com/terms/fd727d2dadf2-euroc)
- [RPE](https://refivu.com/terms/b7b2ca485d97-rpe)

## 다른 논문 해설

- [TiROD: Tiny Robotics Dataset and Benchmark for Continual Object Detection](https://refivu.com/papers/ba3ea100-4e7e-4568-aab9-c8aa20c4afae-tirod-tiny-robotics-dataset-and-benchmark-for-continual.md)
- [Detect Faces Efficiently: A Survey and Evaluations](https://refivu.com/papers/13eb42e8-ad32-4f42-9dd4-913ad7464dd5-detect-faces-efficiently-a-survey-and-evaluations.md)
- [Quantifying the unknown impact of segmentation uncertainty on image-based simulations](https://refivu.com/papers/9a10b514-7cac-4373-b2dd-0118592c484e-quantifying-the-unknown-impact-of-segmentation-uncertainty.md)
- [Spach Transformer: Spatial and Channel-wise Transformer Based on Local and Global Self-attentions for PET Image Denoising](https://refivu.com/papers/ad6f9aff-1cf9-4367-abd7-27dc708aaf55-spach-transformer-spatial-and-channel-wise-transformer-based.md)
- [Two layer Ensemble of Deep Learning Models for Medical Image Segmentation](https://refivu.com/papers/4667013f-e19f-4588-88f2-e4394ce0e620-two-layer-ensemble-of-deep-learning-models-for.md)
- [Model-Agnostic Meta-Learning for Multilingual Hate Speech Detection](https://refivu.com/papers/a51454c9-a3c9-470b-a09a-0d9a7f14a2e7-model-agnostic-meta-learning-for-multilingual-hate-speech.md)
- [Deep Reinforcement Learning for Interference Management in UAV-based 3D Networks: Potentials and Challenges](https://refivu.com/papers/9ad5af9b-6b5d-4661-ae97-08a5d2b49f8e-deep-reinforcement-learning-for-interference-management-in.md)
- [Next Generation Equation-Free Multiscale Modelling of Crowd Dynamics via Machine Learning](https://refivu.com/papers/14f38ddd-eeb5-4d3b-89c5-4b543a13a33a-next-generation-equation-free-multiscale-modelling-of-crowd.md)
- [FedTP: Federated Learning by Transformer Personalization](https://refivu.com/papers/fd89ac79-f476-41f1-a530-fe73b0b36237-fedtp-federated-learning-by-transformer-personalization.md)
- [Situational Graphs for Robot Navigation in Structured Indoor Environments](https://refivu.com/papers/5d77c5be-ceb9-49aa-be90-630f7a53d968-situational-graphs-for-robot-navigation-in-structured-indoor.md)
- [Optimal Adaptive Prediction Intervals for Electricity Load Forecasting in Distribution Systems via Reinforcement Learning](https://refivu.com/papers/8e3625e0-1c9c-41fa-9dbb-4ae6c7d06664-optimal-adaptive-prediction-intervals-for-electricity-load.md)
- [Large Language Models Leverage External Knowledge to Extend Clinical Insight Beyond Language Boundaries](https://refivu.com/papers/1681bcb8-eaa3-4d90-af0d-f1d68b6f815a-large-language-models-leverage-external-knowledge-to-extend.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/7e9e3ea5-3db6-473c-9d99-7fbb39b4d501-deep-imu-bias-inference-for-robust-visual-inertial)
