# Self-Supervised Dialogue Learning

자기 지도 대화 학습

Jiawei Wu, Xin Wang, William Yang Wang · arXiv · 2019년 6월 30일

- **연구 문제** 대화 시스템은 발화 순서가 일관성을 나타내는 신호임에도 기존 방식에서 이를 명시적으로 학습하지 못했습니다.
- **연구 방법** 발화 순서를 맞히는 자기지도 과제를 정의하고, 이전 대화 이력에서 샘플링한 triple 참조를 쓰는 SSN으로 순서 불일치를 예측합니다.
- **주요 결과** 내재 평가에서 정렬된 참조와 잘못 정렬된 참조를 함께 쓴 설정이 .856 (.017)로 가장 높았고, 개방형 생성과 과제 지향 정책 실험에서도 SSN 기반 방법이 비교 기준보다 높은 값을 보고했습니다.

## 대화 순서를 학습 신호로 쓰는 문제

기존 신경 대화 시스템은 대화 이력 전체를 계층적으로 인코딩하거나 현재 발화만 보는 방식으로 학습해 왔습니다. 이 논문은 발화의 순서 자체가 대화의 일관성을 나타내는 중요한 신호인데도 기존 방식이 이를 명시적으로 모델링하지 않는다고 지적합니다. 따라서 대화 순서를 맞히는 자기지도 과제인 inconsistent order detection을 제안합니다. 이 과제는 발화 쌍 triple이 올바른 순서인지 잘못된 순서인지 예측하는 문제입니다. 저자들은 긴 이력을 직접 인코딩하면 마지막 발화에 집중하고 앞선 정보가 많이 사라진다는 선행 연구의 관찰을 이 문제의 동기로 제시합니다.

## 샘플링 기반 SSN의 구조

SSN은 대상 triple과 이전 대화 이력에서 샘플링한 두 개의 triple 참조 T′와 T′′를 함께 입력으로 받습니다. 각 발화 쌍 (Qt,At)은 Utterance Pair Encoder에서 질문과 응답을 연결한 시퀀스를 bi-LSTM에 넣어 얻은 임베딩으로 바뀝니다. 이어 Order Reasoning Layer는 세 발화 쌍의 임베딩을 3단계 bi-LSTM에 넣고 양방향 max-pooling으로 triple 임베딩을 만듭니다. 세 triple 임베딩을 이어 붙인 값은 다층 퍼셉트론을 거쳐 p(T\|T′,T′′)를 출력하며, 이 확률은 정렬된 triple에서 0에 가깝고 잘못 정렬된 triple에서 1에 가깝습니다.

참조 샘플링은 매 반복마다 달라지므로 같은 대상 triple에 대해서도 서로 다른 이력 문맥이 주어집니다. 저자들은 이 샘플링이 전체 대화 이력을 직접 인코딩할 때의 망각 문제를 피하면서 문맥을 근사한다고 설명합니다.

![Figure 1: The overview of our self-supervised network (SSN ) for inconsistent order detection. Given a target triple containing the current utterance pair (Qt,…](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5/figures/figure-328b019d914979b287c71260c137018e.png?thumb=512)

**Figure 1** : The overview of our self-supervised network (SSN ) for inconsistent order detection. Given a target triple containing the current utterance pair (Qt,A t) to be predicted, (a) we ﬁrst sample triple references from previous dialogue history{(Q1,A 1),··· , (Qt−1,A t−1)} in each iteration. The references can be ordered or misordered. (b) For each triple, it is transformed into the triple embedding. The concatenation of triple embeddings is fed into a MLP, and gives the probability based on the current sampling.

[원문](https://arxiv.org/abs/1907.00448v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiawei Wu, Xin Wang, William Yang Wang · Self-Supervised Dialogue Learning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 여러 번 샘플링한 손실과 대화 시스템 연결

학습 손실은 대상 triple에 대한 이진 교차 엔트로피로 정의되며, 같은 대상 triple의 참조를 m번 샘플링하여 평균하는 Monte Carlo 근사로 확장됩니다. 대화 시스템에 적용할 때는 대상 triple 대신 생성된 발화 At를 포함한 잘못 정렬된 triple을 샘플링하고, SSN이 그 잘못된 순서를 얼마나 쉽게 찾는지를 p\*SSN으로 측정합니다. 이 값은 생성 발화의 품질 신호로 쓰이며, 적대적 학습에서 생성기 G는 이 신호를 보상으로 받습니다. 개방형 대화에서는 REINFORCE로 G를 갱신하고, 과제 지향 대화에서는 세계 모델을 다중 작업 학습으로 갱신하면서 SSN 목적함수를 미니배치 형태로 씁니다.

![Figure 2: The general framework for dialogue learning with self-supervised network](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5/figures/figure-77a085ae865e5c1b58c92c5a661838a5.png?thumb=512)

**Figure 2** : The general framework for dialogue learning with self-supervised network.

[원문](https://arxiv.org/abs/1907.00448v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiawei Wu, Xin Wang, William Yang Wang · Self-Supervised Dialogue Learning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 내재 평가에서 참조 구성의 효과

내재 평가는 OpenSubtitles에서 40K 균형 triple로 학습하고 1K 균형 triple로 테스트하는 2-class 분류 설정입니다. 기준 모델은 전체 이력을 계층적 LSTM으로 인코딩한 방식이며, 평균 정확도는 .694 (.006)입니다. 대상 triple만 쓰는 경우는 .670 (.011)이고, 순서가 맞는 참조 2개는 .740 (.031), 잘못된 참조 2개는 .744 (.029)입니다. 정렬된 참조와 잘못 정렬된 참조를 하나씩 쓴 설정은 .856 (.017)로 가장 높았습니다. 이 결과는 5회 실행의 평균과 편차이며, 이 조합을 이후 실험의 기본 설정으로 사용했습니다. 저자들은 계층적 LSTM이 이 과제에 크게 유리하지 않으며 마지막 두 발화만 의미 있게 쓰는 선행 관찰과 맞는다고 해석합니다.

![Table 1: The intrinsic evaluation results. The num- bers in brackets stand for deviation. Refers: Reference Triples](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5/figures/figure-923743e045419f3141acc8e129b02001.png?thumb=512)

**Table 1** : The intrinsic evaluation results. The num- bers in brackets stand for deviation. Refers: Reference Triples.

[원문](https://arxiv.org/abs/1907.00448v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiawei Wu, Xin Wang, William Yang Wang · Self-Supervised Dialogue Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 개방형 대화 생성 평가

개방형 대화 실험은 OpenSubtitles에서 REGS, AEL과 비교한 적대적 학습 설정입니다. 생성기는 SEQ2SEQ 모델이며 REINFORCE와 Monte Carlo 탐색으로 보상을 얻습니다. 적대적 성공률 AdverSuc는 생성기가 판별기를 속이는 비율이고, 교차 평가에서 SSN 기반 생성기는 세 판별기 모두에서 더 높은 값을 보였습니다. distinct-1과 distinct-2는 생성 응답의 서로 다른 unigram과 bigram 수로 다양성을 측정하며, 이 논문에서 SSN의 값이 가장 높았습니다. 인간 평가에서는 SSN이 단일 턴에서 .713, 다중 턴에서 .804의 비율로 선택되었습니다.

이 인간 평가 결과는 p\<0.01의 sign test로 보고되었으며, 저자들은 다중 턴 설정에서 차이가 더 크다고 해석합니다.

![Table 3: The automatic evaluation of generated utter- ances on distinct-1 and distinct-2 metrics. Please refer to Section 4.2 Automatic Evaluation for explanat…](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5/figures/figure-2cd2a56dc5f6f55c2ce15d5f509bd6e4.png?thumb=512)

**Table 3** : The automatic evaluation of generated utter- ances on distinct-1 and distinct-2 metrics. Please refer to Section 4.2 Automatic Evaluation for explanations.

[원문](https://arxiv.org/abs/1907.00448v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiawei Wu, Xin Wang, William Yang Wang · Self-Supervised Dialogue Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 4: The human evaluation of generated utterances in three methods. The result here is statistically signif- icant withp\< 0.01 according to sign test. Plea…](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5/figures/figure-799fb98b3debb2bdfab3eaa40a645215.png?thumb=512)

**Table 4** : The human evaluation of generated utterances in three methods. The result here is statistically signif- icant withp\< 0.01 according to sign test. Please refer to Section 4.2 Human Evaluation for explanations.

[원문](https://arxiv.org/abs/1907.00448v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiawei Wu, Xin Wang, William Yang Wang · Self-Supervised Dialogue Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 과제 지향 대화 정책 평가

과제 지향 실험에서는 D3Q의 판별기를 SSN으로 바꾼 D3Q-SSN을 Movie-Ticket Booking 데이터셋에서 비교합니다. D3Q는 계획 단계에서 모의 사용자 경험을 판별기로 점수화하는 방법입니다. 계획 단계가 5일 때 Epoch 200에서 D3Q의 성공률은 .6800, D3Q-SSN은 .7400이었습니다. 계획 단계가 10일 때 Epoch 200에서 D3Q는 .7000, D3Q-SSN은 .8733이었고, 저자들은 계획 단계가 늘어도 SSN 기반 방법이 상대적으로 더 잘 유지된다고 해석합니다. 이 결과는 3회 실행, 각 실행당 50개 대화의 평균이며 특정 데이터셋과 D3Q 설정에서 얻은 값입니다.

![Table 5: The experimental results of different dialogue agents at training epoch = {100, 200, 300}. Each number is averaged over 3 runs, and each run tested on…](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5/figures/figure-e505a354ffa81665b138a6bf7f55b2b2.png?thumb=512)

**Table 5** : The experimental results of different dialogue agents at training epoch = {100, 200, 300}. Each number is averaged over 3 runs, and each run tested on 50 dialogues. The D3Q- SSN denotes the D3Q agent where our proposedSSN replaces the discriminator. The “ﬁxed θD/θSSN ” indicates the discriminator/SSN is pre-trained and ﬁxed during the training process. Succ: Success Rate. Reward: Average Reward. Turns: Average Turns.

[원문](https://arxiv.org/abs/1907.00448v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jiawei Wu, Xin Wang, William Yang Wang · Self-Supervised Dialogue Learning · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 질문

이 결과는 OpenSubtitles의 내재 평가 설정, 특정 SEQ2SEQ 생성기, Movie-Ticket Booking 데이터셋과 D3Q 설정에서 얻은 것입니다. 내재 평가의 최고 정확도는 40K 균형 triple로 학습하고 1K 균형 triple로 테스트한 2-class 설정에서 나온 값이므로 다른 대화 데이터나 다른 과제로 바로 일반화할 수 없습니다. 참조 조합은 여러 전략을 비교했지만 최종 실험에는 정렬된 참조와 잘못 정렬된 참조를 하나씩 쓰는 한 설정만 사용되었습니다. 또한 이 논문은 SSN이 순서를 명시적으로 포착하는 기능을 직접 측정하는 대신, 생성 품질과 정책 성능을 통해 그 효과를 간접적으로 보여 줍니다.

## 논문 정보

- **저자**: Jiawei Wu, Xin Wang, William Yang Wang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2019년 6월 30일
- **등록일**: 2026년 11월 5일
- **수정일**: 2019년 6월 30일
- **버전**: v1
- **arXiv**: 1907.00448
- **분류**: cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

The sequential order of utterances is often meaningful in coherent dialogues, and the order changes of utterances could lead to low-quality and incoherent conversations. We consider the order information as a crucial supervised signal for dialogue learning, which, however, has been neglected by many previous dialogue systems. Therefore, in this paper, we introduce a self-supervised learning task, inconsistent order detection, to explicitly capture the flow of conversation in dialogues. Given a sampled utterance pair triple, the task is to predict whether it is ordered or misordered. Then we propose a sampling-based self-supervised network SSN to perform the prediction with sampled triple references from previous dialogue history. Furthermore, we design a joint learning framework where SSN can guide the dialogue systems towards more coherent and relevant dialogue learning through adversarial training. We demonstrate that the proposed methods can be applied to both open-domain and task-oriented dialogue scenarios, and achieve the new state-of-the-art performance on the OpenSubtitiles and Movie-Ticket Booking datasets.

## 원문 인용

Jiawei Wu, Xin Wang, William Yang Wang (2019). Self-Supervised Dialogue Learning. arXiv:1907.00448v1. https://arxiv.org/abs/1907.00448v1

**BibTeX**

```
@misc{wu2019self,
  title = {{Self-Supervised Dialogue Learning}},
  author = {Jiawei Wu and Xin Wang and William Yang Wang},
  year = {2019},
  eprint = {1907.00448},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.00448v1}
}
```

## 이 논문의 용어

- [adversarial training](https://refivu.com/terms/79bc85d56747-adversarial-training)
- [Bidirectional Long short-term memory network](https://refivu.com/terms/d8be5708fa8d-bidirectional-long-short-term-memory-network)
- [distinct-1](https://refivu.com/terms/1259a4372c84-distinct-1)
- [distinct-2](https://refivu.com/terms/b7b1e08c27aa-distinct-2)
- [Monte Carlo search](https://refivu.com/terms/0ea27576407a-monte-carlo-search)
- [OpenSubtitles](https://refivu.com/terms/8b6ef67fc721-opensubtitles)
- [task-oriented dialogue](https://refivu.com/terms/d9c6dd15684c-task-oriented-dialogue)

## 다른 논문 해설

- [Multi-task Self-Supervised Learning for Human Activity Detection](https://refivu.com/papers/ae7c537d-33fb-4fec-8014-37dab4536341-multi-task-self-supervised-learning-for-human-activity.md)
- [What the Primary Lund Plane Omits: A Model-Stitching Diagnosis of a Jet-Tagger Representation Gap](https://refivu.com/papers/e6515897-dd9b-48a8-a331-7565d046c210-what-the-primary-lund-plane-omits-a-model.md)
- [Self-Supervised Coarsening of Unstructured Grid with Automatic Differentiation](https://refivu.com/papers/1b96659b-a7e5-4ef1-bc85-572a343df7f3-self-supervised-coarsening-of-unstructured-grid-with.md)
- [Towards a General Time Series Forecasting Model with Unified Representation and Adaptive Transfer](https://refivu.com/papers/7876f6d2-a5fe-4260-be88-ef1b85fea412-towards-a-general-time-series-forecasting-model-with.md)
- [Causal Abstraction Inference under Lossy Representations](https://refivu.com/papers/1b02f588-6f46-499e-b0de-c27b169c7c79-causal-abstraction-inference-under-lossy-representations.md)
- [The Hidden Link Between RLHF and Contrastive Learning](https://refivu.com/papers/3fea3af0-2676-4a6a-87fb-1e85dc08f329-the-hidden-link-between-rlhf-and-contrastive-learning.md)
- [Learning Problem-agnostic Speech Representations from Multiple Self-supervised Tasks](https://refivu.com/papers/a1a919cd-efff-487c-86c6-982c7afc65eb-learning-problem-agnostic-speech-representations-from.md)
- [Self-supervised Learning for Video Correspondence Flow](https://refivu.com/papers/d2ae4b57-a428-492b-868a-3490e48aa23c-self-supervised-learning-for-video-correspondence-flow.md)
- [Cross and Learn: Cross-Modal Self-Supervision](https://refivu.com/papers/18ecb70d-a775-4259-907c-5b31a98ea5d3-cross-and-learn-cross-modal-self-supervision.md)
- [Symmetric Models for Visual Force Policy Learning](https://refivu.com/papers/76bc93e8-75f0-4647-ab90-b6ca5d96e963-symmetric-models-for-visual-force-policy-learning.md)
- [Information-driven Affordance Discovery for Efficient Robotic Manipulation](https://refivu.com/papers/d3dd9d8c-8c5e-4cdb-adc3-1227caa6367b-information-driven-affordance-discovery-for-efficient.md)
- [Dexterous Robotic Manipulation using Deep Reinforcement Learning and Knowledge Transfer for Complex Sparse Reward-based Tasks](https://refivu.com/papers/6d069b8d-48ae-48a4-a67c-c86a8aa48146-dexterous-robotic-manipulation-using-deep-reinforcement.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5-self-supervised-dialogue-learning)
