Skip to main content
QUICK REVIEW

[논문 리뷰] Match-Ignition: Plugging PageRank into Transformer for Long-form Text Matching

Liang Pang, Yanyan Lan|arXiv (Cornell University)|2021. 01. 16.
Topic Modeling참고 문헌 33인용 수 9
한 줄 요약

Match-Ignition는 텍스트 매칭 성능을 햖थ기 위해 트랜스포머 아키텍처에 PageRank를 통합한 계층적 노이즈 필터링 프레임워크를 제안한다. 유사도 점수와 주의 점수를 바탕으로 문장 및 단어 그래프를 구성하고, PageRank를 적용하여 핵심 콘텐츠를 식별함으로써, 장문 텍스트 매칭 작업에서 뛰어난 성능과 효율성을 달성한다.

ABSTRACT

Neural text matching models have been widely used in community question answering, information retrieval, and dialogue. However, these models designed for short texts cannot well address the long-form text matching problem, because there are many contexts in long-form texts can not be directly aligned with each other, and it is difficult for existing models to capture the key matching signals from such noisy data. Besides, these models are computationally expensive for simply use all textual data indiscriminately. To tackle the effectiveness and efficiency problem, we propose a novel hierarchical noise filtering model, namely Match-Ignition. The main idea is to plug the well-known PageRank algorithm into the Transformer, to identify and filter both sentence and word level noisy information in the matching process. Noisy sentences are usually easy to detect because previous work has shown that their similarity can be explicitly evaluated by the word overlapping, so we directly use PageRank to filter such information based on a sentence similarity graph. Unlike sentences, words rely on their contexts to express concrete meanings, so we propose to jointly learn the filtering and matching process, to well capture the critical word-level matching signals. Specifically, a word graph is first built based on the attention scores in each self-attention block of Transformer, and key words are then selected by applying PageRank on this graph. In this way, noisy words will be filtered out layer by layer in the matching process. Experimental results show that Match-Ignition outperforms both SOTA short text matching models and recent long-form text matching models. We also conduct detailed analysis to show that Match-Ignition efficiently captures important sentences and words, to facilitate the long-form text matching process.

연구 동기 및 목표

  • 기존의 짧은 텍스트 전용 모델이 희박한 정렬 신호와 높은 계산 비용으로 인해 장문 텍스트의 노이즈 문제를 해결하지 못하는 상황에서, 장문 텍스트의 의미적 매칭 과제에서 노이즈 문제를 해결한다.
  • 문장 및 단어 수준의 관련 없는 콘텐츠를 식별하고 필터링하여 장문 텍스트 매칭의 효과성과 효율성을 향상시킨다.
  • PageRank 알고리즘을 활용해 트랜스포머 기반 아키텍처 내에서 문장 및 단어 수준의 노이즈를 체계적으로 탐지하고 억제한다.
  • 그래프 기반 순위 매겨짐을 통해 구조적이고 의미적으로 중요한 구성 요소에 집중함으로써 장문 텍스트의 전반적인 의미를 더 잘 포착할 수 있도록 한다.
  • 지능적인 필터링을 통해 계산 오버헤드를 줄이며, 짧은 텍스트 모델과 최근 장문 텍스트 매칭 모델보다 뛰어난 성능을 달성한다.

제안 방법

  • 문장 간 어휘 일치도(예: 재난 유사도)를 기반으로 문장 유사도 그래프를 구성하고, PageRank를 적용하여 중요도가 낮은 문장을 식별하고 제거한다.
  • 트랜스포머의 각 자체주의 블록 내에서 주의 점수를 간선 가중치로 사용해 단어 수준의 그래프를 구축하고, 각 레이어마다 동적 그래프를 형성한다.
  • 단어 그래프에 PageRank를 적용하여 각 단어의 중요도 점수를 계산하고, 레이어 간에 점진적인 중요도가 낮은 단어의 필터링을 가능하게 한다.
  • 필터링 프로세스를 트랜스포머 인코더에 통합하여, 문장 수준의 필터링을 먼저 수행하고 단어 수준의 필터링을 이어가며 계산 부담을 줄인다.
  • 각 레이어에서 필터링되는 단어 비율을 제어하기 위해 학습 가능한 감소 비율(α)을 사용하며, α=10%일 때 최적의 성능을 기록한다.
  • 표준 자체주의 주의 메커니즘과 필터링 메커니즘을 통합하여, 종단 간 방식으로 필터링 신호와 매칭 신호를 동시에 학습할 수 있도록 한다.
Figure 1. The top example is a short-form text matching for the paraphrasing identification, and the lines indicate the alignments between words from two sentences. The bottom example is a long-form text matching for the redundancy news identification, and the highlights indicate the important match
Figure 1. The top example is a short-form text matching for the paraphrasing identification, and the lines indicate the alignments between words from two sentences. The bottom example is a long-form text matching for the redundancy news identification, and the highlights indicate the important match

실험 결과

연구 질문

  • RQ1문장 유사도 그래프를 기반으로 PageRank가 장문 텍스트 매칭에서 노이즈가 많은 문장을 효과적으로 식별하고 필터링할 수 있는가?
  • RQ2주의 점수에서 유도된 동적 단어 그래프를 구성하고, 계층적으로 PageRank를 적용함으로써 단어 수준의 노이즈를 효과적으로 필터링할 수 있는가?
  • RQ3표준 트랜스포머와 비교했을 때, 문장과 단어의 계층적 필터링이 장문 텍스트 매칭 작업의 성능 향상에 기여하는가?
  • RQ4제안된 필터링 메커니즘이 추론 속도와 학습 시간 측면에서 계산 효율성에 어떤 영향을 미치는가?
  • RQ5장문 텍스트 매칭 맥락에서 필터링 비율과 성능 간 최적의 균형은 무엇인가?

주요 결과

  • Match-Ignition는 일곱 개인 공개 장문 텍스트 매칭 데이터셋에서 최신 기술(SOTA) 성능을 달성하며, 짧은 텍스트 모델과 최근 장문 텍스트 매칭 모델 모두를 능가한다.
  • α=10%의 단어 감소 비율을 가진 모델이 CNSE 및 CNSS 데이터셋에서 최고의 성능을 기록하여, 정확도를 훼손하지 않으면서 최적의 노이즈 필터링이 이루어졌음을 확인한다.
  • α=20%일 경우, 학습 시 1.6배 빠르고 추론 시 2배 빠른 성능 향상을 보이며, 뚜렷한 효율성 향상을 입증한다.
  • PageRank 기반의 단어 필터링은 무작위 선택 및 임베딩 노름 기반 전략보다 우수하며, 주의 점수만 사용하는 것보다도 더 효과적이며, 그래프 전파의 가치를 확인한다.
  • 시각화 결과에서 이벤트 발생 장소나 정책명과 같은 핵심 용어가 높은 중요도 점수를 확보함으로써 인간 레이블링과 일치함을 확인한다.
  • 특수 토큰인 [CLS]와 [SEP]이 매우 중요하게 식별되어, 장문 텍스트 매칭에서 글로벌 및 구조적 마커로서의 역할을 확인한다.
Figure 2. The overall architecture of Match-Ignition. (a) represents the sentence-level filter, (b) represents the outputs of the sentence-level filter, and (c) represents the word-level filter.
Figure 2. The overall architecture of Match-Ignition. (a) represents the sentence-level filter, (b) represents the outputs of the sentence-level filter, and (c) represents the word-level filter.

더 나은 연구,지금 바로 시작하세요

논문 읽기부터 검토까지, 연구 시간을 획기적으로 줄여보세요.

카드 등록 없음 · 무료 플랜 제공

이 리뷰는 AI가 만들고, 인간 에디터가 검토했습니다.