# Przegląd dokumentów przez modele językowe

EN: **LLM-based document review (generative TAR)** · id `llmdocreview` · aliases: GenAI document review, LLM document review, generative AI review, LLM relevance coding, przegląd dokumentów z GenAI

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w prawie](https://aiatlasgraph.com/t/legalai.md) › [E-discovery i przegląd dokumentów](https://aiatlasgraph.com/t/ediscovery.md) › Przegląd dokumentów przez modele językowe

## Description

- PL: Ocena istotności dokumentów w e-discovery przez LLM z promptem opisującym żądanie albo po dostrojeniu na zbiorze startowym, z generowanym uzasadnieniem.
- EN: Relevance assessment of documents in e-discovery by an LLM prompted with the request or fine-tuned on a seed set, with a generated rationale.

## In one sentence

- PL: Model językowy czyta każdy dokument w sprawie, ocenia, czy dotyczy sporu, i krótko uzasadnia swoją decyzję.
- EN: A language model reads each document in a case, judges whether it concerns the dispute and briefly explains its decision.

## Problem it solves

- PL: Klasyczne systemy wymagają na start tysięcy ocen prawnika i nie tłumaczą, czemu uznały dokument za ważny.
- EN: Classic systems need thousands of lawyer judgments to start and do not explain why they marked a document as important.

## What it does

- PL: Zamiast uczyć klasyfikator od zera, daje się modelowi opis tego, czego szukamy, jak instrukcję dla nowego członka zespołu.
- EN: Instead of training a classifier from scratch, you describe what you are looking for, like briefing a new team member.

## Everyday example

- PL: Kancelaria opisuje w kilku zdaniach, jakich maili szuka w sporze o zmowę cenową, a system przegląda setki tysięcy wiadomości i dopisuje do każdej powód oceny.
- EN: A law firm describes in a few sentences which emails it needs in a price-fixing dispute; the system reviews hundreds of thousands, noting a reason for each.

## This concerns you if you…

- PL: prowadzisz przegląd dużej liczby dokumentów w sporze
- PL: zastanawiasz się, czy AI zastąpi pierwszą linię przeglądu
- EN: run a review of many documents in a dispute
- EN: wonder whether AI will replace first-pass review

## Keywords

technology-assisted review · EDRM Enron · TREC Legal Track · LoRA · zero-shot classification · recall validation · elusion test · LLM rationale

## How it works

- PL: Model dostaje opis żądania dowodowego i treść dokumentu, a zwraca decyzję o istotności z uzasadnieniem. Można go użyć bez treningu albo dostroić adapterami LoRA na ocenach z zestawu startowego. Kompletność procesu nadal waliduje się statystycznie na próbkach, jak w klasycznym TAR.
- EN: The model receives a description of the discovery request and the document text and returns a relevance decision with a rationale. It can be used without training or fine-tuned with LoRA adapters on seed-set judgments. Process recall is still validated statistically on samples, as in classic TAR.

## Limits

- PL: W badaniu na korpusie poczty modele bez dostrajania osiągały F1 około 0,6–0,66, a dostrajanie pomagało nierówno między tematami. Długie dokumenty trzeba przycinać lub dzielić. Koszt i czas na milionach dokumentów są znaczne, wynik może różnić się między uruchomieniami, a proces wymaga udokumentowanej walidacji.
- EN: In a study on an email corpus, models without fine-tuning reached F1 of about 0.6–0.66, and fine-tuning helped unevenly across topics. Long documents must be truncated or split. Cost and time over millions of documents are considerable, results may vary between runs, and the process needs documented validation.

## Key terms

- PL: **TAR**: Przegląd dokumentów wspierany uczonym klasyfikatorem.
- PL: **zestaw startowy (seed set)**: Pierwsze dokumenty ocenione przez prawnika.
- PL: **recall**: Odsetek wszystkich istotnych dokumentów, które proces znalazł.
- EN: **TAR**: Document review supported by a trained classifier.
- EN: **seed set**: The first documents judged by a lawyer.
- EN: **recall**: The share of all relevant documents the process found.

## Know first

- [Klasyfikacja tekstu i analiza sentymentu (Text classification and sentiment analysis)](https://aiatlasgraph.com/t/textclassification.md)
- [LoRA (Low-rank adaptation)](https://aiatlasgraph.com/t/lora.md)

## Related topics

Untyped, symmetric "see also" links.

- [Ciągłe aktywne uczenie w przeglądzie dokumentów (Continuous active learning for document review (CAL))](https://aiatlasgraph.com/t/calreview.md)

## Sources

- [Exploration of Open Large Language Models for eDiscovery](<https://aclanthology.org/2023.nllp-1.17>) `pai-open-llm-ediscovery-2023` · by Sumit Pai, Sounak Lahiri, Ujjwal Kumar, Krishanu Baksi, Elijah Soba, Michael Suesserman, Nirmala Pudota, Jon Foster, Edward Bowen, Sanmitra Bhattacharya

---

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