# When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics

탐욕 알고리즘이 정렬일 때: 신규성 지표를 위한 정확하고 검증된 이상적 순위

Kehan Liu, Zhaoyun Chen, Xianquan Yan · arXiv · 2026년 11월 7일

- **연구 문제** α-nDCG 분모인 이상적 순위는 일반적으로 NP-hard이며, 기존 평가기는 Θ(nK) 비용의 greedy 근사를 사용합니다.
- **연구 방법** 각 문서가 하나의 intent만 가질 때 intent별 virtual score chain을 최대 힙으로 병합하여 정확한 이상적 순위를 얻고, 겹치는 경우에는 prefix LP로 상한 증명서를 제공합니다.

## 정규화 분모의 계산 문제

α-nDCG 같은 novelty 지표는 주어진 목록의 점수를 이상적 순위의 점수로 나누어 정규화합니다. 그런데 이 이상적 순위는 일반적으로 NP-hard로 알려져 있어, 널리 쓰이는 평가기는 남은 모든 문서를 매 순위마다 다시 훑는 marginal greedy 절차로 분모를 근사합니다. 이 절차는 한 순위를 고를 때마다 전체 후보를 다시 스캔하므로 비용이 Θ(nK)에 이릅니다. 이 논문은 이 근사가 언제 정확해지는지, 그리고 정확하지 않은 경우에 얼마나 조여진 상한을 줄 수 있는지를 묻습니다.

## 행 지지도 1에서의 chain 병합

논문은 각 문서가 양의 이득을 갖는 intent가 최대 하나인 조건을 행 지지도 1로 정의합니다. 이 조건에서 문서들은 intent 그룹별 chain으로 나뉘며, α-DCG에서는 r번째 후보의 virtual score를 그룹 내 r번째로 큰 이득에 (1−α)^(r−1)을 곱한 값으로 둡니다. ERR-IA에서는 intent 사전확률, r번째 만족 확률, 그리고 앞선 구성원이 모두 만족하지 않을 확률의 곱으로 둡니다. 이렇게 만든 chain은 단조 감소하므로, 감소하는 할인 계수와 짝지어 전역적으로 정렬하는 것이 최적이라는 Monotone-chain rearrangement 보조 정리가 적용됩니다. ChainMerge는 각 chain의 머리 원소를 최대 힙에 넣고 K번 팝하여 이 전역 순서를 만듭니다.

![Table 2: Structure of positive TREC Web diversity judgments](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15/figures/figure-7eb294bc615dbf5f914475a5d66faea4.png?thumb=512)

**Table 2** : Structure of positive TREC Web diversity judgments.

[원문](https://arxiv.org/abs/2611.10576v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kehan Liu, Zhaoyun Chen, Xianquan Yan · When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## intent 겹침에서의 어려움과 상한 증명서

한 문서가 여러 intent를 동시에 덮으면 그 문서를 고를 때 여러 chain이 한꺼번에 진행되어 정적 virtual score와 chain 정리가 더 이상 적용되지 않습니다. 원문은 고정된 표준 파라미터(α=0.5, 로그 할인, 이진 판단)에서 문서당 정확히 세 intent, intent당 정확히 두 문서인 경우에도 이진 α-DCG 최대화가 NP-hard임을 Independent Set on cubic graphs의 환원으로 보입니다. 이 경우 겹침이 하나 이상 있으면 greedy도 틀릴 수 있다는 세 문서 반례가 함께 제시됩니다. 따라서 일반적인 겹침에서는 정확한 최적값 대신 prefix LP로 상한을 계산합니다.

이 LP는 Abel summation으로 얻은 접두사 이득의 음이 아닌 결합에 concave 보간의 tangent 제약을 두어 만든 다항 크기 문제이며, 그 값은 이상적 점수의 상한입니다. 실행 가능한 순위와 상한의 차이가 instance별 최적성 간격 증명서가 됩니다. 솔버 없이 계산하는 projection bound는 각 문서에 intent 하나만 남겨 정확히 푼 값에 삭제된 이득의 잔여항을 더한 상한입니다.

![Table 3: Complete-query prefix-LP certificates at 𝐾 = min(20,𝑛). Gaps are relative to the LP upper bound. Certifi- cate decisions use exact rational arithmetic…](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15/figures/figure-8ab172e4c99f3da2c3e94e4afa18bb1d.png?thumb=512)

**Table 3** : Complete-query prefix-LP certificates at 𝐾 = min(20,𝑛). Gaps are relative to the LP upper bound. Certifi- cate decisions use exact rational arithmetic, and times are numerical HiGHS medians.

[원문](https://arxiv.org/abs/2611.10576v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kehan Liu, Zhaoyun Chen, Xianquan Yan · When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 정확성과 인증 결과

ChainMerge의 정확성은 생성한 행 지지도 1 인스턴스에서 확인됩니다. α-DCG와 ERR-IA 각각 3,000개 인스턴스에서 완전열거의 최적값과 일치했습니다. 공식 TREC Web 2009–2012 판단에서는 양성 문서의 64.8%가 행 지지도 1이었지만, 198개 완전 질의 중 이 조건을 모든 문서에서 만족하는 질의는 20개뿐입니다. 나머지 질의는 겹침 조건에 놓이므로, 원문은 prefix LP가 198개 중 189개의 greedy 분모를 전역 최적으로 인증했다고 보고합니다. 평균 인증 간격은 0.0213%, 최대는 1.65%입니다. 작은 풀에서는 정확한 부분집합 DP와 비교하여 LP가 26,700개 풀 중 26,692개에서 최적값과 같았습니다.

![Figure 3: Official TREC Web 2009–2012 diversity judgments. (a) Share of positive documents (light) and of complete queries (dark) with row support one. (b) Sta…](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15/figures/figure-5e2b7ed5959395dc6445f64347c8288c.png?thumb=512)

**Figure 3** : Official TREC Web 2009–2012 diversity judgments. (a) Share of positive documents (light) and of complete queries (dark) with row support one. (b) Status of each com- plete query’s 𝛼-IDCG denominator at 𝐾 = min(20,𝑛). It is exact by ChainMerge, certified optimal by the prefix LP, or left with a positive certified gap. Labels give query counts, and Tables 2 and 3 list the exact values.

[원문](https://arxiv.org/abs/2611.10576v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kehan Liu, Zhaoyun Chen, Xianquan Yan · When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## MIND-small 런타임 비교

런타임 실험은 MIND-small의 65,238개 후보 풀에서 수행되었습니다. 이진 판단의 count-only 경로는 그룹 개수만으로 정확한 α-IDCG를 계산하여 binary marginal greedy보다 2,250–25,427배 빠릅니다. ERR-IA 인스턴스에서는 5–185배 빠르며 목적값이 일치했습니다. 이 속도 향상은 marginal greedy가 매 순위마다 전체 풀을 다시 스캔하기 때문에 K가 커질수록 커집니다.

![Figure 4: Runtime on MIND-small, as medians of three runs. (a) Graded𝛼-DCG with the subcategory grouping (𝐺 = 270) at 𝐾 = 100 over six candidate-pool sizes. (b…](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15/figures/figure-c433e749039438624fd33d5827148c88.png?thumb=512)

**Figure 4** : Runtime on MIND-small, as medians of three runs. (a) Graded𝛼-DCG with the subcategory grouping (𝐺 = 270) at 𝐾 = 100 over six candidate-pool sizes. (b) Speedup on the full pool of 65,238 candidates, for graded ChainMerge over graded marginal greedy (solid) and for the count-only 𝛼-IDCG path over binary marginal greedy (dashed). Circles mark the cate- gory grouping (𝐺 = 18) and squares the subcategory grouping (𝐺 = 270), as in (a). Table 4 lists the timings.

[원문](https://arxiv.org/abs/2611.10576v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kehan Liu, Zhaoyun Chen, Xianquan Yan · When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 4: Full-pool MIND-small runtime (65,238 candidates), in milliseconds. Panel (a) includes partition and heap con- struction, and panel (b) receives counts…](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15/figures/figure-7f9e1831fed4e529c2f22f43405aa73b.png?thumb=512)

**Table 4** : Full-pool MIND-small runtime (65,238 candidates), in milliseconds. Panel (a) includes partition and heap con- struction, and panel (b) receives counts accumulated during input. Values are medians of three runs, and speedups use unrounded times.

[원문](https://arxiv.org/abs/2611.10576v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kehan Liu, Zhaoyun Chen, Xianquan Yan · When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 미해결 경계

정확 경로는 질의 전체에서 행 지지도 1이 성립할 때만 적용됩니다. 원문은 TREC에서 이 조건을 만족한 질의가 20개에 그쳤다고 보고하므로, 대부분의 질의는 상한 증명서에 의존합니다. 증명서는 겹치는 α-DCG에 대해 제시되며, 겹치는 ERR-IA는 이 certificate 결과로 다루어지지 않습니다. 또한 행 지지도 2의 α-DCG 계산 복잡도는 원문에서 미해결로 남아 있습니다.

## 논문 정보

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

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

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

## 초록

The ideal ranking that normalizes novelty metrics is NP-hard to compute in general, so widely used $α$-nDCG evaluators approximate its denominator with a greedy rule that rescans every remaining document at each rank. We identify a regime in which this ideal ranking is exact and cheap for both $α$-DCG and intent-aware expected reciprocal rank (ERR-IA). When each document is positively judged for at most one intent, each metric reduces to the classical allocation of a fixed budget across chains of decreasing marginal gains. A metric-specific virtual-score transformation followed by a multiway merge, which we call ChainMerge, returns the globally optimal top-$K$ ranking in $O(G+K\\log G)$ time from $G$ preordered intent groups, or in $O(n+K\\log G)$ time from $n$ globally preordered candidates, instead of the $Θ(nK)$ of the greedy rule. When intent judgments overlap, exact $α$-DCG optimization is NP-hard under the standard logarithmic discount and $α=0.5$, even when every document has three intents and every intent occurs in two documents. For arbitrary overlap, a polynomial-size LP over nested ranking prefixes upper-bounds the ideal score and certifies the optimality gap of any feasible ranking. In the official TREC Web 2009-2012 judgments, 64.8% of positive documents serve a single intent, yet only 20 of 198 complete queries do so throughout. Beyond this exact regime, the LP certifies 189 of the 198 greedy denominators as globally optimal, and the resulting score intervals preserve the winner in all eight matched comparison groups. On 65,238 MIND-small candidates, ChainMerge returns identical optimal objectives 17-1,011 times faster than the greedy rule. For $α$-DCG, these results trace the hardness of the ideal ranking to intent overlap.

## 원문 인용

Kehan Liu, Zhaoyun Chen, Xianquan Yan (2026). When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics. arXiv:2611.10576v1. https://arxiv.org/abs/2611.10576v1

**BibTeX**

```
@misc{liu2026when,
  title = {{When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics}},
  author = {Kehan Liu and Zhaoyun Chen and Xianquan Yan},
  year = {2026},
  eprint = {2611.10576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10576v1}
}
```

## 다른 논문 해설

- [Close and Sort: Exact Maximum-Likelihood Aggregation of Cyclic Rank-Two Preferences](https://refivu.com/papers/3e86e3b9-1d2d-4f03-9a7d-c923ae11dc85-close-and-sort-exact-maximum-likelihood-aggregation-of.md)
- [A Taxonomy-Driven Synthetic Dataset for Retrieval Effectiveness and Fairness Evaluation in Hiring](https://refivu.com/papers/9051cb88-28dc-4d67-a758-308c4168517f-a-taxonomy-driven-synthetic-dataset-for-retrieval.md)
- [GRAC: Graph-Based Retrieval-Augmented Captioning for Surgical Scene Description](https://refivu.com/papers/457b4bd8-6181-4fe3-9aa7-129a654220d3-grac-graph-based-retrieval-augmented-captioning-for-surgical.md)
- [Decision Models as Retrieval Gates Against Injection and Pollution](https://refivu.com/papers/bd8c9c31-9e0d-4aa7-b98c-344a751f593c-decision-models-as-retrieval-gates-against-injection-and.md)
- [ArcadeDB in Python: An In-Process Multi-Model Database](https://refivu.com/papers/92f8f688-68d7-459c-921a-5a8a63f299fb-arcadedb-in-python-an-in-process-multi-model.md)
- [Writer Identification and Writer Retrieval Based on NetVLAD with Re-ranking](https://refivu.com/papers/5c507cda-3490-4660-8811-36c766c434c8-writer-identification-and-writer-retrieval-based-on-netvlad.md)
- [No Second Run: Does RSI Stop at Frontier Pre-training?](https://refivu.com/papers/dba88920-bad4-4d52-b341-5c70637671ef-no-second-run-does-rsi-stop-at-frontier.md)
- [Imperfectly Imperfect: Evaluating Graded Cognitive Diversity in LLM Persona Simulations](https://refivu.com/papers/2a630784-93c8-4318-8368-838f443309f1-imperfectly-imperfect-evaluating-graded-cognitive-diversity.md)
- [Seeing Isn't Enough: Unlocking Visual Reasoning by Bridging the Reasoning-Access Gap with TIGER](https://refivu.com/papers/c32fbf94-4cbb-401d-b218-b88905246194-seeing-isn-t-enough-unlocking-visual-reasoning-by.md)
- [CulturalCrosswords: A Multilingual Benchmark comprised of Answer Constraints and Grid Completion](https://refivu.com/papers/85ccc42d-fd1d-442c-b49c-babe3b1b3e03-culturalcrosswords-a-multilingual-benchmark-comprised-of.md)
- [UniLatent: Cross-Embodiment Transfer via Latent Observation Alignment](https://refivu.com/papers/34df7b13-6a07-47d8-9c0b-3ed84c8d1337-unilatent-cross-embodiment-transfer-via-latent-observation.md)
- [REFORM-3D: A Representation-Centric Evaluation Framework for 3D Medical Vision Foundation Models](https://refivu.com/papers/09c21d02-07bb-40da-a845-16862c6f9fbb-reform-3d-a-representation-centric-evaluation-framework-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15-when-greedy-is-sorting-exact-and-certified-ideal)
