Catalog / Predictive Analytics & Forecasting / PRED-038

Litigation outcome prediction & legal analytics

Estimate the likely outcome, duration and value of disputes from case facts, court statistics and precedent, to support settlement, budgeting, funding and case-selection decisions by law firms, legal departments, insurers and litigation funders.

Lawyers, legal departments, insurers and litigation funders must decide whether to sue, defend, settle or finance a case with very little hard data. Legal analytics turns court records and own matter history into statistics (win rates, durations, award sizes) and, increasingly, into calibrated outcome forecasts for a specific case. These are decision aids with wide uncertainty, not oracles. In the EU the main constraints are scarce structured data, national bans or limits on profiling individual judges, and AI Act high-risk rules when a court itself uses such a system.

Problem & value

  • Today: case assessments rest on partner experience, a handful of precedents and gut feeling. Litigation funders and legal-expense insurers price risk with spreadsheets and expert panels; corporate legal departments budget disputes with rough rules of thumb.
  • AI value: (1) descriptive analytics over court data (grant rates of motions, time to judgment, damages ranges); (2) similarity search over precedent with LLMs; (3) supervised models that give a probability for a defined outcome class; (4) portfolio-level reserving and funding decisions (see PRED-037).
  • Evidence level: academic studies show that outcomes can be predicted better than naive baselines, but only modestly. A random forest on the US Supreme Court Database predicted about 70% of case outcomes and about 72% of individual justice votes over 1816-2015, against baselines of about 67% and 66% [2]. On the Swiss Federal Supreme Court benchmark (~85k decisions, three languages) hierarchical BERT models reached roughly 68-70% macro-F1 [3][4]. Vendor accuracy claims (e.g. "85% on motion prediction" [5]) are self-reported and not independently audited; treat them as marketing until validated on your own data.

Variants

  • Law-firm / in-house case assessment: early-case assessment, settlement ranges, budget and duration forecast.
  • Litigation funding & legal-expense insurance: case-selection scoring and portfolio pricing; link to PRED-010 and PRED-037.
  • Mass claims (consumer, diesel, flight compensation, data-protection claims): high-volume, structured, the segment where statistical models work best; see also DOC-020 on the court side.
  • Opposing-counsel and venue analytics (mainly US): docket-based statistics on counsel, courts and motions (e.g. Lex Machina, Pre/Dicta).
  • UK / Commonwealth claim analytics: e.g. Solomonic for English High Court claims [6].
  • Arbitration and IP (patent) outcome analytics: niche, small datasets, mostly descriptive.
  • Private use: consumer-claim "will I win?" tools (rent, flight delay, traffic fines) built on a few structured features; keep to low-stake, transparent estimates.
  • Not covered here: recidivism and offender risk scoring (PRED-045), insurer claim severity (PRED-037), eDiscovery (DOC-021).

How it works

  1. case intake (facts, claim value, court, stage, documents)
  2. document parsing + fact/issue extraction (OCR, LLM, schema)
  3. feature building (structured features + text embeddings; precedent retrieval)
  4. models: descriptive stats | similar-case retrieval | outcome classifier / survival model for duration
  5. calibration + uncertainty (probability intervals, conformal / calibration curves)
  6. explanation (key factors, nearest precedents with citations)
  7. lawyer review
  8. decision (settle / sue / fund / reserve)
  9. outcome logged for retraining
  • Structured models: gradient boosting or logistic regression on metadata (court, legal area, value, stage); survival models for time to judgment. In most settings these beat text-only models on small data and are easier to audit.
  • Text models: encoder classifiers (BERT-class) for judgment prediction benchmarks [3][4]; LLMs mainly for fact extraction, issue spotting and precedent summarisation, not for the final probability.
  • Retrieval: hybrid search (BM25 + embeddings + reranker) over decisions, so every forecast is shown with its comparable cases.
  • Human-in-the-loop: a qualified lawyer owns the assessment; the model output is one input, recorded with its uncertainty. No automatic decisions about people.

Data preparation

Needed are own matter data (outcomes, settlements, costs, durations), case documents (pleadings, claim letters, judgments) and external court decisions and docket data. Internally they sit in the DMS or matter-management system, on file shares, in mail and, for older cases, on paper. External case law comes from open portals or commercial databases.

Typical gaps: outcomes recorded only as free text, scanned pleadings, inconsistent legal-area and court coding, missing claim values, duplicate or split matters, and strong selection bias because most cases settle. Access rights matter: matter files are confidential and often covered by professional secrecy.

Preparation steps: (1) inventory matters and define a minimal outcome schema (PREP-019, PREP-002); (2) scan and OCR paper files (PREP-006, DOC-014, DOC-018); (3) extract metadata (court, area, value, stage) with an LLM and verify a sample (PREP-010); (4) harvest outcome labels from closed matters (PREP-020); (5) pseudonymise parties before analytics (PREP-022); (6) build an evaluation set with experienced lawyers (PREP-018); (7) clean up folder permissions (PREP-023). Tools: Paperless-ngx or a DMS with OCR, Python, a vector database for precedent search.

Rough share of effort: 50 to 60 percent. See GUIDE-003.

Implementation paths

Which path for whom

  • SMB (law firms, small legal teams): Path A, because commercial legal-analytics and case-law platforms already cover court statistics and precedent search, and building an own corpus is out of proportion for a small firm.
  • Enterprise: Path B, because insurers, funders and large legal departments hold valuable own matter data and need calibrated, portfolio-level models integrated with matter management.
  • Developer: Path C, because open case law, embedding models and open-weight LLMs can be combined locally, which suits confidential case facts and gives control over calibration and citation checking.

Path A — Buy

  • US-centric analytics: Lex Machina (LexisNexis; docket analytics), Pre/Dicta (motion and judge-based forecasts, claims 85% accuracy on motion prediction, self-reported [5]), Westlaw/Practical Law and Bloomberg Law analytics modules.
  • UK: Solomonic (High Court claim outcomes, judge behaviour, expert evidence) [6].
  • EU / German-language context (EU): Doctrine (France; legal research assistant with case-law database covering FR, IT, DE, ES, LU, European hosting, ISO 27001; research and litigation-file tooling rather than outcome probabilities) [7]. German providers such as Beck (beck-online), Juris, Wolters Kluwer and Legal-tech startups (Libra, Noxtua, Harvey-type assistants) offer research and drafting assistants; dedicated numeric outcome prediction for German courts is largely absent because court decisions are only partially published and docket data is not open. Verify any vendor's claim for the specific jurisdiction.
  • Choose A when: you work in US/UK litigation, need descriptive analytics fast, and accept that predictions are indicative. Ask vendors for backtests, calibration data and data coverage by court.

Path B — Build on cloud APIs

  • Pipeline: document parsing (Azure Document Intelligence, Mistral OCR - EU), extraction and precedent summarisation with an LLM through EU-region endpoints (Mistral, Azure OpenAI EU, Claude or Gemini via EU regions), structured outputs into a feature table, then a classical model (scikit-learn, LightGBM) trained on your own matters.
  • Data: open case law (e.g. Open Legal Data for Germany, EUR-Lex/CURIA, HUDOC, national portals; check licence and anonymisation) plus internal matter data.
  • Choose B when: you have 500+ comparable closed matters (e.g. mass claims, a legal-expense insurer, a funder) and need integration with your matter-management system.

Path C — Self-host (open source)

  • Models: open-weight LLMs for extraction and retrieval (Qwen, Llama, Mistral families, served via vLLM), multilingual legal encoders (e.g. legal-BERT variants, XLM-R-based models) for classification, bge-m3 or similar for embeddings; OpenSearch or Qdrant for hybrid retrieval; LightGBM / lifelines for tabular and survival models.
  • Benchmarks for evaluation: Swiss-Judgment-Prediction [3][4], LegalBench for general LLM legal reasoning [8].
  • Hardware: HW2 (one 24-32 GB GPU) is enough for extraction, embedding and fine-tuning small encoders; HW3 for larger LLMs when privilege (Anwaltsgeheimnis, § 203 StGB) forbids external processing.
  • Choose C when: client confidentiality or on-prem policy excludes cloud APIs (law firms, public bodies).

Path D — Custom training

Worth it for funders, insurers and large legal departments with their own matter history: train outcome, duration and settlement-value models on closed matters, plus fine-tuned legal encoders on national case law. Needs labelled outcomes (not only "won/lost" but partial success, settlement amounts, costs), consistent coding of legal issues, and a held-out time-based validation (train on earlier years, test on later ones) to avoid leakage. Small samples (<~300 comparable cases) usually support only descriptive statistics.

State of the art (2026)

  • Research: legal judgment prediction (ECtHR, Swiss, Chinese, US datasets) is an established NLP task; reported accuracies are modest and sensitive to dataset construction. A known pitfall is that texts of judgments contain the reasoning of the outcome itself, so naive text models can "predict" from leaked wording rather than from facts available ex ante [3][4].
  • LLMs: general-purpose reasoning LLMs score well on many LegalBench-type tasks [8] but are not calibrated forecasters of case outcomes; use them for extraction, issue spotting and precedent analysis, and calibrate numeric probabilities separately.
  • Commercial trend: analytics vendors add LLM assistants on top of docket and case-law data; the differentiator is data coverage and cleanliness, not the model. Doctrine and similar EU platforms focus on research and file analysis [7].
  • Limits and failure modes: selection bias (only some cases reach judgment, most settle), small samples, drift through legislative change, missing facts that decide cases (evidence quality, witness credibility), overconfident probabilities, circularity (published predictions change litigant behaviour), and hallucinated citations in LLM output.
  • I could not independently verify product-level accuracy claims; none are accepted here without backtest evidence.

Shared resources & combinations

  • Shared building blocks: document parsing and LLM extraction (DOC-010 contract review, DOC-011 due diligence, DOC-021 eDiscovery), hybrid search/RAG over legal texts, tabular ML stack shared with PRED-009, PRED-010 and PRED-037, one HW2/HW3 GPU server serves all of them.
  • Natural combinations: PRED-037 (claims severity, litigation propensity and reserving) consumes outcome and duration forecasts; PRED-010 underwriting for legal-expense insurance; ANOM-003 fraud screening on claims; PRED-021 collections prioritisation (dispute likelihood); DOC-020 is the court-side counterpart (high-risk, see below).
  • Do not merge with: PRED-045 (offender risk) - different legal regime and affected persons.

Effort, cost & KPIs

  • Path A: days to weeks; subscription pricing per seat/module (US vendors are typically expensive; request quotes).
  • Path B: 3-6 months incl. data collection and labelling; main cost is data engineering and lawyer time for coding outcomes.
  • Path C: 4-9 months plus GPU server and ML operations.
  • Path D: 6-12+ months; requires a stable matter-data pipeline.
  • KPIs: calibration (Brier score, reliability curve), accuracy vs. a base-rate baseline on a time-split test set, error in duration/cost forecast, share of cases where the forecast changed the decision, realised vs. predicted settlement value, funder portfolio loss ratio.

People & change

Involve management (budget, risk appetite for relying on predictions) and the head of the legal or claims department first; add practising lawyers as end users from the start, because they supply the labels and judge plausibility. IT and the owners of the DMS and matter data are needed for access; legal/compliance clarifies professional secrecy and client consent. The DPO is involved because party and case data are personal and often sensitive; a DPIA is likely if people are systematically evaluated, and every vendor needs an AVV (GUIDE-005).

Works council: usually no, because the tool analyses cases, not employees. It becomes relevant if usage logs or per-lawyer statistics are created (§87(1) no. 6 BetrVG) or when work processes change materially (§90(1) no. 3), so inform the council briefly (GUIDE-004).

Measures to support AI literacy (Art. 4 AI Act): teach lawyers what a calibrated probability is, how selection bias distorts results, and to verify every cited decision (GUIDE-006). Start a pilot with one practice group on already closed matters and compare predictions with real outcomes before using them live (GUIDE-009). Typical concerns: fear of replacing legal judgement and of hallucinated citations. Address them by positioning outputs as one input for settlement and budget decisions, mandatory source checks, and the lawyer retaining the decision and the client advice.

Risks, regulation & compliance

  • EU AI Act: classification depends on the user. AI used by or on behalf of a judicial authority to research, interpret facts and law or apply law to facts is high-risk (Annex III, point 8(a)) [1]. Tools used by law firms, insurers, funders or companies for their own case assessment are generally not listed in Annex III and are mostly minimal risk, but become high-risk if they feed decisions on access to essential services (e.g. insurance pricing is only high-risk for life/health, credit scoring for natural persons) or are used in employment disputes to evaluate workers. Check the Annex III and Art. 6(3) exceptions case by case; AI literacy (Art. 4) applies to all deployers. Art. 5 is not triggered by the pure case-analytics use, but profiling individuals to predict criminal offences is a prohibited practice (see PRED-045/PRED-039).
  • Judge analytics: France prohibits (criminal penalty) reuse of identity data of judges and court clerks to evaluate, analyse, compare or predict their professional practices (Art. 33 of Loi n° 2019-222). Other EU states have no such explicit ban, but GDPR and judicial-independence concerns apply; avoid judge-level profiling in the EU and aggregate to court or chamber level.
  • GDPR: decisions and pleadings contain personal data (including special categories and criminal data, Art. 9/10); anonymise (DOC-018), define a legal basis and purpose, run a DPIA; automated individual decisions (Art. 22) must not be taken solely on the model's output against a data subject, e.g. refusing a consumer's claim.
  • Professional secrecy: § 43a BRAO / § 203 StGB (Germany) and equivalents limit what client data can go to external AI providers; prefer Path C or contractual safeguards with EU processing.
  • Court-side use: the CEPEJ ethical charter and the Act's Annex III point 8 apply; keep judges as decision makers. Predictive "justice" for sentencing is out of scope here (PRED-045).
  • Mitigations: time-split validation, calibration, show comparable cases and uncertainty, no deterministic wording ("will win"), lawyer sign-off, log inputs and outputs, regular back-testing.

Getting started

  1. Define the decision (settle vs. sue, fund vs. decline, reserve) and the outcome classes you need to predict; check whether you have 300-500 comparable closed matters.
  2. Start with descriptive analytics on your own matters (durations, costs, win rates by legal area and court) before any model.
  3. Trial one commercial analytics tool (Path A) or an open case-law set on a past-cases backtest where you know the answer.
  4. Build the extraction pipeline (parsing + LLM schema) and a simple calibrated model; compare against the base rate on a time-based split.
  5. Document governance: DPIA, professional-secrecy review, lawyer sign-off, and a rule that outputs are ranges, not verdicts.

Sources

  1. EU AI Act, Annex III (high-risk systems, point 8 administration of justice) — https://artificialintelligenceact.eu/annex/3/ (accessed 2026-10)
  2. Katz, Bommarito, Blackman: A general approach for predicting the behavior of the Supreme Court of the United States, PLOS ONE 2017 — https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0174698
  3. Swiss-Judgment-Prediction dataset (rcds), Hugging Face — https://huggingface.co/datasets/rcds/swiss_judgment_prediction
  4. Niklaus et al.: Swiss-Judgment-Prediction: A Multilingual Legal Judgment Prediction Benchmark (2021) — https://arxiv.org/abs/2110.00806
  5. Pre/Dicta (vendor site; accuracy claim self-reported) — https://www.pre-dicta.com/
  6. Solomonic (UK litigation analytics) — https://www.solomonic.co.uk/
  7. Doctrine (French/European legal AI platform) — https://www.doctrine.fr/
  8. Guha et al.: LegalBench (162 legal reasoning tasks) — https://arxiv.org/abs/2308.11462
  9. Legal Technology Hub, litigation analytics overview (generic description of docket-analytics tools) — https://www.legaltechnologyhub.com/topics/litigation-management/litigation-analytics/