Information Extraction (IE) plays a pivotal role in transforming unstructured data into structured formats, such as Knowledge Graphs. One of the main tasks within IE is Relation Extraction (RE), which identifies relations between entities in text data. This process enriches the semantic understanding of documents, enabling more precise information retrieval and query answering. Recent works leveraging pre-trained language models have demonstrated significant performance improvements in RE. In the current era of Large Language Models (LLMs), fine-tuning these LLMs can mitigate the limitations of zero-shot RE methods, particularly in overcoming the domain adaptation challenges inherent in RE. This work explores not only the effectiveness of fine-tuned LLMs but also their integration into a Retrieval-Augmented Generation (RAG)-based RE approach to address domain adaptation challenges when general-purpose LLMs serve as generators within the RAG framework. Empirical evaluations on the TACRED, TACRED-Revisited (TACREV), and Re-TACRED datasets reveal substantial performance improvements with fine-tuned LLMs, such as Llama2-7B, Mistral-7B, and Flan-T5 Large and surpass previous methods on these datasets.
검색된 컨텍스트는 길고 잡음이 많으며 중복되는 경우가 많아, 답변 생성에 앞서 질의 인식 압축이 필요하다. 네이티브 어텐션은 컨텍스트 선택을 위한 신호를 제공하지만, 헤드마다 동작이 이질적이어서 이를 문장 유용도 점수로 직접 집계하기가 복잡하다. 본 논문은 층과 헤드에 걸친 부호 있는 선형 리드아웃을 통해 이러한 신호를 결합하도록 학습하는 문장 수준 압축기 Sentinel을 제안한다. 기존 QA 근거 주석을 사용하여 리드아웃만 학습하며, 백본은 고정된 상태로 유지되고 문장 점수 산정에는 자기회귀 생성이 필요하지 않다. 12개의 LongBench 과제 전반에서, 0.5B 백본을 사용하는 Sentinel은 2,000 토큰 예산 조건에서 Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, DeepSeek V4.1 Flash의 세 리더 각각에 대해 여러 과제에서 전체 컨텍스트(Full Context)보다 우수한 성능을 보인다. 영어 전용 QA 지도만 사용했음에도 동일한 리드아웃이 과제별 재학습 없이 중국어 과제로 전이된다. 길이별 계층화 프로파일링에서도 LLMLingua-2 및 CPC보다 압축 지연 시간과 GPU 메모리 사용량이 더 낮음을 확인했다.
신경 언어 모델이 NLP 벤치마크 과제에서 인간 수준의 성능에 근접함에 따라, 그 발전은 점점 더 복잡한 통사 이해의 증거로 널리 여겨진다. 이러한 견해는 아직 실증적으로 검증되지 않은 가설, 즉 어순이 이러한 과제를 수행하는 데 필수적인 의미를 부호화한다는 가설에 기반한다. 우리는 많은 경우에 이 가설을 반박한다. GLUE 모음과 다양한 장르의 영어 텍스트에서, 문장이나 구의 단어들을 순열하여 실질적으로 다른 정보를 담은 구를 만들 수 있는 경우는 드물다. 이 놀라운 결과는 고정된 언어 모델 하에서 가능도가 가장 높은 단어 모음의 순서를 찾는 새롭고 효율적인 절차인 반복적 셔플링에 의한 추론(inference by iterative shuffling, IBIS)에 의존한다. IBIS는 추가 학습 없이 임의의 블랙박스 모델을 사용할 수 있으며 기존 단어 순서화 알고리즘보다 우수하다. 이러한 발견을 종합하여, IBIS와 같은 셔플링 추론 절차가 언어 모델링과 제약 생성에 어떻게 도움이 될 수 있는지 논의한다.