PyTorchKR Papers

최신 논문

총 707편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 태그 구독

arXiv:2104.08610공식 코드 · Papers with Code

Zero-shot Slot Filling with DPR and RAG

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.

arXiv:2101.00408공식 코드 · Papers with Code

End-to-End Training of Neural Retrievers for Open-Domain Question Answering

Recent work on training neural retrievers for open-domain question answering (OpenQA) has employed both supervised and unsupervised approaches. However, it remains unclear how unsupervised and supervised methods can be used most effectively for neural retrievers. In this work, we systematically study retriever pre-training. We first propose an approach of unsupervised pre-training with the Inverse Cloze Task and masked salient spans, followed by supervised finetuning using question-context pairs. This approach leads to absolute gains of 2+ points over the previous best result in the top-20 retrieval accuracy on Natural Questions and TriviaQA datasets. We also explore two approaches for end-to-end supervised training of the reader and retriever components in OpenQA models. In the first approach, the reader considers each retrieved document separately while in the second approach, the reader considers all the retrieved documents together. Our experiments demonstrate the effectiveness of these approaches as we obtain new state-of-the-art results. On the Natural Questions dataset, we obtain a top-20 retrieval accuracy of 84, an improvement of 5 points over the recent DPR model. In addition, we achieve good results on answer extraction, outperforming recent models like REALM and RAG by 3+ points. We further scale up end-to-end training to large models and show consistent gains in performance over smaller models.

arXiv:2012.00945공식 코드 · Papers with Code

Two-Stage Single Image Reflection Removal with Reflection-Aware Guidance

Removing undesired reflection from an image captured through a glass surface is a very challenging problem with many practical application scenarios. For improving reflection removal, cascaded deep models have been usually adopted to estimate the transmission in a progressive manner. However, most existing methods are still limited in exploiting the result in prior stage for guiding transmission estimation. In this paper, we present a novel two-stage network with reflection-aware guidance (RAGNet) for single image reflection removal (SIRR). To be specific, the reflection layer is firstly estimated due to that it generally is much simpler and is relatively easier to estimate. Reflectionaware guidance (RAG) module is then elaborated for better exploiting the estimated reflection in predicting transmission layer. By incorporating feature maps from the estimated reflection and observation, RAG can be used (i) to mitigate the effect of reflection from the observation, and (ii) to generate mask in partial convolution for mitigating the effect of deviating from linear combination hypothesis. A dedicated mask loss is further presented for reconciling the contributions of encoder and decoder features. Experiments on five commonly used datasets demonstrate the quantitative and qualitative superiority of our RAGNet in comparison to the state-of-the-art SIRR methods. The source code and pre-trained model are available at https://github.com/liyucs/RAGNet.

arXiv:2002.05544공식 코드 · Papers with Code

Superpixel Image Classification with Graph Attention Networks

This paper presents a methodology for image classification using Graph Neural Network (GNN) models. We transform the input images into region adjacency graphs (RAGs), in which regions are superpixels and edges connect neighboring superpixels. Our experiments suggest that Graph Attention Networks (GATs), which combine graph convolutions with self-attention mechanisms, outperforms other GNN models. Although raw image classifiers perform better than GATs due to information loss during the RAG generation, our methodology opens an interesting avenue of research on deep learning beyond rectangular-gridded images, such as 360-degree field of view panoramas. Traditional convolutional kernels of current state-of-the-art methods cannot handle panoramas, whereas the adapted superpixel algorithms and the resulting region adjacency graphs can naturally feed a GNN, without topology issues.

arXiv:2502.02542v5cs.LG공식 코드 · Papers with Code

OverThink: 추론 LLM에 대한 속도 저하 공격

OverThink: Slowdown Attacks on Reasoning LLMs

추론 언어 모델(RLM)은 사용자에게 종종 드러나지 않는, 비용이 큰 추론 토큰을 생성하며, 이는 여러 작업에서 뛰어난 성능을 내는 데 기여한다. 우리의 OverThink 공격은 외부 컨텍스트에 의존하는 RLM 기반 애플리케이션(챗봇이나 코딩 에이전트 등)을 겨냥하여, 문맥상 올바른 답변을 유지하면서도 모델이 실질적으로 훨씬 더 많은 추론 토큰을 생성하도록 강제한다. 공격자는 이용 가능한 콘텐츠에 많은 수의 토큰을 유도하도록 최적화된 미끼(decoy) 추론 문제를 주입하여 공격을 수행한다. 우리는 마르코프 결정 과정(MDP), 언어 번역, 또는 그래픽 이해를 사용해 개별적으로는 무해해 보이지만 컨텍스트에 삽입되면 적대적 영향을 미치는 미끼 과제를 설계하여, 안전 필터를 쉽게 우회할 수 있게 한다. FreshQA, SQuAD, MuSR 데이터셋에서 독점 및 오픈소스 추론 모델에 OverThink를 평가한 결과, 각각 13배, 46배, 12배의 증가를 관찰했다. 또한 이미지를 이용한 멀티모달 공격을 탐구하였으며, 추론량이 최대 2.7배 증가했고, 스킬, README 파일, 코드에 미끼를 주입하는 코딩 에이전트 공격은 최대 17배 증가를 초래했다. 여러 방어 기법을 검토하고 서로 다른 공격 전략에 대한 효과를 평가하였으며, OverThink에 대한 방어가 사소하지 않음을 보여준다. 마지막으로, 새로운 세대의 RLM은 토큰당 비용이 급격히 증가하는 한편 추론 토큰도 최대 2.3배 증가하여 OverThink 공격에 더 취약해짐을 보인다.

arXiv:2412.15529v4cs.CL공식 코드 · Papers with Code

XRAG: 핵심 분석 — 고급 검색-증강 생성의 기반 구성 요소 벤치마킹

XRAG: eXamining the Core -- Benchmarking Foundational Components in Advanced Retrieval-Augmented Generation

검색-증강 생성(RAG)은 관련 데이터 검색과 대규모 언어 모델(LLM)의 생성 능력을 결합하여, 생성된 출력이 문맥적으로 적절할 뿐만 아니라 정확하고 최신의 내용을 담도록 보장한다. 본 논문에서는 고급 RAG 모듈의 기반 구성 요소 성능에 대한 포괄적인 평가를 지원하는 오픈소스 모듈형 코드베이스인 XRAG를 소개한다. 이 구성 요소들은 사전 검색(pre-retrieval), 검색(retrieval), 사후 검색(post-retrieval), 생성(generation)의 네 가지 핵심 단계로 체계적으로 분류된다. 우리는 재구성된 데이터셋을 통해 이를 체계적으로 분석하여 각 요소의 효과성에 대한 종합적인 벤치마크를 제공한다. RAG 시스템의 복잡성이 지속적으로 증가함에 따라, 우리는 RAG 시스템 내 잠재적 실패 지점을 식별하는 것의 중요성을 강조한다. 우리는 RAG 엔지니어링에 내재된 실패 지점을 분석하기 위한 일련의 실험 방법론과 진단 테스트 프로토콜을 수립한다. 이어서 이러한 모듈의 전반적인 성능을 강화하기 위한 맞춤형 해결책을 제안한다. 본 연구는 RAG 시스템 내 고급 핵심 구성 요소의 성능을 철저히 평가하고, 일반적인 실패 지점에 대한 최적화 방향을 제시한다.

arXiv:2505.23823v2cs.CL공식 코드 · Papers with Code

RAGPPI: 약물 발견에서 단백질 상호작용을 위한 RAG 벤치마크

RAGPPI: RAG Benchmark for Protein-Protein Interactions in Drug Discovery

약물 발견 과정에서 단백질 상호작용(PPI)의 생물학적 영향 파악을 위한 타겟 식별(Target ID) 문제를 해결하기 위해, 4,420개의 질문-답변 쌍으로 구성된 검색-증강 생성(RAG) 벤치마크인 RAGPPI를 제안한다. 전문가 주도의 주석과 앙상블 자동 평가 대규모 언어 모델(LLM)을 활용하여 골드 및 실버 표준 데이터셋을 구축함으로써 약물 발견 분야의 RAG 시스템 고도화를 지원한다.