논문 해설
Retrieval Augmentation for Commonsense Reasoning: A Unified Approach
상식 추론을 위한 검색 증강: 통합적 접근
- 연구 문제 상식 추론에서는 백과사전식 검색 증강을 그대로 쓰기 어렵고, 대규모 상식 코퍼스와 상식용 검색기가 필요합니다.
- 연구 방법 여러 출처의 2천만 개 이상 상식 문서를 모아 DPR 방식의 검색기와 FiD 리더를 결합하며, 정답이 문서에 없는 과제를 위해 설명문과 정답 출력을 positive 문서로 쓰는 학습 쌍을 구성합니다.
- 주요 결과 네 계열 상식 과제에서 검색 증강 방식이 입력만 쓰는 기준선보다 높은 성능을 보고하며, 상식용 검색기가 위키피디아 DPR과 BM25보다 높은 검색 정확도를 보입니다.
상식 추론에 검색을 붙이기 어려운 이유
기존 검색 증강 방법은 주로 위키피디아 같은 백과사전 지식을 검색하며, 개체와 관계가 잘 정의된 공간을 대상으로 합니다. 이 논문은 상식 추론 과제에도 같은 방식을 적용하기 어려운 두 가지 문제를 지적합니다. 첫째, 상식 추론을 위한 대규모 일반 검색 코퍼스가 없습니다. 둘째, 상식 지식에 맞는 효과적인 검색기가 없습니다. 언어 모델은 많은 지식을 파라미터에 저장하지만, 무엇이 저장되었고 무엇이 잊혔는지 알기 어렵고 저장 용량도 모델 크기에 묶입니다. 이 논문은 이러한 배경에서 상식 지식을 검색해 상식 추론 과제를 개선하는 방법을 체계적으로 다룹니다.

Table 1 : Comparison of RAC O to a few recent commonsense retrieval works in the field. Our work provides a more comprehensive and larger-scale multi-source commonsense corpus that can generalize to various tasks.
원문 · CC BY 4.0 · Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang · Retrieval Augmentation for Commonsense Reasoning: A Unified Approach · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.RACO의 코퍼스·검색기·리더 구성
RACO는 상식 문서 검색기와 문서 리더로 구성됩니다. 검색용 코퍼스는 사람이 주석한 사실(HAF), 상식 벤치마크 데이터의 학습 데이터(CBD), 웹에서 필터링한 상식 관련 진술(CRC) 세 출처에서 모아 2천만 개 이상의 문서를 구성합니다. 검색기는 DPR 방식을 따라 질의와 문서를 각각 BERT로 인코딩하고, [CLS] 표현 사이의 내적으로 관련성을 계산합니다. 리더는 FiD 방식으로, 각 검색 문서를 입력 텍스트와 이어 T5 인코더로 독립 인코딩한 뒤 T5 디코더가 모든 문서 표현에 교차 어텐션을 수행합니다. 정답이 검색 문서의 부분 문자열이 아닌 상식 과제에서는 DPR처럼 정답 포함 문서를 positive로 쓸 수 없으므로, 저자들은 생성 설명문이나 정답 출력을 positive 문서로 쓰는 학습 쌍 구성 전략을 제안합니다.
negative는 같은 배치의 다른 문서를 사용합니다.

Figure 1 : RAC O has two major components: (i) a doc- ument retriever and (ii) a document reader. Specifically, the document retriever aims to fetch a handful of rele- vant documents from a large document collections. The document reader takes the input text, as well as the sup- port documents to produce the desired output.
원문 · CC BY 4.0 · Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang · Retrieval Augmentation for Commonsense Reasoning: A Unified Approach · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Table 2 : Statistics for the commonsense corpus. The total size of these corpora exceeds 20M documents.
원문 · CC BY 4.0 · Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang · Retrieval Augmentation for Commonsense Reasoning: A Unified Approach · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.과제와 비교 기준
실험은 객관식 질의응답(CSQA1.0, OBQA), 상식 사실 검증(CSQA2.0, CREAK), 제약 상식 생성(Commongen), 반사실 설명 생성(ComVE) 네 계열에서 이루어집니다. 객관식 과제와 사실 검증은 정확도를, Commongen과 ComVE는 SPICE, BLEU-4, ROUGE-L, CIDEr 등을 보고하며 Commongen은 SPICE, ComVE는 BLEU-4를 주 지표로 둡니다. 비교 기준은 검색 없이 입력만 쓰는 T5와 BART, 상식 인식 언어 모델인 UNICORN과 CALM, 지식 그래프 기반 모델, 그리고 BM25로 검색한 뒤 FiD를 쓰는 설정입니다. 검색 정확도는 OBQA와 CSQA1.0 dev 세트에서 Hit@5와 Hit@10으로 측정하며 DPRWiki와 DPRRACo를 함께 비교합니다.
주요 결과와 해석 범위
검색을 쓰지 않은 T5나 BART와 비교하면 RACO는 생성 과제와 객관식 과제 모두에서 높은 점수를 보고합니다. 저자들은 BLEU-4 향상폭을 +8.44%로 보고하며, 객관식 과제에서는 +5.43%, 사실 검증에서는 +6.15%의 향상을 보고합니다. CREAK에서 RACO의 정확도는 84.17이고 BM25+FiD는 83.03입니다. 검색기 비교에서는 DPRWiki가 CSQA1.0과 OBQA의 Hit@5, Hit@10에서 가장 낮고, 상식 코퍼스로 학습한 DPRRACo가 BM25보다 크게 높습니다. 이 결과는 해당 데이터셋과 지표에서 얻은 것이며, 다른 모델이나 과제로 그대로 일반화할 수는 없습니다.

Table 3 : Compared with commonsense-aware language models (CLM) and knowledge graph reasoning models (KGR) counterparts, our retrieval-augmented commonsense reasoning (RACO) can outperform the baseline meth- ods and achieved state-of-the-art performance on the CommonGen and ComVE benchmarks. *: primary metric.
원문 · CC BY 4.0 · Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang · Retrieval Augmentation for Commonsense Reasoning: A Unified Approach · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 5 : RAC O outperforms the baseline methods and achieved state-of-the-art performance on the CREAK.
원문 · CC BY 4.0 · Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang · Retrieval Augmentation for Commonsense Reasoning: A Unified Approach · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 6 : Retrieval accuracy on dev sets, measured as the percentage of retrieved documents that contain the ground truth document, which is annotated in Mihaylov et al. (2018); Aggarwal et al. (2021). In addition, DPRWiki directly uses the DPR trained on Wikipedia for commonsense retrieval without any fine-tuning pro- cess. DPRRACo trains the commonsense dense retrieval using our proposed training pairs construction strategy.
원문 · CC BY 4.0 · Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang · Retrieval Augmentation for Commonsense Reasoning: A Unified Approach · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.비용과 잡음의 한계
저자들은 두 가지 한계를 밝힙니다. 첫째, RACO는 대규모 코퍼스에서 문서를 검색한 뒤 예측하므로 T5나 UNICORN보다 더 많은 시간과 계산 자원을 씁니다. 둘째, 상식 지식이 여러 출처에서 오기 때문에 검색된 증거에 잡음이 섞일 수 있으며, 이 잡음이 성능을 떨어뜨릴 수 있습니다. 검색 문서 수를 늘리면 BLEU-4는 일정 수준 이후 유지되거나 SPICE는 감소하는 경향이 보고되어, 문서 수 선택에도 계산 비용과의 절충이 있습니다. 저자들은 세밀한 필터링이나 재순위화 모듈을 향후 과제로 제시합니다.
논문 정보
- 저자
- Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2022년 10월 23일
- 등록일
- 2026년 11월 5일
- 수정일
- 2022년 10월 23일
- 버전
- v1
- arXiv
- 2210.12887
- 분류
- cs.CL · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
A common thread of retrieval-augmented methods in the existing literature focuses on retrieving encyclopedic knowledge, such as Wikipedia, which facilitates well-defined entity and relation spaces that can be modeled. However, applying such methods to commonsense reasoning tasks faces two unique challenges, i.e., the lack of a general large-scale corpus for retrieval and a corresponding effective commonsense retriever. In this paper, we systematically investigate how to leverage commonsense knowledge retrieval to improve commonsense reasoning tasks. We proposed a unified framework of retrieval-augmented commonsense reasoning (called RACo), including a newly constructed commonsense corpus with over 20 million documents and novel strategies for training a commonsense retriever. We conducted experiments on four different commonsense reasoning tasks. Extensive evaluation results showed that our proposed RACo can significantly outperform other knowledge-enhanced method counterparts, achieving new SoTA performance on the CommonGen and CREAK leaderboards.
원문 인용
Wenhao Yu, Chenguang Zhu, Zhihan Zhang, Shuohang Wang, Zhuosheng Zhang, Yuwei Fang, Meng Jiang (2022). Retrieval Augmentation for Commonsense Reasoning: A Unified Approach. arXiv:2210.12887v1. https://arxiv.org/abs/2210.12887v1
BibTeX
@misc{yu2022retrieval,
title = {{Retrieval Augmentation for Commonsense Reasoning: A Unified Approach}},
author = {Wenhao Yu and Chenguang Zhu and Zhihan Zhang and Shuohang Wang and Zhuosheng Zhang and Yuwei Fang and Meng Jiang},
year = {2022},
eprint = {2210.12887},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2210.12887v1}
}