# Survey on reinforcement learning for language processing

언어 처리를 위한 강화학습 서베이

Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · arXiv · 2021년 4월 12일

- **연구 문제** 자연어 처리 문제에 강화학습을 적용한 연구를 구문 분석, 언어 이해, 텍스트 생성, 기계 번역, 대화 시스템으로 나누어 검토합니다.
- **연구 방법** 각 자연어 처리 문제를 상태, 행동, 전이, 보상을 갖는 마르코프 결정 과정으로 정식화하고 대표 강화학습 알고리즘의 적용을 정리합니다.
- **주요 결과** 강화학습은 일부 자연어 처리 과제에서 순차적 의사결정 구조와 잘 맞는다고 보고되지만, 현재 최고 성능 방법으로 확립되었다고 주장하지 않습니다.

## 자연어 처리에 강화학습을 적용하는 문제

이 논문은 강화학습을 자연어 처리 문제에 적용한 기존 연구를 검토합니다. 지도학습과 비지도학습은 자연어 처리에서 오랫동안 성공해 왔지만, 강화학습은 이 분야에서 상대적으로 덜 활용되었다고 저자들은 설명합니다. 강화학습은 에이전트가 환경과 상호작용하며 보상을 최대화하는 행동 순서를 찾는 학습 방식입니다. 따라서 이 논문은 구문 분석, 언어 이해, 텍스트 생성, 기계 번역, 대화 시스템에서 문제를 순차적 의사결정으로 어떻게 정식화할 수 있는지 검토합니다. 특히 대화 시스템에 연구가 집중되어 있다고 소개합니다.

![Figure 10: Information ﬂow of a conversational system. This system receives as input a text string containing a question or simply a comment, and it responds w…](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b/figures/figure-2eecba35d735c71964b57e8e507e72ba.png?thumb=512)

**Figure 10** : Information ﬂow of a conversational system. This system receives as input a text string containing a question or simply a comment, and it responds with another text string containing the response. This input and response interaction typically iterates several times. Going from “Input text string x” to “Output response string x” requires the application in sequence of a text understanding agent (see Fig. 4) and a text generator agent (see Fig. 7).

[원문](https://arxiv.org/abs/2104.05565v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · Survey on reinforcement learning for language processing · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

## 마르코프 결정 과정으로의 정식화

강화학습의 기본 틀은 상태 집합, 행동 집합, 전이 함수, 보상 함수로 이루어진 마르코프 결정 과정입니다. 정책은 상태에서 행동으로 가는 대응이며, 학습의 목표는 누적 보상을 최대화하는 정책을 찾는 것입니다. 원문은 구문 분석에서 파스 트리의 부분 상태, 문법 규칙을 행동으로 보는 정식화를 제시합니다. 텍스트 생성에서는 단어를 추가하거나 삭제하는 행동과 문자열 상태를 설정합니다. 보상 함수는 문법에서 자동으로 얻어지지 않으며 설계자가 정해야 한다고 설명합니다.

![Figure 1: Schematic view of a reinforcement learning agent designed for language processing. The language model agent acts by appending, replacing or deleting…](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b/figures/figure-f587f1712939939ab4b9b3195a8c63e6.png?thumb=512)

**Figure 1** : Schematic view of a reinforcement learning agent designed for language processing. The language model agent acts by appending, replacing or deleting strings of words. States are strings of words. The language processing environment will provide the agent with the states and rewards after each of the interactions. The reward function is determined by the speciﬁc natural language processing task. One simple possibility for a reward function would reinforce every optimal action with a +1.

[원문](https://arxiv.org/abs/2104.05565v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · Survey on reinforcement learning for language processing · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 3: Parse tree of string 00#11 generated from grammar G1](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b/figures/figure-250f907a144706e8dfd43c9f8295d578.png?thumb=512)

**Figure 3** : Parse tree of string 00#11 generated from grammar G1.

[원문](https://arxiv.org/abs/2104.05565v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · Survey on reinforcement learning for language processing · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 7: Schematic view of a reinforcement learning agent designed for language generation, as an example application. The language model agent acts by select…](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b/figures/figure-6676df5d5e5c5aa9c7f0b5cddbf95ac8.png?thumb=512)

**Figure 7** : Schematic view of a reinforcement learning agent designed for language generation, as an example application. The language model agent acts by selecting words from a relevant set of words, which is a function of the current state. The current state is a – possibly incomplete – sentence in English. The next state is the sentence resulting from appending the word selected by the agent. The language processing environment will provide the agent with the states and rewards after each of the interactions. Actions might take the form of strings of characters such as n-grams, words, sentences, paragraphs or even full documents. The environment and the reward function are determined by the language processing task being solved, i.e., text generation.

[원문](https://arxiv.org/abs/2104.05565v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · Survey on reinforcement learning for language processing · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 대표 알고리즘과 적용 사례

Q-learning은 상태-행동 가치 Q를 추정하며 탐색 정책과 갱신에 쓰는 탐욕 정책을 분리하는 오프-폴리시 방법입니다. SARSA는 탐색에 쓰는 정책을 갱신에도 그대로 사용하는 온-폴리시 방법입니다. 구문 분석 사례에서는 SARSA로 전이 선택 정책을 추정하는 연구가 소개됩니다. 기계 번역 및 대화 시스템에서는 정책 경사와 DQN 등이 사용된 사례가 함께 정리됩니다. 이 설명은 각 연구가 보고한 설정을 따르며, 논문 전체가 하나의 통일된 실험을 수행했다는 뜻은 아닙니다.

![Figure 4: Schematic view of a reinforcement learning agent designed for syntactic parsing. The language processing environment will provide the agent with the…](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b/figures/figure-40eec3b3d0c19b0fbfc4b81e00225638.png?thumb=512)

**Figure 4** : Schematic view of a reinforcement learning agent designed for syntactic parsing. The language processing environment will provide the agent with the states and rewards after each of the interactions. The reward function can be deﬁned in various ways, for example, a positive reward of 10 may be provided each time an appropriate grammar rule is applied.

[원문](https://arxiv.org/abs/2104.05565v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · Survey on reinforcement learning for language processing · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 기계 번역에서 실시간 번역과 보상 설정

동시 기계 번역은 문장 경계가 확인되기 전에 번역을 시작하여 지연을 줄이는 과제입니다. Grissom II 등의 연구는 이 과제를 마르코프 결정 과정으로 보고, 부분 번역을 유지하거나 다음 단어를 예측하거나 기다리는 행동을 선택하게 합니다. 보상은 BLEU 점수에 기반하여 정의되며, 참조 번역이 학습 중 사용 가능하다고 가정됩니다. 원문은 이 방식에서 동사 예측으로 지연을 줄일 수 있다고 설명하지만, 실제 실시간 시스템에서의 수렴 속도는 여전히 과제로 남아 있다고 밝힙니다.

![Figure 8: Schematic view of a reinforcement learning agent designed for language translation. It gets as input a text in some language A, and responds with ano…](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b/figures/figure-81d1a2da63560c2ca29d933208ddd81d.png?thumb=512)

**Figure 8** : Schematic view of a reinforcement learning agent designed for language translation. It gets as input a text in some language A, and responds with another text string in a diﬀerent language B. Input and output text strings have the same meaning. The language model agent acts by selecting the most relevant string of words. The language processing environment will provide the agent with the states and rewards after each of the interactions. The environment and the reward function are determined by the machine translation task being solved, i.e., translation from English to Spanish.

[원문](https://arxiv.org/abs/2104.05565v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter · Survey on reinforcement learning for language processing · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 남은 한계와 적용 범위

이 논문은 강화학습이 자연어 처리 과제에서 현재 최고 성능 방법으로 확립되었다고 주장하지 않습니다. 원문은 많은 자연어 처리 과제가 BERT나 GPT 같은 트랜스포머 모델로 점점 더 성공적으로 풀리고 있다고 설명합니다. 대화 시스템에서는 시뮬레이터와 보상 설계가 여전히 어려운 문제로 남아 있으며, 시뮬레이터에서 학습한 정책이 실제 환경에서 조정되어야 한다고 지적합니다. 따라서 결론은 강화학습이 신경망 모델과 결합되어 역할을 할 가능성을 제시하는 것으로 읽어야 하며, 확정된 우위를 뜻하지 않습니다.

## 논문 정보

- **저자**: Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 4월 12일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 3월 15일
- **버전**: v3
- **arXiv**: 2104.05565
- **DOI**: 10.1007/s10462-022-10205-5
- **분류**: cs.CL · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

In recent years some researchers have explored the use of reinforcement learning (RL) algorithms as key components in the solution of various natural language processing tasks. For instance, some of these algorithms leveraging deep neural learning have found their way into conversational systems. This paper reviews the state of the art of RL methods for their possible use for different problems of natural language processing, focusing primarily on conversational systems, mainly due to their growing relevance. We provide detailed descriptions of the problems as well as discussions of why RL is well-suited to solve them. Also, we analyze the advantages and limitations of these methods. Finally, we elaborate on promising research directions in natural language processing that might benefit from reinforcement learning.

## 원문 인용

Victor Uc-Cetina, Nicolas Navarro-Guerrero, Anabel Martin-Gonzalez, Cornelius Weber, Stefan Wermter (2021). Survey on reinforcement learning for language processing. arXiv:2104.05565v3. https://doi.org/10.1007/s10462-022-10205-5

**BibTeX**

```
@article{uccetina2021survey,
  title = {{Survey on reinforcement learning for language processing}},
  author = {Victor Uc-Cetina and Nicolas Navarro-Guerrero and Anabel Martin-Gonzalez and Cornelius Weber and Stefan Wermter},
  year = {2021},
  eprint = {2104.05565},
  archivePrefix = {arXiv},
  doi = {10.1007/s10462-022-10205-5},
  url = {https://arxiv.org/abs/2104.05565v3}
}
```

## 이 논문의 용어

- [강화학습](https://refivu.com/terms/9d55ef3a06b9-reinforcement-learning)
- [Q-learning](https://refivu.com/terms/e20b416cb2f7-q-learning)
- [Markov Decision Process](https://refivu.com/terms/5d622f56f22a-markov-decision-process)
- [policy gradient](https://refivu.com/terms/abaf88e7ce4d-policy-gradient)
- [Long Short-Term Memory](https://refivu.com/terms/1eac61fff4b1-long-short-term-memory)
- [reward function](https://refivu.com/terms/54f4a5f914c0-reward-function)
- [POMDP](https://refivu.com/terms/1c9c6e27aaa2-pomdp)
- [deep Q-network](https://refivu.com/terms/2ed05d25837b-deep-q-network)
- [value function](https://refivu.com/terms/b0f3179743c8-value-function)
- [Inverse reinforcement learning](https://refivu.com/terms/c4c7ccef3a80-inverse-reinforcement-learning)
- [SARSA](https://refivu.com/terms/6d9f2c631919-sarsa)
- [exposure bias](https://refivu.com/terms/a9919ad9c1df-exposure-bias)
- [Hindsight Experience Replay](https://refivu.com/terms/9a64a4529598-hindsight-experience-replay)
- [user simulator](https://refivu.com/terms/df89c30dd2c3-user-simulator)
- [context-free grammar](https://refivu.com/terms/2f29f98f66c1-context-free-grammar)
- [bandit feedback](https://refivu.com/terms/126c2c736dd6-bandit-feedback)
- [dependency parsing](https://refivu.com/terms/aa61b2aab01e-dependency-parsing)

## 다른 논문 해설

- [REinforcement learning based Adaptive samPling: REAPing Rewards by Exploring Protein Conformational Landscapes](https://refivu.com/papers/00790c86-b5bd-4902-a4a7-caa86f282dcb-reinforcement-learning-based-adaptive-sampling-reaping.md)
- [Entropic Regularization of Markov Decision Processes](https://refivu.com/papers/2903f4ed-4260-4e2c-9e5f-b38429a08cfa-entropic-regularization-of-markov-decision-processes.md)
- [Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847-deep-reinforcement-learning-for-stochastic-computation.md)
- [Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9-inverse-reinforcement-learning-for-autonomous-navigation-via.md)
- [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)
- [Interpretable and Explainable Machine Learning for Materials Science and Chemistry](https://refivu.com/papers/77f32892-bb87-467e-b149-940994557a38-interpretable-and-explainable-machine-learning-for-materials.md)
- [Direction of Arrival Estimation Using Microphone Array Processing for Moving Humanoid Robots](https://refivu.com/papers/db619add-e076-45d5-be10-ab46fe8f2061-direction-of-arrival-estimation-using-microphone-array.md)
- [Clustering Algorithms: A Comparative Approach](https://refivu.com/papers/49073458-c398-4adb-b4eb-f71401de6b77-clustering-algorithms-a-comparative-approach.md)
- [Supervised machine learning based multi-task artificial intelligence classification of retinopathies](https://refivu.com/papers/048e9106-d566-400b-b9be-3b44bf441ef4-supervised-machine-learning-based-multi-task-artificial.md)
- [Neural Networks for Modeling and Control of Particle Accelerators](https://refivu.com/papers/1aeabac7-e3d5-4f7b-ac66-947590e3a0a8-neural-networks-for-modeling-and-control-of-particle.md)
- [Automated design of collective variables using supervised machine learning](https://refivu.com/papers/a5699ac3-7d7b-44da-8ae7-ce56494b9c46-automated-design-of-collective-variables-using-supervised.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/21719d98-3b47-479f-8d30-6d7d6092738b-survey-on-reinforcement-learning-for-language-processing)
