# Filtrowanie kolaboracyjne i faktoryzacja macierzy

EN: **Collaborative filtering and matrix factorisation** · id `collabfiltering`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Uczenie maszynowe](https://aiatlasgraph.com/t/ml.md) › [Systemy rekomendacyjne](https://aiatlasgraph.com/t/recommenders.md) › Filtrowanie kolaboracyjne i faktoryzacja macierzy

## Description

- PL: Polecanie na podstawie zachowań podobnych osób („kto kupił X, kupił też Y”); faktoryzacja macierzy uczy embeddingów użytkowników i produktów.
- EN: Recommending from the behaviour of similar people (“who bought X also bought Y”); matrix factorisation learns user and item embeddings.

## In one sentence

- PL: To polecanie rzeczy na podstawie powtarzających się wzorców wyborów wielu osób.
- EN: This recommends things using recurring patterns in many people's choices.

## Problem it solves

- PL: Nie znasz jeszcze wszystkiego, co mogłoby ci się spodobać, a sam opis rzeczy nie wystarcza do wyboru.
- EN: You have not discovered everything you might like, and item descriptions alone are not enough to choose.

## What it does

- PL: Szuka podobieństw w zachowaniach ludzi lub uczy krótkie liczbowe opisy osób i rzeczy, żeby przewidywać brakujące oceny lub wybory.
- EN: It finds similarities in behaviour or learns short numerical representations of people and items to predict missing ratings or choices.

## Everyday example

- PL: Dostajesz propozycję audycji, której słuchają też osoby wybierające wiele tych samych odcinków co ty.
- EN: You receive a programme suggestion because people who chose many of the same episodes as you also listen to it.

## This concerns you if you…

- PL: masz historię wyborów wielu osób
- PL: chcesz proponować rzeczy na podstawie podobnych zachowań
- EN: have records of many people's choices
- EN: want suggestions based on similar behaviour

## Keywords

ALS · SVD · BPR · user-item embeddings · two-tower models · implicit feedback

## How it works

- PL: Wzorce interakcji służą do wyszukiwania podobnych użytkowników lub obiektów. Faktoryzacja uczy ich wektorów, których iloczyny odtwarzają obserwowane oceny albo preferencje przy wybranej funkcji straty.
- EN: Interaction patterns identify similar users or items. Factorisation learns their vectors, whose products reconstruct observed ratings or preferences under a chosen loss.

## Limits

- PL: Brak interakcji nie oznacza braku zainteresowania. Rzadkie dane i cold start ograniczają dopasowanie, a bias ekspozycji może wzmacniać już popularne obiekty.
- EN: Missing interactions do not imply disinterest. Sparse data and cold starts limit fit, while exposure bias can reinforce already popular items.

## Key terms

- PL: **macierz interakcji**: Tabela zapisanych kontaktów użytkowników z obiektami.
- PL: **faktoryzacja**: Przybliżenie macierzy przez iloczyn mniejszych macierzy reprezentacji.
- EN: **interaction matrix**: A table of recorded user–item interactions.
- EN: **factorisation**: Approximating a matrix through products of smaller representation matrices.

## Know first

- [Algebra liniowa: wektory i macierze (Linear algebra: vectors and matrices)](https://aiatlasgraph.com/t/linearalgebra.md)
- [Estymacja parametrów (największa wiarygodność) (Parameter estimation (maximum likelihood, MAP))](https://aiatlasgraph.com/t/mle.md)

## Examples

- PL: macierz użytkownik–produkt · embeddingi · model two-tower
- EN: user–item matrix · embeddings · two-tower model

## Related topics

Untyped, symmetric "see also" links.

- [Reprezentacje i embeddingi (Representation learning)](https://aiatlasgraph.com/t/representations.md)
- [Rozkłady macierzy: wartości własne i SVD (Matrix decompositions: eigendecomposition and SVD)](https://aiatlasgraph.com/t/matrixdecomp.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 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/collabfiltering · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
