Retrieval-augmented generation models have shown state-of-the-art performance across many knowledge-intensive NLP tasks such as open question answering and fact verification. These models are trained to generate the final output given the retrieved passages, which can be irrelevant to the original query, leading to learning spurious cues or answer memorization. This work introduces a method to incorporate the evidentiality of passages -- whether a passage contains correct evidence to support the output -- into training the generator. We introduce a multi-task learning framework to jointly generate the final output and predict the evidentiality of each passage, leveraging a new task-agnostic method to obtain silver evidentiality labels for supervision. Our experiments on five datasets across three knowledge-intensive tasks show that our new evidentiality-guided generator significantly outperforms its direct counterpart with the same-size model and advances the state of the art on FaVIQ-Ambig. We attribute these improvements to both the auxiliary multi-task learning and silver evidentiality mining techniques.
We propose a novel problem within end-to-end learning of task-oriented dialogs (TOD), in which the dialog system mimics a troubleshooting agent who helps a user by diagnosing their problem (e.g., car not starting). Such dialogs are grounded in domain-specific flowcharts, which the agent is supposed to follow during the conversation. Our task exposes novel technical challenges for neural TOD, such as grounding an utterance to the flowchart without explicit annotation, referring to additional manual pages when user asks a clarification question, and ability to follow unseen flowcharts at test time. We release a dataset (FloDial) consisting of 2,738 dialogs grounded on 12 different troubleshooting flowcharts. We also design a neural model, FloNet, which uses a retrieval-augmented generation architecture to train the dialog agent. Our experiments find that FloNet can do zero-shot transfer to unseen flowcharts, and sets a strong baseline for future research.
Measuring event salience is essential in the understanding of stories. This paper takes a recent unsupervised method for salience detection derived from Barthes Cardinal Functions and theories of surprise and applies it to longer narrative forms. We improve the standard transformer language model by incorporating an external knowledgebase (derived from Retrieval Augmented Generation) and adding a memory mechanism to enhance performance on longer works. We use a novel approach to derive salience annotation using chapter-aligned summaries from the Shmoop corpus for classic literary works. Our evaluation against this data demonstrates that our salience detection model improves performance over and above a non-knowledgebase and memory augmented language model, both of which are crucial to this improvement.
Automatically inducing high quality knowledge graphs from a given collection of documents still remains a challenging problem in AI. One way to make headway for this problem is through advancements in a related task known as slot filling. In this task, given an entity query in form of [Entity, Slot, ?], a system is asked to fill the slot by generating or extracting the missing value exploiting evidence extracted from relevant passage(s) in the given document collection. The recent works in the field try to solve this task in an end-to-end fashion using retrieval-based language models. In this paper, we present a novel approach to zero-shot slot filling that extends dense passage retrieval with hard negatives and robust training procedures for retrieval augmented generation models. Our model reports large improvements on both T-REx and zsRE slot filling datasets, improving both passage retrieval and slot value generation, and ranking at the top-1 position in the KILT leaderboard. Moreover, we demonstrate the robustness of our system showing its domain adaptation capability on a new variant of the TACRED dataset for slot filling, through a combination of zero/few-shot learning. We release the source code and pre-trained models.
The ability to automatically extract Knowledge Graphs (KG) from a given collection of documents is a long-standing problem in Artificial Intelligence. One way to assess this capability is through the task of slot filling. Given an entity query in form of [Entity, Slot, ?], a system is asked to `fill' the slot by generating or extracting the missing value from a relevant passage or passages. This capability is crucial to create systems for automatic knowledge base population, which is becoming in ever-increasing demand, especially in enterprise applications. Recently, there has been a promising direction in evaluating language models in the same way we would evaluate knowledge bases, and the task of slot filling is the most suitable to this intent. The recent advancements in the field try to solve this task in an end-to-end fashion using retrieval-based language models. Models like Retrieval Augmented Generation (RAG) show surprisingly good performance without involving complex information extraction pipelines. However, the results achieved by these models on the two slot filling tasks in the KILT benchmark are still not at the level required by real-world information extraction systems. In this paper, we describe several strategies we adopted to improve the retriever and the generator of RAG in order to make it a better slot filler. Our KGI0 system (available at https://github.com/IBM/retrieve-write-slot-filling) reached the top-1 position on the KILT leaderboard on both T-REx and zsRE dataset with a large margin.
This paper summarizes our work on the first track of the ninth Dialog System Technology Challenge (DSTC 9), "Beyond Domain APIs: Task-oriented Conversational Modeling with Unstructured Knowledge Access". The goal of the task is to generate responses to user turns in a task-oriented dialog that require knowledge from unstructured documents. The task is divided into three subtasks: detection, selection and generation. In order to be compute efficient, we formulate the selection problem in terms of hierarchical classification steps. We achieve our best results with this model. Alternatively, we employ siamese sequence embedding models, referred to as Dense Knowledge Retrieval, to retrieve relevant documents. This method further reduces the computation time by a factor of more than 100x at the cost of degradation in R@1 of 5-6% compared to the first model. Then for either approach, we use Retrieval Augmented Generation to generate responses based on multiple selected snippets and we show how the method can be used to fine-tune trained embeddings.
Source code summarization aims to generate natural language summaries from structured code snippets for better understanding code functionalities. However, automatic code summarization is challenging due to the complexity of the source code and the language gap between the source code and natural language summaries. Most previous approaches either rely on retrieval-based (which can take advantage of similar examples seen from the retrieval database, but have low generalization performance) or generation-based methods (which have better generalization performance, but cannot take advantage of similar examples). This paper proposes a novel retrieval-augmented mechanism to combine the benefits of both worlds. Furthermore, to mitigate the limitation of Graph Neural Networks (GNNs) on capturing global graph structure information of source code, we propose a novel attention-based dynamic graph to complement the static graph representation of the source code, and design a hybrid message passing GNN for capturing both the local and global structural information. To evaluate the proposed approach, we release a new challenging benchmark, crawled from diversified large-scale open-source C projects (total 95k+ unique functions in the dataset). Our method achieves the state-of-the-art performance, improving existing methods by 1.42, 2.44 and 1.29 in terms of BLEU-4, ROUGE-L and METEOR.
의료 멀티모달 대규모 언어 모델(MLLM)은 기존 의료 시각 질의응답(MedVQA) 벤치마크에서 좋은 성능을 낼 수 있지만, 학습 데이터가 임상 진단과 맞지 않는 경우가 많다. 대부분의 지도는 고립된 이미지나 짧은 QA 쌍을 중심으로 구성되어, 두 가지 구조가 약하게 규정된다: 증거가 어떻게 결정으로 이어지는지, 그리고 동일 사례의 뷰, 시리즈, 모달리티, 환자 맥락이 어떻게 연결되는지. 본 논문은 증거 연계 다중 뷰 의료 영상 진단을 위한 부분적으로 의사 검증된 멀티모달 instruction 데이터셋인 MultiViewDx를 제안한다. MultiViewDx는 임상 사례를 지도 단위로 사용한다. 영상 검사와 환자 맥락을 연결하고, 이질적인 보고서를 증거 연계 워크플로(증거 -> 소견 -> 감별 논의 -> 진단)로 정규화하며, 통합 이미지-텍스트 리트리버로 instruction 합성을 출처가 뒷받침하는 증거에 한정한다. X-ray, CT, MRI, 초음파, 조직병리학 및 기타 임상 시각 소스를 포함한다. MultiViewDx-8B-AN을 파인튜닝하고 기존 MedVQA 벤치마크와 실제 사례 기반 진단 추론 모두에서 평가한다. 4개 MedVQA 벤치마크에서 비교 시스템 중 최고 평균 정확도(79.0%)를 달성하며, HuatuoGPT-Vision-34B(66.7%)와 Claude3-Opus(55.7%)를 능가한다. MedVQA를 넘어 JAMA Clinical Challenge 사례에서, 핵심 임상 요점, 진단 추론, 증거 그라운딩에 대한 의사 설계 루브릭 하에서 최고의 종합 평가를 받는다. 통제된 ablation과 임상의 평가는 사례 수준 다중 뷰 구성과 증거 연계 추론 목표가 모두 성능 향상에 기여함을 보여준다.
RS-Agent는 구조화된 작업 계획과 도구 오케스트레이션을 통해 사용자 의도를 전문적인 원격 탐사 워크플로우와 연결하는 도메인 적응형 지능 에이전트로, 중앙 컨트롤러, 동적 툴킷, Solution Space, Knowledge Space의 네 가지 구성요소로 이루어진다. Task-Aware Retrieval과 가중 이중 경로 검색-증강 생성 방법인 DualRAG를 도입하여 9개 데이터셋, 18개 원격 탐사 작업 실험에서 95% 이상의 작업 계획 정확도와 함께 장면 분류, 객체 계수, 시각적 질의응답에서 최신 MLLM 대비 현저히 높은 성능을 달성하였다.
검색-증강 생성(RAG)은 관련 데이터 검색과 대규모 언어 모델(LLM)의 생성 능력을 결합하여, 생성된 출력이 문맥적으로 적절할 뿐만 아니라 정확하고 최신의 내용을 담도록 보장한다. 본 논문에서는 고급 RAG 모듈의 기반 구성 요소 성능에 대한 포괄적인 평가를 지원하는 오픈소스 모듈형 코드베이스인 XRAG를 소개한다. 이 구성 요소들은 사전 검색(pre-retrieval), 검색(retrieval), 사후 검색(post-retrieval), 생성(generation)의 네 가지 핵심 단계로 체계적으로 분류된다. 우리는 재구성된 데이터셋을 통해 이를 체계적으로 분석하여 각 요소의 효과성에 대한 종합적인 벤치마크를 제공한다. RAG 시스템의 복잡성이 지속적으로 증가함에 따라, 우리는 RAG 시스템 내 잠재적 실패 지점을 식별하는 것의 중요성을 강조한다. 우리는 RAG 엔지니어링에 내재된 실패 지점을 분석하기 위한 일련의 실험 방법론과 진단 테스트 프로토콜을 수립한다. 이어서 이러한 모듈의 전반적인 성능을 강화하기 위한 맞춤형 해결책을 제안한다. 본 연구는 RAG 시스템 내 고급 핵심 구성 요소의 성능을 철저히 평가하고, 일반적인 실패 지점에 대한 최적화 방향을 제시한다.
약물 발견 과정에서 단백질 상호작용(PPI)의 생물학적 영향 파악을 위한 타겟 식별(Target ID) 문제를 해결하기 위해, 4,420개의 질문-답변 쌍으로 구성된 검색-증강 생성(RAG) 벤치마크인 RAGPPI를 제안한다. 전문가 주도의 주석과 앙상블 자동 평가 대규모 언어 모델(LLM)을 활용하여 골드 및 실버 표준 데이터셋을 구축함으로써 약물 발견 분야의 RAG 시스템 고도화를 지원한다.