# Generowanie kandydatów, scoring i re-ranking

EN: **Candidate generation, scoring and re-ranking** · id `recpipeline`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Uczenie maszynowe](https://aiatlasgraph.com/t/ml.md) › [Systemy rekomendacyjne](https://aiatlasgraph.com/t/recommenders.md) › Generowanie kandydatów, scoring i re-ranking

## Description

- PL: Typowa architektura dużych systemów: szybko zawęzić ogromny katalog do setek kandydatów, dokładniej je ocenić, a na końcu uwzględnić świeżość, różnorodność i reguły biznesowe.
- EN: The typical architecture of large systems: quickly narrow a huge catalogue to hundreds of candidates, score them more precisely, then account for freshness, diversity and business rules.

## In one sentence

- PL: To wybieranie propozycji etapami: od zawężenia katalogu po ułożenie końcowej listy.
- EN: This selects recommendations in stages, from narrowing a catalogue to arranging the final list.

## Problem it solves

- PL: Dokładne ocenianie każdej rzeczy w ogromnym katalogu jest kosztowne, a sama zgodność z zainteresowaniami nie wystarcza.
- EN: Scoring every item in a huge catalogue is costly, and matching interests alone is not enough.

## What it does

- PL: Najpierw szybko wybiera kandydatów, potem ocenia ich dokładniej, a na końcu uwzględnia różnorodność, świeżość i dodatkowe reguły.
- EN: It first selects candidates quickly, then scores them more carefully and finally accounts for variety, freshness and additional rules.

## Everyday example

- PL: Lista audycji powstaje przez wybór pasujących odcinków, ocenę zainteresowania i dodanie świeżych tematów, żeby propozycje nie były identyczne.
- EN: A programme list selects suitable episodes, estimates your interest and includes fresh topics so the suggestions are not all alike.

## This concerns you if you…

- PL: wybierasz z katalogu zbyt dużego do dokładnego przeglądania
- PL: chcesz uwzględnić różnorodność lub reguły końcowej listy
- EN: choose from a catalogue too large to inspect exhaustively
- EN: want variety or rules reflected in the final list

## Keywords

approximate nearest neighbor · learning to rank · LambdaMART · nDCG@k · Maximal Marginal Relevance · diversity constraints

## How it works

- PL: Tani etap retrieval ogranicza katalog do kandydatów, a bogatszy model ocenia ich dopasowanie do kontekstu. Re-ranking uwzględnia dodatkowe reguły, różnorodność i świeżość przed ułożeniem końcowej listy.
- EN: A cheap retrieval stage narrows the catalogue to candidates, and a richer model scores contextual fit. Re-ranking applies further rules, diversity and freshness before producing the final list.

## Limits

- PL: Obiektu pominiętego w kandydaturach nie odzyska późniejszy ranking. Etapy wymagają zgodnych cech i metryk, a reguły końcowe mogą pogarszać cel modelu punktującego.
- EN: Later ranking cannot recover items missing from candidate retrieval. Stages need compatible features and metrics, while final rules can reduce the scoring model's objective.

## Key terms

- PL: **generowanie kandydatów**: Szybki wybór podzbioru katalogu do dokładniejszej oceny.
- PL: **re-ranking**: Ponowne uporządkowanie kandydatów z dodatkowymi kryteriami końcowej listy.
- EN: **candidate generation**: Quickly selecting a catalogue subset for more detailed scoring.
- EN: **re-ranking**: Reordering candidates with additional final-list criteria.

## Know first

- [Embeddingi zdań i dokumentów (modele embeddingowe) (Sentence and document embeddings (embedding models))](https://aiatlasgraph.com/t/textembeddings.md)
- [Metryki klasyfikacji i regresji (Classification and regression metrics)](https://aiatlasgraph.com/t/classmetrics.md)

## Examples

- PL: retrieval kandydatów · model rankingowy · różnorodność wyników
- EN: candidate retrieval · ranking model · result diversity

## Related topics

Untyped, symmetric "see also" links.

- [Reranking i fuzja wyników (Reranking and result fusion)](https://aiatlasgraph.com/t/reranking.md)
- [Uczenie rankingu (learning to rank) (Learning to rank)](https://aiatlasgraph.com/t/learningtorank.md)

## Sources

- [Google — Recommendation Systems: Recommendations overview (types / architecture)](<https://developers.google.com/machine-learning/recommendation/overview/types>) `google-recsys-architecture` · by Google for Developers

---

AI Atlas revision 124 (2026-10-31) · HTML: https://aiatlasgraph.com/t/recpipeline · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
