# Rozwiązywanie koreferencji (kto to „on”?)

EN: **Coreference resolution** · id `coreference` · aliases: coreference resolution, coref, koreferencja

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Język, obraz, audio](https://aiatlasgraph.com/t/modalities.md) › [Język naturalny](https://aiatlasgraph.com/t/nlp.md) › [Wydobywanie informacji z tekstu (nazwy własne, relacje)](https://aiatlasgraph.com/t/infoextraction.md) › Rozwiązywanie koreferencji (kto to „on”?)

## Description

- PL: Grupowanie wzmianek (nazw, opisów, zaimków) odnoszących się do tej samej encji w klastry w obrębie dokumentu.
- EN: Clustering mentions (names, descriptions, pronouns) that refer to the same entity within a document.

## In one sentence

- PL: Program ustala, które słowa w tekście — „ona”, „prezes”, „pani Nowak” — mówią o tej samej osobie lub rzeczy.
- EN: Software works out which words in a text — 'she', 'the chair', 'Ms Smith' — refer to the same person or thing.

## Problem it solves

- PL: Ludzie rzadko powtarzają pełne nazwy, więc program czytający zdanie po zdaniu gubi, o kim jest mowa.
- EN: People rarely repeat full names, so software reading sentence by sentence loses track of who is meant.

## What it does

- PL: Łączy rozrzucone po tekście zaimki i opisy w jedną nitkę na każdą postać, jak kolorowe zakładki w książce.
- EN: It ties pronouns and descriptions scattered through a text into one thread per character, like coloured bookmarks.

## Everyday example

- PL: Asystent streszcza długi wątek mailowy i poprawnie pisze, kto obiecał co zrobić, choć w mailach padało głównie „on” i „ja”.
- EN: An assistant summarises a long email thread and correctly says who promised what, though the emails mostly said 'he' and 'I'.

## This concerns you if you…

- PL: wyciągasz fakty z długich tekstów
- PL: analizujesz rozmowy lub wywiady
- PL: streszczasz dokumenty z wieloma osobami
- EN: pull facts out of long texts
- EN: analyse conversations or interviews
- EN: summarise documents involving many people

## Keywords

coreference resolution · mention detection · antecedent scoring · span-based coreference · Winograd schema · coreference benchmark · pronoun resolution

## How it works

- PL: Model end-to-end traktuje każdy span jako potencjalną wzmiankę, ocenia jego prawdopodobieństwo i dla każdego wybiera poprzednika (antecedent) albo brak. Reprezentacje spanów łączą kontekstowe wektory granic z uwagą nad słowami głównymi; łańcuchy poprzedników tworzą klastry.
- EN: An end-to-end model treats every span as a possible mention, scores it and picks an antecedent or none for each. Span representations combine contextual boundary vectors with attention over head words; antecedent chains form clusters.

## Limits

- PL: Liczba par wzmianek rośnie szybko wraz z długością tekstu, dlatego modele agresywnie przycinają kandydatów i mogą pominąć właściwą wzmiankę. Wieloznaczne zaimki pozostają trudne, gdy rozstrzygnięcie wymaga informacji spoza dokumentu.
- EN: The number of mention pairs grows quickly with document length, so models prune candidates aggressively and may discard the correct mention. Ambiguous pronouns remain difficult when resolving them requires information outside the document.

## Key terms

- PL: **antecedent**: Wcześniejsza wzmianka, do której odnosi się zaimek lub opis.
- PL: **mention**: Fragment tekstu wskazujący encję.
- PL: **klaster koreferencyjny**: Wszystkie wzmianki o tej samej encji.
- EN: **antecedent**: An earlier mention that a pronoun or description points back to.
- EN: **mention**: A text span that refers to an entity.
- EN: **coreference cluster**: All mentions of the same entity.

## Know first

- [Transformery i attention (Transformers and attention)](https://aiatlasgraph.com/t/transformers.md)

## Sources

- [End-to-end Neural Coreference Resolution](<https://arxiv.org/pdf/1707.07045>) `lee-2017-e2e-coreference` · by Kenton Lee, Luheng He, Mike Lewis, Luke Zettlemoyer

---

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