# Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning

미분 가능한 의미 매핑과 계획을 통한 자율 주행 내비게이션을 위한 역강화학습

Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · arXiv · 2021년 1월 1일

- **연구 문제** 이 논문은 의미 범주 관측으로부터 항법 비용 함수를 전문가 시연만으로 학습하는 문제를 다룹니다.
- **연구 방법** 의미 점유 맵 인코더와 완전 합성곱 비용 인코더를 결합하고, Boltzmann 전문가 모델과 A\* 기반 결정적 계획의 폐형식 부분기울기로 비용 매개변수를 최적화합니다.
- **주요 결과** MiniGrid와 CARLA Town 05 테스트에서 제안 방법은 DeepMaxEnt 계열보다 낮은 NLL과 높은 정확도 및 성공률을 보고합니다.

## 연구 문제와 기존 한계

이 논문은 자율주행처럼 의미 범주(도로, 인도, 건물 등)가 중요한 환경에서, 사람이 비용 함수를 직접 설계하지 않고 전문가의 시연으로부터 비용 함수를 추론하는 역강화학습 문제를 다룹니다. 원문은 이를 위해 거리와 의미 범주 관측만을 사용하며, 전문가의 비용은 직접 관측되지 않는다는 점을 전제로 합니다. 기존 많은 역강화학습 방법은 최대 엔트로피 전문가 모델을 사용하고, 전체 상태 공간에 대한 동적 계획이나 분할 함수의 샘플링 추정을 필요로 합니다. 또한 기존 연구의 비용은 대개 전체 관측 열로부터 오프라인에서 학습됩니다. 이 논문은 인과적으로 부분 관측된 정보만으로 비용 표현과 계획 알고리즘을 구성하는 것을 목표로 합니다.

## 의미 점유 맵과 비용 인코더

제안 방법의 비용 표현은 두 부분으로 구성됩니다. 첫째, 의미 점유 맵 인코더는 셀마다 클래스 log-odds 벡터 h\_t,j를 유지하고, 레이블된 점 관측으로부터 베이즈 방식으로 갱신합니다. 원문은 이 갱신을 h\_t,j = h\_t-1,j + Σ\[g\_j − h\_0,j\]로 쓰며, 여기서 g\_j는 역관측 모델의 log-odds 증분입니다. 둘째, 비용 인코더는 이 로그 오즈 맵을 입력으로 받는 완전 합성곱 인코더-디코더 네트워크로, 최종 ReLU가 비용을 비음수로 만듭니다. 따라서 학습 가능한 파라미터는 역관측 모델의 Ψ\_l과 인코더의 φ이며, 이 둘을 합쳐 θ로 표기합니다.

![Figure 2: A 9× 9 grid environment with cells from four semantic classes: empty, wall, lawn, lava. An autonomous agent (red triangle, facing down) starts from t…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-8a6f4533885b9ada5e7909d55155eab5.png?thumb=512)

**Figure 2** . A 9× 9 grid environment with cells from four semantic classes: empty, wall, lawn, lava. An autonomous agent (red triangle, facing down) starts from the top left corner and is heading towards the goal in the bottom right. The agent prefers traversing the lawn but dislikes lava. LiDAR points detect the semantic labels of the corresponding tiles (gray on empty, white on wall, purple on lawn and cyan on lava).

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Figure 5: The semantic occupancy probability of each class for the example in Fig. 2. Using the map encoder described in Sec. 4.1, the semantic categories (wal…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-1c41bd7e815a37c10e9f66b95b115c0a.png?thumb=512)

**Figure 5** . The semantic occupancy probability of each class for the example in Fig. 2. Using the map encoder described in Sec. 4.1, the semantic categories (wall, lawn, lava, etc.) can be identiﬁed correctly after training.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 6: Learned cost function for the example in Fig. 2. The cost of control “right” is the smallest at the agent’s location after training. The agent correc…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-8d22bff1bf0763dcb5a85fbc9aa1dcb0.png?thumb=512)

**Figure 6** . Learned cost function for the example in Fig. 2. The cost of control “right” is the smallest at the agent’s location after training. The agent correctly predicts that it should move right and step on the lawn.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 7: A fully convolutional encoder-decoder neural network similar to that in Badrinarayanan et al. (2017) is used as the cost encoder to learn features fr…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-ad524a9c2cde366d0750925b8b8d3703.png?thumb=512)

**Figure 7** . A fully convolutional encoder-decoder neural network similar to that in Badrinarayanan et al. (2017) is used as the cost encoder to learn features from semantic mapht to cost functionct.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## Boltzmann 전문가 모델과 결정적 계획

제안된 전문가 모델은 최적 가치 함수 Q\*에 대한 Boltzmann 정책 π\*(u\|x) ∝ exp(−Q\*/α)로 정의되며, 온도 α는 합리적 편차의 크기를 조절합니다. 이는 최대 엔트로피 모델과 달리 분할 함수나 전체 상태 공간의 가치 반복을 요구하지 않습니다. 계산에서는 비용 추정치 c\_t에 대해 A\* 탐색으로 결정적 최단 경로 문제를 풀어, 목표에서 현재 상태로 역방향 탐색하며 일부 유망한 상태에 대해서만 최적 cost-to-go를 구합니다. 원문은 이 방식이 전체 공간 벨만 백업보다 효율적이라고 설명합니다.

![Figure 12: Value functions corresponding to the MaxEnt and Boltzmann policies in inﬁnite horizon setting with discountγ = 0.95. The environment only has obstac…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-f0b0cf7613aad17a02e7e68b3d99ba4d.png?thumb=512)

**Figure 12** . Value functions corresponding to the MaxEnt and Boltzmann policies in inﬁnite horizon setting with discountγ = 0.95. The environment only has obstacles around the outer boundary. The start state is marked in green and the goal in red. The controls are{right, down, left, up} at each state with constant true cost of 0 to arrive at the goal (which is an absorbing state), 1 to any state except the goal in the grid and inﬁnity to any obstacle outside the border. Darker color indicates higher cost-to-go values to reach the goal (top two rows) or higher probability of choosing a control (bottom two rows). Although the absolute values ofQM E and QBM are different, both have similar relative value differences across the controls, providing well-performing policiesπM E and πBM .

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

## 폐형식 부분기울기와 학습 절차

학습 문제는 시연 제어의 음의 로그 우도 L(θ)를 최소화하는 것입니다. 원문은 A\* 결과의 방문 함수 µ\_τ\*를 사용해 ∂Q\_t/∂c\_t(x,u) = µ\_τ\*(x,u)를 얻고, 이를 연쇄법칙으로 연결해 ∂L/∂θ를 계산합니다. 이 부분기울기는 최적 경로를 따라 CHILD 관계를 추적하여 얻습니다. 학습 알고리즘은 각 시연 상태에서 비용을 갱신하고, A\*로 Q\_t를 구한 뒤 Boltzmann 정책으로 로그 우도를 계산하고, 확률적 부분기울기 하강으로 θ를 갱신합니다. 테스트에서는 관측이 들어올 때마다 맵과 비용을 갱신하고 가장 확률이 높은 제어를 선택합니다.

![Figure 8: Subgradient of the optimal cost-to-goQt(xt,ut) for each controlut with respect to the costct(x,u) in Fig. 6](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-fb4b590338d9c6bac94b6f361ea61f7e.png?thumb=512)

**Figure 8** . Subgradient of the optimal cost-to-goQt(xt,ut) for each controlut with respect to the costct(x,u) in Fig. 6.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 9: Examples of probabilistic multi-class occupancy estimation, cost encoder output, and subgradient computation. The ﬁrst column shows the agent in the…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-e2c03a1d17c8e27c33bb7afd543c42ea.png?thumb=512)

**Figure 9** . Examples of probabilistic multi-class occupancy estimation, cost encoder output, and subgradient computation. The ﬁrst column shows the agent in the true environment at different time steps. The second column shows the semantic occupancy estimates of the different cells. The third column shows the predicted cost of arriving at each cell. Note that the learned cost function correctly assigns higher costs (in brighter scale) to wall and lava cells and lower costs (in darker scale) to lawn cells. The last column shows subgradients obtained via 17 during backpropagation to update the cost parameters.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## MiniGrid 검증 결과

MiniGrid 실험은 16×16과 64×64 격자 환경에서 DeepMaxEnt와 비교합니다. 검증 집합에서는 NLL과 정확도를, 테스트 집합에서는 궤적 성공률 TSR과 변형 Hausdorff 거리 MHD를 측정합니다. 표 1에서 16×16 환경의 NLL은 DeepMaxEnt 0.333, 제안 방법 0.247이고, 64×64에서는 0.160과 0.153입니다. 같은 실험에서 TSR은 16×16에서 85.5에서 93.0, 64×64에서 86.3에서 95.6으로 보고됩니다. 추론 시간 표 2는 16×16에서 5.8 ms 대 2.7 ms, 64×64에서 19.7 ms 대 3.1 ms입니다. 이 결과는 합성 2D 격자 환경의 조건에서 얻은 것입니다.

![Table 1: Validation and test results for the 16× 16 and 64× 64 minigrid environments. We report the negative log-likelihood (NLL) and prediction accuracy (Acc)…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-e21e8f02574a24e01338193e45c72f08.png?thumb=512)

**Table 1** . Validation and test results for the 16× 16 and 64× 64 minigrid environments. We report the negative log-likelihood (NLL) and prediction accuracy (Acc) of the validation set expert controls and the trajectory success rate (TSR) and modiﬁed Hausdorff distance (MHD) between the agent and the expert trajectories on the test set. See Sec. 7.3 for precise deﬁnitions of the metrics.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## CARLA 자율주행 검증

CARLA 실험은 Town 01–03에서 시연 데이터를 수집하고, Town 04를 검증, Town 05를 테스트에 사용합니다. 라이다와 4개의 의미 분할 카메라를 사용하며, 의미 점유 맵은 높이 정보를 무시한 2D 맵으로 유지됩니다. 표 3에서 제안 방법은 NLL 0.406, 정확도 94.2%, TSR 93%, MHD 2.538을 보고하며, DeepMaxEnt는 각각 0.673, 85.3%, 89%, 4.331이고 DeepMaxEnt + Semantics는 0.742, 82.6%, 87%, 4.752입니다. 원문은 보행자와 다른 차량 생성, 교통 신호 변화, 날씨 조건 변화를 실험 설정에서 비활성화했다고 밝히므로, 이 결과는 그 제한된 시뮬레이션 조건에서의 결과로 읽어야 합니다.

![Table 3: Test results from the CARLA T own05environment, including the negative log-likelihood (NLL) and prediction accuracy (Acc.) of the validation set exper…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-05f638db9ebef24f76e2f50cad4f5181.png?thumb=512)

**Table 3** . Test results from the CARLA T own05environment, including the negative log-likelihood (NLL) and prediction accuracy (Acc.) of the validation set expert controls and the trajectory success rate (TSR) and modiﬁed Hausdorff distance (MHD) between the agent and the expert trajectories on the test set.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

![Figure 11: Examples of semantic occupancy estimation and cost encoding during different steps in a test trajectory marked in red (also see Extension 1). The le…](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9/figures/figure-c1dd87bc017e71ab524553fbd30ff063.png?thumb=512)

**Figure 11** . Examples of semantic occupancy estimation and cost encoding during different steps in a test trajectory marked in red (also see Extension 1). The left column shows the most probable semantic class of the map encoder and the right column shows the cost to arrive at each state. Our model correctly distinguishes the road from other categories (e.g., sidewalk, building, etc) and assigns lower cost to road than sidewalks.

[원문](https://arxiv.org/abs/2101.00186v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

이 결과의 적용 범위는 원문이 보고한 실험 조건으로 제한됩니다. MiniGrid는 합성 2D 격자이고, CARLA 실험은 보행자와 다른 차량, 교통 신호와 날씨 변화를 비활성화한 상태에서 수행되었습니다. 원문은 이러한 복잡한 환경 요소를 다루는 설계를 향후 연구로 남긴다고 밝힙니다. 또한 DeepMaxEnt + Semantics가 기준보다 나빠진 현상에 대해 저자들은 입력 채널 증가에 따른 과적합 가능성을 추정하지만, 이는 저자의 해석이며 직접 검증된 원인으로 볼 수는 없습니다.

## 논문 정보

- **저자**: Tianyu Wang, Vikas Dhiman, Nikolay Atanasov
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 1월 1일
- **등록일**: 2026년 11월 6일
- **수정일**: 2021년 1월 1일
- **버전**: v1
- **arXiv**: 2101.00186
- **분류**: cs.LG · cs.RO
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

This paper focuses on inverse reinforcement learning for autonomous navigation using distance and semantic category observations. The objective is to infer a cost function that explains demonstrated behavior while relying only on the expert's observations and state-control trajectory. We develop a map encoder, that infers semantic category probabilities from the observation sequence, and a cost encoder, defined as a deep neural network over the semantic features. Since the expert cost is not directly observable, the model parameters can only be optimized by differentiating the error between demonstrated controls and a control policy computed from the cost estimate. We propose a new model of expert behavior that enables error minimization using a closed-form subgradient computed only over a subset of promising states via a motion planning algorithm. Our approach allows generalizing the learned behavior to new environments with new spatial configurations of the semantic categories. We analyze the different components of our model in a minigrid environment. We also demonstrate that our approach learns to follow traffic rules in the autonomous driving CARLA simulator by relying on semantic observations of buildings, sidewalks, and road lanes.

## 원문 인용

Tianyu Wang, Vikas Dhiman, Nikolay Atanasov (2021). Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning. arXiv:2101.00186v1. https://arxiv.org/abs/2101.00186v1

**BibTeX**

```
@misc{wang2021inverse,
  title = {{Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning}},
  author = {Tianyu Wang and Vikas Dhiman and Nikolay Atanasov},
  year = {2021},
  eprint = {2101.00186},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.00186v1}
}
```

## 이 논문의 용어

- [Negative Log-Likelihood](https://refivu.com/terms/e6d7135ed9ca-negative-log-likelihood)
- [Inverse reinforcement learning](https://refivu.com/terms/c4c7ccef3a80-inverse-reinforcement-learning)
- [Fully Convolutional Network](https://refivu.com/terms/e1acff056a65-fully-convolutional-network)
- [log-odds](https://refivu.com/terms/477c7109b4dd-log-odds)
- [CARLA simulator](https://refivu.com/terms/316f0e81c329-carla-simulator)
- [value iteration](https://refivu.com/terms/d837d438bbdf-value-iteration)
- [Boltzmann policy](https://refivu.com/terms/5aaf4473da30-boltzmann-policy)
- [Minkowski Engine](https://refivu.com/terms/83051696517a-minkowski-engine)

## 다른 논문 해설

- [A quantum information theoretic analysis of reinforcement learning-assisted quantum architecture search](https://refivu.com/papers/5d37d8c6-6130-4013-bae7-992b6c471e4f-a-quantum-information-theoretic-analysis-of-reinforcement.md)
- [Reinforcement Learning Algorithm for Mixed Mean Field Control Games](https://refivu.com/papers/abeaa8fd-737c-49de-a716-4057af36cbb7-reinforcement-learning-algorithm-for-mixed-mean-field.md)
- [Simulation-Driven Balancing of Competitive Game Levels with Reinforcement Learning](https://refivu.com/papers/7e7b05bf-7a68-4833-a165-49dd4c450350-simulation-driven-balancing-of-competitive-game-levels-with.md)
- [Offline Reinforcement Learning for Learning to Dispatch for Job Shop Scheduling](https://refivu.com/papers/cbf013e6-c77a-4b03-b0aa-f08b69ee047f-offline-reinforcement-learning-for-learning-to-dispatch-for.md)
- [Efficient and practical quantum compiler towards multi-qubit systems with deep reinforcement learning](https://refivu.com/papers/f3b3c8a5-f92c-492e-8767-2b01944c00d3-efficient-and-practical-quantum-compiler-towards-multi-qubit.md)
- [Reinforcement Learning for Safe Autonomous Two Device Navigation of Cerebral Vessels in Mechanical Thrombectomy](https://refivu.com/papers/46d473c4-132b-4492-b1f5-3c80a980ac3c-reinforcement-learning-for-safe-autonomous-two-device.md)
- [Wireless Agentic AI with Retrieval-Augmented Multimodal Semantic Perception](https://refivu.com/papers/4fad3a90-0503-4227-86aa-d43fbcaac150-wireless-agentic-ai-with-retrieval-augmented-multimodal.md)
- [Scientific Computing with Diffractive Optical Neural Networks](https://refivu.com/papers/c8a7c4e2-3078-43aa-9b4d-fefff53ffa75-scientific-computing-with-diffractive-optical-neural.md)
- [Are LSTMs Good Few-Shot Learners?](https://refivu.com/papers/0a87600e-7980-43d0-8cc2-239df6e89170-are-lstms-good-few-shot-learners.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9-inverse-reinforcement-learning-for-autonomous-navigation-via)
