Schematize: An Agentic System for Generating and Refining Information-Extraction Schemas for Legal Research

Albert Sawczyn, Jakub Binkowski, Kamil Tagowski, Łukasz Augustyniak, Berenika Kaczmarek-Templin +1 more
9/1/2026
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Empirical legal research often relies on turning research questions into structured data extracted from large collections of rulings and judgments. Designing the extraction schema and then extracting the data remain a manual, expertise-heavy bottleneck.

Show full abstract

We present schematize, an open-source multi-agent system that interactively turns a researcher's problem statement into a validated extraction schema that can later be used for autonomous extraction. Schematize couples (i) a clarification dialogue that elicits implicit expert intent, (ii) iterative schema generation, (iii) data-grounded refinement that tests the schema against documents, and (iv) chat-based post-editing. We evaluated the system with human legal professional, introducing our novel methodology, and schematize achieves top performance in most of tested configurations. While the system is designed to be domain-agnostic and applicable to any document collection, we tailor and evaluate it on legal research problems. We release schematize as a pip-installable Python package with full documentation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sawczyn2026schematize,
  title  = {Schematize: An Agentic System for Generating and Refining Information-Extraction Schemas for Legal Research},
  author = {Albert Sawczyn and Jakub Binkowski and Kamil Tagowski and Łukasz Augustyniak and Berenika Kaczmarek-Templin and Tomasz Kajdanowicz},
  year   = {2026},
  eprint = {2609.22209},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.22209v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.22209.svg)](https://codeofpaper.com/paper/2609.22209)

Discussion