# When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval

방향이 중요할 때: Dense Retrieval에서 관계형 지시 따르기 진단

Zhanyu Wu, Richong Zhang · arXiv · 2026년 11월 11일

- **연구 문제** 방향만 바뀐 관계 지시문에서 dense retriever는 같은 개체의 역할을 구분하지 못하고 정답 문서를 안정적으로 고르지 못합니다.
- **연구 방법** 고정된 질의와 상호 hard-negative 문서 쌍에 방향이 반대인 지시문을 붙여 쌍별 선택을 평가하고, 쌍 선호와 방향 상호작용을 분해합니다.
- **주요 결과** 통제 세트에서 Relational Flip의 7개 신경 검색 실행 평균 ContrastAll은 0.015였고, Qwen3-Rerank-4B는 통제 0.292와 현실적 0.470을 기록했습니다.

## 방향만 바뀐 지시문의 어려움

기존 검색 벤치마크는 명시적 제약이나 속성 단서로 정답 문서를 구분할 수 있는 경우가 많습니다. 이 논문은 질의와 문서 쌍을 그대로 둔 채 관계의 방향만 뒤집은 지시문에서 dense retriever가 어떻게 작동하는지 살핍니다. SwitchIR는 고정된 질의와 상호 hard-negative 문서 쌍에서 지시문에 따른 쌍별 선호를 평가하는 진단 데이터셋입니다. 제약 변경(Constraint Shift), 명시적 필터링(Explicit Filtering), 관계 전환(Relational Flip)의 세 범주로 구성됩니다. 관계 전환에서는 A causes B와 B causes A처럼 같은 개체를 쓰면서 의미역만 뒤바뀝니다.

![Table 5: Statistics of the controlled and realistic SwitchIR sets. A condition is one instruction–query pair with one gold document in its fixed two-document g…](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3/figures/figure-186b31961b86a2dec47c94b1abaf83a4.png?thumb=512)

**Table 5** : Statistics of the controlled and realistic SwitchIR sets. A condition is one instruction–query pair with one gold document in its fixed two-document group.

[원문](https://arxiv.org/abs/2611.15417v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhanyu Wu, Richong Zhang · When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

![Table 6: Controlled examples from the three SwitchIR categories, transcribed from the query, corpus, and relevance files. For compactness, the table shows the…](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3/figures/figure-301033c2c67cf95f2c3fd9a61ff33af2.png?thumb=512)

**Table 6** : Controlled examples from the three SwitchIR categories, transcribed from the query, corpus, and relevance files. For compactness, the table shows the include-first conditions for Explicit Filtering and the canonical realizations for Relational Flip; the alternate conditions remain in the same groups.

[원문](https://arxiv.org/abs/2611.15417v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhanyu Wu, Richong Zhang · When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 쌍별 선호 평가 설정

각 그룹은 질의 q, 두 문서 d\_a와 d\_b, 그리고 방향이 다른 지시문 집합으로 이루어집니다. 평가 모델은 질의, 지시문, 두 후보를 받아 점수가 더 높은 문서를 고릅니다. 점수가 같으면 오답으로 처리합니다. 지표는 PairAcc, FlipBoth, ParaAll, ContrastAll입니다. PairAcc는 두 앵커 선호의 평균 정확도이고, FlipBoth는 두 반대 앵커가 모두 맞은 그룹의 비율입니다. ContrastAll은 각 선호의 모든 실현 조건이 맞아야 하고 두 방향이 모두 만족된 그룹의 비율을 세며, 그룹마다 동일한 가중치를 줍니다. 같은 그룹의 조건은 모두 같은 데이터 분할에 배정되어 조건 수준의 누출을 막습니다.

## 쌍 선호와 방향 상호작용의 분해

정규화된 질의 임베딩 x\_AB, x\_BA와 문서 임베딩 y\_AB, y\_BA에서 평균 µx와 차이 ∆x, ∆y를 정의합니다. 쌍 선호 b = µx^T ∆y는 두 방향에 공통으로 작용하는 항이고, 상호작용 r = ½ ∆x^T ∆y는 방향에 민감한 항입니다. 두 방향의 여백은 m\_AB = b + r, m\_BA = −b + r이므로, 두 방향이 모두 맞으려면 r \> \|b\|이어야 합니다. 결정 여유분 d = r − \|b\| = min(m\_AB, m\_BA)가 양수일 때만 해당 실현 조건에서 두 방향이 모두 전환됩니다. 0 이하이면 동점을 포함한 실패로 봅니다. 이 분해는 관측 단위마다 점별로 적용되며, 평균 r과 평균 \|b\|의 비교는 설명을 위한 요약일 뿐 조건 수준의 성공률을 대신하지 않습니다.

## 범주별 제로샷 결과

통제 세트에서 Constraint Shift의 FlipBoth는 7개 비-reranker 신경 검색 실행의 평균으로 0.986이었고, Explicit Filtering의 ContrastAll은 0.923이었습니다. 반면 Relational Flip의 ContrastAll은 0.015에 그쳤습니다. 현실적 세트에서도 같은 순서가 나타났습니다. Qwen3-Rerank-4B는 Relational Flip ContrastAll이 통제 세트에서 0.292, 현실적 세트에서 0.470이었습니다. BM25는 Constraint Shift에서 성능을 보였지만 matched-word 범주에서는 공동 성공을 얻지 못했습니다.

이 결과는 어휘 일치만으로는 관계 역할 결합을 설명하기 어렵다는 해석을 뒷받침합니다.

![Table 1: Zero-shot results on the controlled set. PAcc, FBoth, PAll, and CAll abbreviate PairAcc, FlipBoth, ParaAll, and ContrastAll. Random values assume inde…](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3/figures/figure-0410f601502cfced8d2aae903a2b2c47.png?thumb=512)

**Table 1** : Zero-shot results on the controlled set. PAcc, FBoth, PAll, and CAll abbreviate PairAcc, FlipBoth, ParaAll, and ContrastAll. Random values assume independent uniform selection; rerankers form a separate block.

[원문](https://arxiv.org/abs/2611.15417v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhanyu Wu, Richong Zhang · When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 2: Primary joint metrics on the realistic set. FBoth is used for Constraint Shift and CAll for Explicit Filter- ing and Relational Flip. Full results app…](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3/figures/figure-d3dd1e21c249ee86f6083850e6985a63.png?thumb=512)

**Table 2** : Primary joint metrics on the realistic set. FBoth is used for Constraint Shift and CAll for Explicit Filter- ing and Relational Flip. Full results appear in Appendix Table 8.

[원문](https://arxiv.org/abs/2611.15417v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhanyu Wu, Richong Zhang · When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 실패 영역의 기하 구조

네 임베딩 검색기에서 관측 단위마다 r과 \|b\|를 계산한 결과, 모든 모델과 데이터셋 셀에서 평균 \|b\|는 평균 r보다 컸습니다. 충분한 정렬 신호가 있는 관측은 통제 세트의 14.2%에서 25.5%, 현실적 세트의 13.5%에서 32.5%였습니다. 정렬되었지만 부족한 상호작용은 대부분의 셀에서 더 흔했으며, 통제 세트 28.8%에서 36.9%, 현실적 세트 45.5%에서 58.5%였습니다. 저자들은 이를 주된 zero-shot 실패 방식이 쌍 선호의 우세라고 해석합니다.

## 진단 학습의 전이

진단 학습은 controlled 학습 데이터만으로 Qwen3-Embedding-0.6B와 4B를 LoRA로 미세조정하는 방식입니다. 목적함수는 Lrank = −log σ((s(x,y+) − s(x,y−))/τ)입니다. 단일 관계 학습에서는 학습 가족의 대각 평균이 99.0%였고 비대각 평균은 28.1%였습니다. 현실적 데이터에서는 각각 65.2%와 26.4%로 낮아졌습니다. 관계를 하나씩 제외하는 실험에서 4B 모델은 controlled 92.5%와 realistic 70.1%를 얻었고, 0.6B 모델은 35.7%와 13.5%를 얻었습니다. 저자들은 큰 모델에서 다중 관계 일반화가 더 강하다고 봅니다.

이 결과는 학습 예산 안에서 얻은 것이며, 수렴 여부가 다른 조건에서 같은 결론을 보장하지는 않습니다.

![Table 11: Reproduction configuration for both diagnostic-training experiments](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3/figures/figure-4b1a4f85eb84e5cf40cc159a5dbac36f.png?thumb=512)

**Table 11** : Reproduction configuration for both diagnostic-training experiments.

[원문](https://arxiv.org/abs/2611.15417v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhanyu Wu, Richong Zhang · When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

![Figure 4: Relation-family heterogeneity for Qwen3- Embedding-4B on realistic leave-one-relation-out eval- uation. Points show mean ContrastAll over five seeds…](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3/figures/figure-19a115c29971a4bb31541d48776f1229.png?thumb=512)

**Figure 4** : Relation-family heterogeneity for Qwen3- Embedding-4B on realistic leave-one-relation-out eval- uation. Points show mean ContrastAll over five seeds and error bars show sample standard deviation.

[원문](https://arxiv.org/abs/2611.15417v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhanyu Wu, Richong Zhang · When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 한계

SwitchIR는 같은 개체가 반대 의미역을 맡는 방향성 관계 구조에 초점을 둡니다. 중첩 제약, 다중 홉 관계, 여러 조건의 상호작용은 다루지 않습니다. 진단 학습의 결과도 controlled 학습 데이터와 이 논문이 쓴 관계 가족 구성에 묶여 있습니다.

## 논문 정보

- **저자**: Zhanyu Wu, Richong Zhang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 11일
- **등록일**: 2026년 11월 13일
- **수정일**: 2026년 11월 11일
- **버전**: v1
- **arXiv**: 2611.15417
- **분류**: cs.IR
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.15417v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.15417v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Dense retrievers increasingly claim the ability to condition retrieval on natural-language relevance criteria beyond a short query. We identify a specific weakness in this capability: the evaluated models perform well when lexical or attribute cues distinguish the target, but become much less reliable when relevance depends on a directional relation over the same entities. We introduce SwitchIR, a controlled diagnostic that contrasts Constraint Shift and Explicit Filtering with Relational Flip, where the query and document pair remain fixed while the requested relation direction reverses. Across representative embedding and late-interaction retrievers, the primary joint metric is high on the two cue-available controls and consistently low on Relational Flip; the same ordering persists in an LLM-assisted, manually reviewed realistic variant. An exact margin decomposition shows that both directions are correct only when the direction-sensitive query--document interaction exceeds the direction-invariant pair preference. Empirically, direction-sensitive changes are common, but their aligned interaction is usually too weak to overcome that preference. Diagnostic fine-tuning shows that models can learn relational behavior that generalizes across relation families, with stronger generalization in the larger model.

## 원문 인용

Zhanyu Wu, Richong Zhang (2026). When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval. arXiv:2611.15417v1. https://arxiv.org/abs/2611.15417v1

**BibTeX**

```
@misc{wu2026when,
  title = {{When Direction Matters: Diagnosing Relational Instruction Following in Dense Retrieval}},
  author = {Zhanyu Wu and Richong Zhang},
  year = {2026},
  eprint = {2611.15417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15417v1}
}
```

## 이 논문의 용어

- [BM25](https://refivu.com/terms/64437f95755a-bm25)
- [Dense retrieval](https://refivu.com/terms/4825836d38da-dense-retrieval)
- [PairAcc](https://refivu.com/terms/073d4b2e39bd-pairacc)

## 다른 논문 해설

- [The Google Similarity Distance](https://refivu.com/papers/bb278d2d-7ba0-4fc6-9c9b-7e248f6965c2-the-google-similarity-distance.md)
- [Latent Dirichlet Allocation (LDA) and Topic modeling: models, applications, a survey](https://refivu.com/papers/7c7dce20-b29a-401e-a22b-b97cd29a6ba4-latent-dirichlet-allocation-lda-and-topic-modeling-models.md)
- [Probabilistic Latent Semantic Analysis](https://refivu.com/papers/2bb41f8f-b6cc-410c-9347-fd84aed3b2b4-probabilistic-latent-semantic-analysis.md)
- [Personalized Top-N Sequential Recommendation via Convolutional Sequence Embedding](https://refivu.com/papers/7c1f4e3a-96df-4fe9-a8b5-6c36b294a565-personalized-top-n-sequential-recommendation-via.md)
- [Deep Learning based Recommender System: A Survey and New Perspectives](https://refivu.com/papers/a0b4c642-cc6f-408f-8e70-b8aaebc9c4da-deep-learning-based-recommender-system-a-survey-and.md)
- [Beyond Part Models: Person Retrieval with Refined Part Pooling (and a Strong Convolutional Baseline)](https://refivu.com/papers/0d7a16fd-c14e-49e6-938f-2cdeb51ea5a4-beyond-part-models-person-retrieval-with-refined-part.md)
- [Sharp Gaussian approximation for Polyak--Ruppert averaged linear stochastic approximation](https://refivu.com/papers/9caf3e7c-5f90-431f-b79e-91a12073fda9-sharp-gaussian-approximation-for-polyak-ruppert-averaged.md)
- [What Makes a VLA Reactive? A Study of Execution Strategies for Dynamic Manipulation](https://refivu.com/papers/e40a0d0a-cb3f-4b8b-a2df-a88dcc5243ec-what-makes-a-vla-reactive-a-study-of.md)
- [GHAgentCI: A Dataset of Coding-Agent Invocations in CI Workflow Histories](https://refivu.com/papers/424ea16a-b913-4b06-9a96-34a62191b355-ghagentci-a-dataset-of-coding-agent-invocations-in.md)
- [Learning a calibrated decision head from logged bandit feedback](https://refivu.com/papers/28d5a6b5-e055-453f-bf81-eba87dd49218-learning-a-calibrated-decision-head-from-logged-bandit.md)
- [Read and Ignore: What Self-Directed LLM Agents Do in Public Service Scenarios](https://refivu.com/papers/2039c2d0-49d9-4ade-aa0e-90550d306072-read-and-ignore-what-self-directed-llm-agents.md)
- [Breath-Dx: A Time Series Classification Benchmark for Disease Screening with eNose](https://refivu.com/papers/da645a75-a227-4f24-9c67-330d5c443b45-breath-dx-a-time-series-classification-benchmark-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/fd90500f-4b2e-489b-941f-397747f8c1a3-when-direction-matters-diagnosing-relational-instruction)
