PyTorchKR Papers

최신 논문

총 1,294편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2610.37826v2cs.CL

DeFT-RAG: 다중 홉 질문을 재사용 가능한 답을 가진 자기 완결적 하위 질문으로 분해하기

DeFT-RAG: Decomposing Multi-Hop Questions into Self-Contained Sub-Questions with Reusable Answers

검색 증강 생성(RAG)은 대규모 언어 모델(LLM)이 대규모 코퍼스에서 관련 구절을 검색하여 질문에 답하도록 한다. 그러나 RAG는 질문에 언급되지 않은 중간 개체를 통해 여러 문서에 흩어진 사실을 연쇄적으로 연결해야 하는 다중 홉 질문에서 어려움을 겪는다. 그래프 기반 RAG 방법은 질문이 명시한 개체로부터 한 번만 검색하므로 전체 근거 사슬을 거의 복원하지 못한다. 반복적 RAG 방법은 이를 단계적으로 복원하지만, 하위 질문 계획, 의존 관계 결정, 답이 도착함에 따른 질문 재작성, 알려진 정보 추적 등 LLM에 요구하는 과제가 많아 정확도가 제한된다. 본 논문은 세 가지 구성 요소로 이루어진 RAG 프레임워크인 DeFT-RAG를 제안한다. 첫째, DeFT-RAG는 원래 질문과 지금까지 답변된 하위 질문 및 그 답(QA 쌍)으로부터 한 번에 하나의 자기 완결적 하위 질문을 생성한다. 각 하위 질문은 묻고자 하는 모든 개체를 명시하므로 계획, 의존 관계 추적, 재작성의 필요가 없어지고 LLM이 한 번에 하나의 세분화된 과제에 집중할 수 있다. 둘째, DeFT-RAG는 나머지 LLM 작업을 LLM 밖으로 옮기는데, 알려진 정보를 추적하는 QA 표에 대한 규칙 기반 갱신과 미세 조정된 경량 결정 모델이 내리는 예/아니오 판단이 이에 해당한다. 셋째, DeFT-RAG는 QA 쌍을 캐시하고 이후 질문이 같은 의미의 하위 질문을 던지면 답을 재사용한다. MuSiQue, 2WikiMultiHopQA, HotpotQA에서 DeFT-RAG는 gpt-4o-mini와 Qwen3.6을 백본으로 사용했을 때 모두 열세 개 기준선 중 가장 높은 정확도를 달성하였으며, 다른 어떤 반복적 방법보다 LLM에 적은 입력 토큰을 제공하였다. 1,000개의 MuSiQue 질문에 걸쳐 QA 캐시를 공유했을 때 하위 질문의 23.1%가 캐시에서 답변되었고, 정확도 저하 없이 LLM 호출이 12.9% 감소하였다.

arXiv:2610.14730v3cs.IR

자기 개선 데이터 합성은 도메인과 과제 전반에 걸친 임베딩 모델 적응을 확장할 수 있다

Self-improving data synthesis can scale embedding-model adaptation across domains and tasks

AI 에이전트는 도메인과 과제 전반에 걸쳐 특화된 검색을 필요로 하지만, 임베딩 모델의 적응은 비용이 많이 드는 수작업 학습 데이터 설계에 제약을 받는다. 여기서 우리는 소수의 검색 예시를 재사용 가능한 합성 지침으로 바꾸는 자기 개선형 에이전트 데이터 합성 프레임워크 SYNTRA를 소개한다. 레이블이 없는 코퍼스와 소수의 관련 쿼리-문서 쌍이 주어지면, SYNTRA는 암묵적인 정보 요구와 관련성 기준을 추론한 뒤, 시험 출력에 대한 피드백을 사용하여 쿼리 생성과 관련성 평가를 위한 지침을 개선한다. 15개 도메인에 걸친 24개 데이터셋 실험은 동일한 합성 워크플로가 효과적인 학습 데이터를 생성하며, 기존 레이블 학습 세트의 유무와 관계없이 강력한 임베딩 모델에도 도움이 됨을 보여 준다. 자기 개선은 평가한 여섯 개 과제 모두에서 이러한 지도를 강화하며, 그중 네 개에서는 사람의 보정보다 더 나은 검색 성능을 낸다. 학습 효과는 더 큰 규모에서도 지속된다. MS MARCO에서는 합성 학습 데이터 크기가 32배 범위에 걸쳐 증가하는 동안 검색 성능 향상이 계속된다. 따라서 SYNTRA는 최소한의 사람 개입으로 확장 가능한 임베딩 모델 적응을 가능하게 한다.

arXiv:2605.00826v2cs.IR

텍스트-비디오 검색의 성능 정체 이해하기: 포괄적인 실증 및 언어학적 분석

Understanding the Performance Plateau in Text-to-Video Retrieval: A Comprehensive Empirical and Linguistic Analysis

텍스트-비디오 검색은 사용자가 자연어 질의로 관련 비디오 콘텐츠를 찾을 수 있게 해 주며, 온라인 비디오의 급격한 확산과 함께 중요성이 점점 커지고 있는 과제이다. 지난 6년간 듀얼 인코더, 어텐션 기반 모델, 멀티모달 융합 접근법 등 수많은 방법이 연구되었으나, 모델 동작, 데이터셋의 영향, 질의 난이도에 관한 근본적인 질문은 여전히 남아 있다. 본 연구에서는 통합된 전처리 및 평가 프레임워크 아래에서 널리 사용되는 3개 데이터셋에 걸쳐 14개의 최신 검색 방법을 평가한다. 우리는 길이, 명확성, 의미 범주, 행동 대 장면의 균형을 포함한 캡션 특성을 분석하고 이를 모델 성능과 연결한다. 연구 결과, 단일 행동이나 색상 속성을 묘사하는 것과 같이 짧고 명확하며 단순한 캡션은 더 높은 재현율을 보인 반면, 복잡한 사건, 다단계 활동, 세밀한 장면 묘사는 기존의 모든 모델에게 여전히 어려운 것으로 나타났다. 어텐션 기반 아키텍처는 시간적으로 의존적이거나 다단계인 질의를 더 잘 처리하는 반면, 듀얼 인코더와 멀티모달 융합 모델은 주로 더 단순하거나 단일 범주의 캡션에서 좋은 성능을 보인다. 데이터셋 간 일반화는 더 크고 다양한 캡션 집합에서 향상되지만, 생성된 캡션이 검색 정확도를 일관되게 높이지는 않는다. 종합하면, 본 연구의 결과는 핵심적인 데이터셋 요인, 벤치마크의 과제, 질의 내용과 모델 아키텍처 간의 상호작용을 부각하며, 더 효과적인 텍스트-비디오 검색 시스템을 개발하기 위한 지침을 제공한다.

arXiv:2603.07379v2cs.AI

SoK: Agentic Retrieval-Augmented Generation (RAG): Taxonomy, Architectures, Evaluation, and Research Directions

Retrieval-Augmented Generation (RAG) systems are increasingly evolving into agentic architectures where large language models autonomously coordinate multi-step reasoning, dynamic memory management, and iterative retrieval strategies. Despite rapid industrial adoption, current research lacks a systematic understanding of Agentic RAG as a sequential decision-making system, leading to highly fragmented architectures, inconsistent evaluation methodologies, and unresolved reliability risks. This Systematization of Knowledge (SoK) paper provides the first unified framework for understanding these autonomous systems. We formalize agentic retrieval-generation loops as finite-horizon partially observable Markov decision processes, explicitly modeling their control policies and state transitions. Building upon this formalization, we develop a comprehensive taxonomy and modular architectural decomposition that categorizes systems by their planning mechanisms, retrieval orchestration, memory paradigms, and tool-invocation behaviors. We further analyze the critical limitations of traditional static evaluation practices and identify severe systemic risks inherent to autonomous loops, including compounding hallucination propagation, memory poisoning, retrieval misalignment, and cascading tool-execution vulnerabilities. Finally, we outline key doctoral-scale research directions spanning stable adaptive retrieval, cost-aware orchestration, formal trajectory evaluation, and oversight mechanisms, providing a definitive roadmap for building reliable, controllable, and scalable agentic retrieval systems.

arXiv:2411.09181v2cs.IR

시간이 말해 줄 것이다: 시간을 활용한 협업 필터링의 잡음 제거

Time Will Tell: Harness Time to Denoise Collaborative Filtering

신경 그래프 협업 필터링은 사용자-아이템 상호작용을 포착하는 뛰어난 능력 덕분에 추천을 위한 강력한 도구이다. 상당한 진전에도 불구하고, 상호작용 데이터의 잡음 특성은 특히 암묵적 피드백에서 수집된 데이터의 경우 협업 필터링에서 여전히 중대한 과제이다. 잡음이 있는 상호작용과 악의적 사용자가 만들어 낸 상호작용은 모두 모델 성능을 크게 저하시킬 수 있다. 입력 데이터를 정제하고 모델의 견고성을 높이려면 잡음 상호작용을 어떻게 식별하고 바로잡을 수 있는지 이해하는 것이 필수적이다. 기존의 잡음 제거 방법은 사용자/아이템 임베딩과 잡음 상호작용 간의 상관관계를 탐색하는 데 집중하며, 잡음 제거를 위한 시간적 차원은 간과한다. 그러나 본 논문에서 관찰하듯이 시간 정보는 잡음 간선을 드러내는 데 있어 고유하고 자연스러운 이점을 지닌다. 본 연구에서는 전역 선호와 시간적 패턴을 모두 포착하는 시간 인식 사용자/아이템 임베딩을 생성하는 간단하면서도 효과적인 메커니즘을 소개한다. 이 임베딩을 활용하여 시간 정보를 이용해 협업 필터링의 잡음을 제거하는 작업(TintCF)을 수행하기 위해, 인접 행렬 재가중(Tint-A)과 손실 함수 재가중(Tint-L)이라는 두 가지 전략을 제안한다. 네 개의 실제 데이터셋에서 폭넓은 실험을 수행하여 우리 방법의 효능을 입증하고 시간 정보가 실제로 잡음 간선을 식별하고 바로잡는 데 어떻게 도움이 되는지 보인다. 코드는 \href{https://github.com/xinyuu-he/TintCF}{https://github.com/xinyuu-he/TintCF}에서 확인할 수 있다.

arXiv:2610.41905v1cs.IR

LLM 에이전트의 다중 도구 요청을 위한 검색 구조의 완전성과 비용

Completeness and Cost of Retrieval Structures for Multi-Tool Requests in LLM Agents

요청을 처리하기 위해 여러 도구를 호출해야 하는 에이전트는 도구 검색기가 그중 하나라도 누락하면 실패하지만, 도구 검색기는 대부분 단일 도구를 필요로 하는 질의에 대해 구축되고 평가된다. 우리는 여섯 가지 검색 구조(평면 어휘 및 밀집 검색, LLM 질의 분해, LLM이 탐색하는 계층 구조, 서버 후 도구 매칭, 의존성 그래프, 학습된 집합 수준 검색기)의 대표 방법들을 두 가지 다중 도구 테스트베드에서 비교한다. 하나는 전문가의 의존성 레이블이 있는 345개의 AppWorld 질의이고, 다른 하나는 257개의 MCP 도구에 걸친 103개의 MCP-Bench 과제이다. 우리는 필요한 도구 집합 전체가 상위 k개 안에 나타나는 질의의 비율인 completeness@k를, 각 구조가 검색 시점에 발생시키는 LLM 호출, 토큰, 지연 시간과 함께 측정한다. 7,961개의 ToolRet 질의 전체에 대한 동기 분석은 집계된 완전성이 두 가지 영역을 섞고 있음을 보여 준다. 즉 k=10에서의 완전성은 단일 대상 질의에서 .58에서 .67, 네 개 이상의 대상을 가진 질의에서 .08에서 .17이며, 단일 대상 질의에서의 검색기 순위는 다중 대상 질의에서 뒤바뀐다. 두 테스트베드 전반에서, 테스트베드에 대해 학습되지 않았고 질의당 LLM 호출이 최대 한 번인 비교 구조 중 어느 것도 k = 16에서 AppWorld 질의의 10% 이상을 완전하게 처리하지 못한다. 더 나은 성능을 보이는 두 구조는 서로 다른 비용을 치른다. 75~90개의 도메인 내 질의로 학습된 집합 수준 검색기는 LLM 호출 없이 AppWorld에서 .33, MCP-Bench에서 .58에 도달하는 반면, LLM이 탐색하는 계층 구조는 각각 .30과 .40에 도달하며 질의당 LLM 호출 중앙값이 31~38회이고 약 5분이 소요된다. 실패 양상도 다르다. 학습된 검색기는 누락된 도구를 대체로 컷오프 바로 아래에 순위 매기는 반면, 계층 구조는 대상 API를 찾고도 그 선행 요건을 수집하기 전에 멈춘다. 공식 AppWorld 에이전트를 사용한 하류 점검에서, 검색된 집합이 완전한 과제는 21건 중 21건 성공했으나 불완전한 과제는 39건 중 2건만 성공했다.

arXiv:2610.39682v1cs.LG

레이블 없이 도구 효율적인 검색 에이전트를 학습하기 위한 이종 공진화 학습

Heterogeneous Co-Evolution Learning for Tool-Efficient Search Agents with Zero Labels

딥 서치 에이전트는 추론과 외부 검색을 교차하여 언어 모델을 확장한다. 그러나 효과적인 검색 에이전트 학습에는 최종 답 최적화를 넘어 두 가지 과제를 해결해야 한다. 첫째, 에이전트의 능력 한계는 대체로 학습 질문에 의해 결정되는데, 고정되었거나 레이블이 있는 과제 모음은 에이전트가 향상됨에 따라 적응할 수 없다. 둘째, 결과만 보는 강화학습은 일부 정답이 불필요한 검색에 의존하는 경우에도 모든 성공 궤적을 동등하게 취급하여, 답 정확도와 도구 효율성 사이에 본질적인 긴장을 낳는다. 이러한 문제를 해결하기 위해, 이종 공진화를 통한 검색 에이전트 학습을 위한 무레이블 도구 효율 프레임워크인 \textsc{ZEST-Search}를 제안한다. \textsc{ZEST-Search}는 레이블이 없는 참조 질문에서 출발하여, 답을 먼저 정하고 증거 경로를 따라 생성하는 과정을 통해 검증된 검색 과제를 온라인으로 구성한다. 이종 제안자는 해결자의 변화하는 능력 경계에 맞춰 학습 과제를 적응적으로 구성하고, 해결자는 강화학습을 통해 검색 증강 추론을 학습한다. 과제 난이도와 검색 효율을 함께 최적화하기 위해, \textsc{ZEST-Search}는 제안자에게 중간 난이도 보상을, 해결자에게 과제 국소적 도구 인지 보상을 사용하여 유익한 과제와 더 적은 불필요한 검색으로 얻은 정답을 장려한다. 일곱 가지 일반 도메인 및 멀티홉 질의응답 벤치마크에서의 실험은 \textsc{ZEST-Search}가 레이블된 검색 학습 데이터나 전문가 검색 궤적 없이도 검색 에이전트 성능을 일관되게 향상시키면서 더 높은 도구 효율을 달성함을 보여 준다. 추가 분석은 이종 생성, 적응적 난이도 제어, 도구 인지 최적화가 더 효과적인 검색 에이전트 학습을 가능하게 함을 보여 준다.

arXiv:2610.39608v1cs.AI

의도에서 개선으로: 더 나은 모델 학습을 위한 에이전트 기반 데이터셋 검색

From Intent to Improvement: Agentic Dataset Search for Better Model Training

수백만 규모의 머신러닝 저장소에서 학습 데이터를 찾는 일은 텍스트 관련성만으로는 충분하지 않은 웹 검색 문제이다. 질의는 의미적 학습 목표를 과제, 라이선스, 학습 단계와 같은 제약과 결합하며, 이를 검증할 메타데이터는 종종 누락되어 있다. 텍스트 검색은 데이터셋 카드를 유사도로 순위화하지만 엄격한 제약을 강제하지 못하고, 설명이 빈약한 데이터셋에 도달하는 관계를 따라가지도 못한다. 자유 형식의 도구 호출 에이전트는 더 유연하지만, 데이터셋을 고르는 모델이 동시에 그것이 일치한다고 선언하며, 질의의 제약이 실제로 충족되는지 확인하는 장치는 없다. 어느 접근법도 반환한 데이터가 모델 학습을 개선한다는 점을 입증하지 못한다. 이를 해결하기 위해 우리는 AgenticDS를 제안한다. 이는 계약에 의해 통제되는 에이전트 프레임워크로, 모든 언어 모델의 결정이 결정론적 코드에 의해 소비되기 전에 타입이 지정된 객체로 구체화된다. 이 프레임워크는 질의를 타입이 지정된 검색 계획으로 컴파일하고, 하이브리드 검색과 제한된 그래프 확장에 대한 허용 가능한 결정론적 연산자를 통해 이를 실행하며, 순위를 수락하거나 국소적 수리만 허용하는 타입이 지정된 진단을 내놓기 전에 출처에 근거한 증거를 검증한다. 15개 시스템에서 풀링한 24,908개의 등급 판정을 갖춘 200개 질의의 새로운 벤치마크인 HuDS-Bench에서, AgenticDS는 가장 강력한 밀집-희소 하이브리드 대비 NDCG@10을 25.7\% 향상시키고, 상용 LLM 에이전트 대비 18.9\% 향상시킨다. 통제된 검색-학습 연구는 AgenticDS가 검색한 데이터셋이 수학, 코드, 의학 분야에서 가장 높은 다운스트림 정확도를 제공함을 추가로 보여준다. 코드와 데이터는 https://github.com/nju-websoft/AgenticDS 에서 공개되어 있다.

arXiv:2610.39519v1cs.SE

잠재 공간에서 길을 잃다: 코드 임베딩은 기능적 의도와 구현 충실도를 어떻게 표현하는가

Lost in the Latent Space: How Code Embeddings Represent Functional Intent and Implementation Fidelity

코드 임베딩 모델은 많은 소프트웨어 공학 응용의 핵심 구성 요소가 되었지만, 그 내부 표현은 여전히 잘 이해되지 않고 있다. 기존 평가는 하위 작업 성능에 초점을 두는 경향이 있어, 하나의 임베딩이 기능적 추상화와 구현에 민감한 분석을 모두 지원할 수 있는지에 대한 통찰이 제한적이다. 이러한 간극을 해소하기 위해 우리는 최신 코드 임베딩 모델 14개에 대한 대규모 실증 연구를 수행한다. 우리는 세 가지 상호 보완적 분석을 통해 모델의 표현 특성을 평가한다. 기능적 추상화와 구현 충실도에 대한 지도 프로빙, 기하학적 유사성을 평가하는 제로샷 검색 실험, 의미를 보존하는 코드 변환에 대한 임베딩 반응을 측정하는 통제된 섭동 실험이다. 결과는 일관된 추상화-충실도 긴장 관계를 보여 준다. 스타일 및 구조 신호를 더 잘 보존하는 모델은 의미적 일반화를 희생하는 경향이 있으며, 검색 성능이 유사한 모델도 동일한 구현 변경에 매우 다르게 반응할 수 있다. 종합하면, 우리의 결과는 단일한 보편적 코드 표현이 아직 요원함을 시사하며, 소프트웨어 공학에서 코드 임베딩 모델의 표현 인식적 평가, 선택, 배포가 필요함을 보여 준다.

arXiv:2610.38854v1cs.LG

골드 청크를 넘어서는 문맥 임베딩

Contextual Embeddings Beyond the Gold Chunk

문맥 임베딩은 문서의 전역 문맥을 고려하여 문서의 청크를 표현한다. 이러한 모델은 일반적으로 관련 문서에 관련 청크가 단 하나만 있다고 가정하고 학습 및 평가된다. 본 연구에서는 실제 사용 사례에서 검색기가 여러 청크에 흩어진 답을 찾을 뿐 아니라 이를 검증하는 데 필요한 증거도 제시해야 한다고 주장한다. 이를 위해 질의 인식형 컨텍스트 압축 모델로부터 단계별 청크 수준 관련성을 증류하여 학습한 문맥 임베딩 모델군 pplx-embed-v2-context를 소개한다. 이는 골드 청크 레이블의 필요성을 없애고 학습 목표가 청킹 방식에 독립적이도록 한다. 우리는 학습에 비전-언어 백본을 활용하며, 호환되는 임베딩 공간을 갖춘 9B 및 0.6B 크기의 pplx-embed-v2-context를 공개한다. 평가 측면에서는 질의에 답하는 청크와 답을 검증하는 데 필요한 증거를 모두 레이블링한 두 가지 벤치마크를 소개한다. Context-bench는 통제된 진단 벤치마크이며, Q2D-Chunk는 실제 검색 질의로 구축되었다. 추가 연구를 장려하기 위해 Q2D-Chunk를 공개 리더보드로도 게시한다. 우리의 9B 모델은 두 벤치마크와 ConTEB 모두에서 새로운 최고 성능을 기록한다. 또한 9B 모델의 시각 검색 능력이 그 기반인 비전-언어 모델로부터 전이됨을 확인하고, 청킹을 이미지 입력으로 확장할 것을 제안한다. 우리 모델이 시각적 ViDoRe-V3에서 밀집 검색기 중 최고 성능을 달성하며, 이미지 청킹을 세분화할수록 성능이 향상됨을 보인다.

arXiv:2610.38755v1cs.AI

떠나는가, 머무는가, 사는가? 사람-LLM 공동 주석을 활용한 지속 시간 상식 추론

Leaving, Staying, or Living There? Duration Commonsense Reasoning with Human-LLM Co-annotations

뒷마당에서 정원을 가꾸는 것은 그곳에 산다는 것을 암시하고, 에어비앤비에 체크인하는 것은 며칠간 머문다는 의미일 가능성이 더 높다. 이러한 지속 시간 판단은 인간의 이동성, 여행 행동, 사회적 맥락을 이해하는 데 중요하다. 그러나 소셜 미디어 게시물에는 지속 시간이 명시적으로 언급되는 경우가 드물어, 잡음이 섞인 텍스트, 시각, 맥락 단서로부터 추론해야 한다. 본 논문은 시각-언어 모델이 이러한 지속 시간 상식을 갖추고 있는지 조사한다. 이 과제의 테스트베드로 사람과 LLM이 함께 주석을 단 위치 태그 트윗의 새로운 코퍼스를 구축한다. 최첨단 모델은 다중 턴 사고 연쇄(Chain-of-Thought) 프롬프팅으로 유도하더라도 지속 시간 추론에 어려움을 겪는다는 것을 확인했다. 오류 분석은 모델이 핵심적인 맥락 정보를 통합하지 못하거나, 눈에 띄는 시각적 세부 사항에 지나치게 의존하면서 미묘한 해시태그와 의미적 뉘앙스를 간과하는 경우가 많음을 추가로 보여 준다. 이러한 발견은 맥락 인식 멀티모달 이해에 상당한 과제가 남아 있음을 강조한다.

arXiv:2610.38090v1cs.IR

답변 엔진이 인용하는 대상 예측: 통제된 검색 조건의 10개 엔진에서 본 개방형 의사결정 모델, 리랭커, 증류된 4B 학생 모델

Predicting What Answer Engines Cite: Open Decision Models, Rerankers and a Distilled 4B Student on Ten Engines under Controlled Retrieval

생성 엔진 최적화에는 후보 페이지를 답변에서 인용으로 받게 될 비중에 따라 순위화하는 스코어러가 필요하다. 본 연구는 사전학습된 리랭커, 호스팅되는 유형화 의사결정 모델(Jev), 8개의 개방형 의사결정 모델, 증류된 학생 모델을 프롬프트에 동일한 후보 출처를 받는 10개 엔진이 답한 GEO-Bench 질의에서 측정한다. 여러 엔진이 같은 질의에 답하는 경우 엔진들은 그룹 내 스피어먼 상관 0.704로 서로 일치한다. 학습 없이 사용한 Jev와 두 개의 개방형 27B 의사결정 모델이 0.575~0.578로 가장 강력한 스코어러이다. 다른 GEO-Bench 질의에 대한 교사 레이블로 저랭크 어댑터를 사용해 미세조정한 Qwen3-Reranker-4B는 GEO Citation Ranker 4B로 공개되며, 세 시드에 걸쳐 0.542~0.549에 도달하고, 27B 모델 및 Jev와의 차이는 229개 질의에서 0과 구별되지 않는다. 학생 모델과 Jev 사이에 남은 거리의 대부분은 학생 모델처럼 Jev가 한 번에 하나의 구절만 채점하면 사라진다. 교사 레이블과 관측된 엔진 인용으로 학습한 학생 모델은 같은 수준에 도달하며, Jev만의 레이블은 0.6B에서 두 교사 목표와 동일한 성능을 보인다. 본 연구는 모델, 벤치마크, 보고된 모든 스코어러의 예측, 코드를 공개한다.

arXiv:2610.37973v1cs.IR

병합과 분기: 추천을 위한 LLM의 효율적인 트리 구조 지도 미세조정

Merge and Branch: Efficient Tree-Structured Supervised Fine-Tuning of LLMs for Recommendation

LLM 기반 생성형 추천은 텍스트가 풍부한 긴 상호작용 이력을 읽지만 짧은 시맨틱 식별자(SID)만을 생성한다. 이러한 비대칭성 때문에 지도 미세조정이 비효율적이다. 이력을 인코딩하는 비용은 크지만 각 이력은 대개 하나의 타깃에 대한 지도 신호만 제공하기 때문이다. 본 논문은 입력 비용을 줄이고 인코딩된 각 이력에서 더 많이 학습하기 위해 Merge and Branch(M&B)를 제시한다. Merge는 각 과거 아이템의 SID와 텍스트를 소수의 학습된 토큰으로 압축한다. Branch는 압축된 이력을 사용해 여러 타깃 SID를 예측한다. 이력 계산을 공유하면서도 타깃을 서로 독립적으로 유지하기 위해, M&B는 각 예제를 얕고 넓은 트리로 구성한다. 본 논문은 이 구조를 효율적으로 실행하는 트리 FlashAttention을 개발하여 공유 이력을 한 번만 처리하고 모든 분기에서 그래디언트를 전파하여 종단 간 학습을 수행한다. 트리 구조 키/값 캐시는 이력 공유를 제약 디코딩으로 확장한다. 공개 벤치마크 실험 결과, M&B는 강력한 추천 기준선을 능가하면서 학습 및 디코딩 효율을 크게 향상시킨다.

arXiv:2610.37962v1cs.IR

LLM 기반 추천 시스템의 위치 편향에 대한 통계적 탐지: 방법론과 실증적 증거

Statistical Detection of Positional Bias in LLM-Based Recommender Systems: Methodologies and Empirical Evidence

대규모 언어 모델(LLM)은 검색 증강 생성(RAG)을 통해 대화형 추천 시스템(RS)에서 추천 생성기로 점점 더 많이 사용되고 있다. 이러한 유연한 설계는 새로운 구조적 편향의 원인을 도입한다. 본 논문은 top-1 및 단일 턴 LLM 기반 RS에서의 위치 편향, 즉 추천되는 항목이 프롬프트에서 후보가 제시되는 순서에 체계적으로 의존하는 현상을 연구한다. 우리는 서로 보완적인 두 가지 탐지 방법론을 제안한다. (i) 분할표 행렬 분석과 카이제곱 독립성 검정에 기반한 POB-ICM, 그리고 (ii) 순열 기반 평가에서 균등성 귀무 모형으로부터 도출된 표본 효율적 접근법으로, 형식적인 통계적 보장과 함께 확률적 디코딩을 가능하게 하는 POB-UNBP이다. 실제 제품 카탈로그를 기반으로 구축한 제품 추천용 통제된 RAG 테스트베드, 고정된 프롬프트 템플릿, 그리고 템플릿으로 생성한 2000개의 사용자 질의(각각 20개의 순열, 총 40,000개 인스턴스)를 사용한 결과, 두 방법론 모두 평가된 모든 최신 모델에서 위치 독립성과 균등성이라는 귀무가설을 기각한다. 우리는 이러한 효과를 정량화하기 위해 순열 민감도, 위치 편향, 강한 위치 편향이라는 세 가지 상호 보완적인 지표를 도입하며, 마지막 지표는 위치가 단지 비슷하게 관련된 항목들 사이에서 선택하는 데 그치지 않고 추천을 명백히 덜 관련된 항목으로 옮기는 경우를 겨냥한다. 후보 집합 크기와 디코딩 온도에 걸친 강건성 분석은 이 편향이 구조적이며 모델에 따라 달라지고, 결정적 디코딩이나 후보 집합 크기의 산물이 아님을 보여 준다. 이러한 결과는 평가된 환경에서 위치 편향이 프롬프트 매개 추천 파이프라인의 측정 가능하고 재현 가능한 속성임을 입증하며, 배포된 LLM 기반 RS에 대해 순서 무작위화, 표준화된 프롬프팅 등 정기적인 감사와 거버넌스 통제의 필요성을 뒷받침한다. 소스 코드는 공개되어 있다.

arXiv:2610.37867v1cs.AI

What Constitutes Food Similarity? Visual Representations and Retrieval in Indian Cuisine

Food similarity underlies retrieval, recommendation, substitution, and other food computing tasks, yet food representations are typically evaluated by identity preservation. We ask what happens to food similarity beyond identity: how different visual representations organize foods into relational neighborhoods, what culinary relationships these neighborhoods reveal or obscure, and how consistently these structures emerge across representations. Indian cuisine provides a challenging setting in which visually similar foods may have different culinary identities, while foods within a culinary family can vary substantially in appearance. Using an expanded Khana dataset and seven pretrained visual representations spanning convolutional, transformer-based, self-supervised, and image-text aligned models, we evaluate image-to-image retrieval and image-to-dish neighborhoods, examining culinary-family structure, contrast cases, and cross-representation agreement. We also aggregate image representations to compare dish-level visual similarity across models and against recipe-derived similarity for the same dishes. Image-level neighborhoods vary substantially across representations, including similarities across culinary-family boundaries. At the dish level, aggregation reveals common visual structure despite local variation, but this structure corresponds less strongly with recipe-derived similarity. These findings show that recognition performance alone cannot characterize relational structure: food similarity depends on representation, modality, and abstraction level rather than being a fixed property of the food collection. Understanding these structures is therefore a prerequisite to combining multiple food information modalities into a coherent notion of similarity.

arXiv:2610.37830v1cs.AI

Measuring Where Intent Gets Lost in Agentic Smart Contract Synthesis

AI agents can now write software from a plain-English description, but code that runs is not the same as code that does what was asked. This gap matters most for smart contracts, the programs behind Web3 applications that move money on a blockchain and cannot be fixed once deployed. We ask how to check whether an AI-written contract behaves as it should, and where the requested behavior gets lost. We design an evaluation built on execution rather than opinion. We replay the same transactions on an AI-written contract and on the original it should reproduce and measure how often they agree. We test every grading tool on planted mistakes, compare against an answer key written without the description, and audit our own scorer until known wrong answers cannot pass. Common methods, such as AI judges and standard analysis tools, miss obvious mistakes, and scoring choices matter too. Checking only the functions every system includes hid about half the difference between pipelines. We then propose an elicitation-first architecture. Before writing code, the agent asks the client a short checklist of questions, checks the contract against an independently written executable answer key, and returns disagreements to the client instead of silently rewriting code. Asking first matters far more than reviewing or patching afterwards, across three AI models, while automated security fixes often break requested behavior. A few well-chosen questions recover much of what a short description omits, and their value can be estimated without the original contract. To our knowledge, this is the first study in smart contract synthesis to gather missing requirements before generation and check the result against an independently written executable model. The lessons extend to any setting where AI agents turn requests into programs. We release our tools, 600 tasks and all results.

arXiv:2610.37728v1cs.IR

Beyond Similarity Search: Knowledge Graph Metadata Enrichment for Enterprise Retrieval-Augmented Generation

A key challenge of RAG systems is retrieving information from enterprise documents created by multiple teams over time, where it is not possible to enrich the information using the latest information and metadata available outside the scope of organizational documentation responsibility. We investigated whether using a knowledge graph to store metadata and frequently changing information would improve upon knowledge retrieval over similarity search over embeddings. To perform the experiment, we created a snapshot of the SEC EDGAR dataset for a quarter, comprising 167,050 filings from 10,511 companies and 508,714 embedded chunks of risk-factor text. To simulate the enrichment, we created a knowledge graph of 430,257 nodes and 561,144 edges carrying an accession number on every edge. To evaluate the gain obtained via a graph-based design, we evaluated three architectures: text-to-SQL over typed columns, dense-vector RAG with HNSW cosine search, and a two-stage GraphRAG design. All architectures share the same model and temperature to allow comparison. Results are scored programmatically by an LLM as judge over 20 questions divided across four categories, each question asked three times. GraphRAG solved 16 of 20 questions on all three attempts, compared to 10 for text-to-SQL and 3 for vector RAG. GraphRAG lost on structured aggregation queries. Vector RAG lost the single-document category it was expected to win, passing 3 of 15 where GraphRAG passed 15 of 15, because company attribution is not recoverable from cosine similarity at this scale. All six confident falsehoods in the benchmark were text-to-SQL conflating distinct people who share a surname, the failure that resolving identity to an identifier before reading any text prevents structurally; GraphRAG made none. We claim no advantage beyond this corpus, this model and this question set.

arXiv:2610.37707v1cs.IR

Relevance-Guided Residual Calibration for Spectral Compression of Dense Retrieval Embeddings

Spectral compression reduces the storage and scoring costs of dense retrieval by projecting embeddings onto a smaller principal subspace. However, its corpus-derived weighting rules tie all retained directions to a shared spectral trend, without directly accounting for their individual contributions to relevance. To address this, we propose Relevance-Guided Residual Calibration (RRC), a closed-form method for refining spectral weights using relevance judgments. RRC estimates margin-based weights from the means and variances of positive--negative score contributions along each retained direction. It retains directions with positive estimated weights, decomposes their log weights into a fitted power-law trend and a residual, and adds the residual to the compressor's log weights on this support. This allows relevance judgments to adjust individual directions while preserving the compressor's overall spectral trend. RRC applies to PCA, Whitening, and SpecTemp, and incorporates the corrections into the existing transformation shared by documents and queries, without iterative model training or an additional inference stage. Experiments with three encoders on nine datasets covering conventional and reasoning-intensive retrieval show that SpecTemp + RRC achieves the highest mean effectiveness among tested compressors on the BEIR group and BRIGHT at every target dimension. On the five evaluated BRIGHT datasets, it improves over SpecTemp by an average of 2.34 nDCG@10 points at 768 dimensions. The gains also persist under scalar and product quantization, improving the trade-off between per-document storage and retrieval effectiveness. Our code is available at: https://anonymous.4open.science/r/rrc-spectral-compression-B5CE/

arXiv:2610.37701v1cs.IR

DuQUAD: A Dual-View Framework with Quality-Aware Evidence Pruning for Multi-Document Question Answering

Large language models with retrieval-augmented generation systematically underutilize evidence in the middle of multi-document contexts, a phenomenon known as Lost in the Middle. Existing mitigation strategies, such as document reordering and attention steering, can reduce boundary bias but remain brittle in noisy settings, where inaccurate relevance estimation and spurious documents still obscure useful evidence in central positions. We propose DuQUAD, a multi-document QA framework that mitigates positional bias through dual-view reasoning and quality-aware evidence pruning. DuQUAD combines a Local Agent guided by a Structural Fusion Score with a Global Agent that reasons over the full document set, providing both targeted evidence recovery and broad contextual understanding. The framework further filters candidate evidence using explicit quality scoring and refines it at the sentence level to reduce noise. DuQUAD consistently outperforms strong Lost-in-the-Middle mitigation baselines, including hybrid retrieval and reranking, multi-agent reasoning, and context optimization methods, improving accuracy by 3.0% on average over the strongest competing baseline and gold evidence recall by 9.4%, while substantially reducing computational cost compared to existing multi-agent frameworks.

arXiv:2609.37993v2cs.CL

BITEM at the NTCIR-19 R2C2 Task: Predicting Confidence from Agentic RAG Pipeline Signals

The BITEM team entered both subtasks of the NTCIR-19 R2C2 task with a single agentic pipeline, in which a model searches, reads and records evidence over a movie corpus while an orchestrator holds the record and rules on what may be submitted. A claim is admitted only once an entailment cascade has checked it against the passage it cites, and an answer is released only once enough checked evidence stands behind it. Each question is run three or four times, every pass retrieving from a corpus stripped of what the earlier passes have already seen. The confidence score predicted with each answer is computed by the orchestrator from what the run leaves behind and is never asked of the model, which is offered no way to rate itself. The two retrieval runs placed 4th and 5th of 22, pooling the passes was worth 0.0709 nDCG@20, and the gain was largest on the multi-hop and post-processing-heavy questions, where the organisers rank the pooled run top of the field. Sixteen of the 25 answer runs were built on passages these two runs supplied, 12 of them submitted by other teams. HMR rewards a system whose confidence is high where it answers right and low where it answers wrong. The pipeline reached an accuracy of 0.9219, 6th of 25, while the confidence scores predicted for those answers gave an HMR of 0.4915, 13th. A few rules crafted over those same recorded signals, with no further model call and no further retrieval, raise that to an accuracy of 0.9375, 5th, and an HMR of 0.6985, 9th. Ranking on HMR alone can reward a system for answering wrongly with low confidence, so we propose accHMR, the accuracy multiplied by HMR, which reports the reward in proportion to the accuracy, and on which the revised rules would have scored 0.6549, 5th. For future work, fitting a model on the numbers the pipeline already produces, rather than writing such rules by hand, would be a real step forward.