\documentclass{article} % Encoding (for the verbatim UTF-8 German prompt listings in the appendix; % remove these two lines if the class already loads inputenc and clashes) \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} % Figures & tables \usepackage{microtype} \usepackage{graphicx} \usepackage{booktabs} % professional tables (main results table) \usepackage{float} % Verbatim listings for the expert prompts and dataset samples (appendix) \usepackage{listings} \lstdefinestyle{promptstyle}{% basicstyle=\ttfamily\footnotesize,% breaklines=true,% breakautoindent=false,% columns=fullflexible,% keepspaces=true,% showstringspaces=false,% frame=single,% xleftmargin=1em,% extendedchars=true,% literate=% {ä}{{\"a}}1 {ö}{{\"o}}1 {ü}{{\"u}}1 {Ä}{{\"A}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1% {ß}{{\ss}}1 {§}{{\S}}1% {„}{{,,}}1 {“}{{``}}1 {”}{{''}}1 {–}{{--}}1 {—}{{---}}1 {…}{{\ldots}}1% } \usepackage{hyperref} % Math \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathtools} \usepackage{amsthm} % cleveref for \cref \usepackage[capitalize,noabbrev]{cleveref} % Theorem-like environments \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \newtheorem{example}{Example} \theoremstyle{remark} \newtheorem{remark}{Remark}[section] \begin{document} % Title, authors, abstract [...] \section{Introduction} \label{sec:intro} [...] \section{Task Methodology} \label{sec:task} [...] \section{From Definition to a Sentence-Level Task} \label{sec:pipeline} [...] \section{Dataset} \label{sec:dataset} [...] \section{Baseline Evaluations} \label{sec:experiments} We evaluate four LLMs from three model families under different prompts to establish a first baseline performance for the introduced task: DeepSeek-V4 in its Pro and Flash variants, Gemini~3.5 Flash Lite, and MiniMax~M3. DeepSeek-V4 and MiniMax~M3 are open-weight models; Gemini~3.5 Flash Lite is a proprietary model. All four are reasoning models and were run at temperature 1.0. The models are compared across two sets of prompts: one that is not model-specific, crafted by an expert, and one that is optimized using Genetic-Pareto (GEPA) \citep{agrawal2025gepa}, starting from the expert prompt.\footnote{The expert prompts illustrate each criterion with worked examples. Most are excerpts from the corpus, but some are constructed to isolate a single distinction as cleanly as a real passage rarely does; these carry placeholder citations such as ``BVerfGE 123, 456'' and are not references to decisions. All prompts are released with the datasets (\cref{fn:wandb}).} The purpose of the GEPA condition is to validate the expert baseline: at a time when automatic prompt optimization frequently outperforms hand-written prompts, a hand-crafted baseline is only meaningful if it can be shown not to sit far below what optimization attains. GEPA thus serves as an orientation point for what current models can achieve on the task, against which the expert prompt is anchored. In the GEPA condition, the models are accordingly not evaluated across one static prompt, but across a model-specific prompt produced by an optimizer with static settings: DeepSeek-v4-Pro was used as the reflection language model for all four evaluated models, at temperature 1.0 with a maximum of 8,000 tokens, and the maximum metric calls budget was set to auto=light. The built-in instruction proposer was modified so that the resulting prompt would be German. GEPA \citep{agrawal2025gepa} evolves prompts by reflecting in natural language on execution traces and selecting along a Pareto frontier of candidates; because it learns from a handful of rollouts rather than from gradient updates over many labeled examples, it is markedly more sample-efficient than tuning-based adaptation and the optimization stage consumes correspondingly little data. We optimize the binary subtasks for accuracy (though we report F1, \cref{app:more-models}), and the statutory reference task for sample-averaged F1. Because GEPA scores each rollout individually, its target must be a per-instance metric: a single binary decision admits only correct/incorrect (accuracy in aggregate), whereas the statutory reference output is a set of provisions with a per-document F1 to average. We exploit GEPA's efficiency with an atypical 20/20/60 split: for each subtask, 20\% of instances drive GEPA's reflective search, a further 20\% provide the validation signal it optimizes against, and the remaining 60\% are held out as a test set touched only once, for the numbers reported here. Allocating the majority of the labeled data to the test split yields the most reliable evaluation our annotation budget allows. At classification time the model never sees a unit in isolation. Each instance embeds the unit under classification in its surrounding sentence context, with the target span(s) marked by inline XML tags (\texttt{} for a reading, \texttt{} for a candidate argument); the unit is a single sentence for the reading criteria and a (reading, candidate) pair for the argument subtasks. The context spans two sentences on either side, widened to the ten preceding sentences for the statutory reference subtask, whose governing citation often lies further upstream (\cref{sec:dataset}). Every subtask is binary except for the statutory reference subtask, which is a citation-extraction target. For each instance the model first emits a free-text \texttt{reasoning} field and then a structured decision: a binary value for the seven binary subtasks, or a list of statutory provisions for the statutory reference subtask. The output is produced by constrained decoding wherever the backbone supports it, and falls back to JSON mode otherwise. For the seven binary subtasks we report $F_1$ on the positive class; per-subtask precision and recall are given in \cref{app:more-models}. The \textit{statutory reference} subtask is reported separately because it is scored by set-overlap $F_1$ between predicted and gold statutory citations rather than as a binary decision, so a single binary $F_1$ would not be comparable. Deciding whether a predicted citation matches a gold is challenging by string comparison, because the same provision admits many surface forms (\textit{\S~2 Rechtshilfegesetz} / \textit{\S~2 des Rechtshilfegesetzes} / \textit{\S~2 RhG}). We therefore match with an LLM judge (DeepSeek-V4-Pro), which is shown the gold list for one sentence together with a single predicted citation and maps that prediction to at most one entry of the list, or to none. The judge is instructed to tolerate formatting variation, for example roman numerals for \textit{Abs.}, a trailing number for \textit{Satz}, alternative statutory abbreviations, and differences in whitespace, punctuation and case, but to insist on the exact section, article, paragraph, number and lettered subdivision. Predicted citations are deduplicated before judging; a prediction that the judge matches to no gold entry, or to one already claimed by an earlier prediction, counts as a false positive, and every gold entry left unclaimed counts as a false negative. Per-document set-overlap $F_1$ averages the resulting per-sentence $F_1$ over the test sentences, crediting $1.0$ where gold and prediction are both empty; span-level precision, recall and $F_1$ pool the counts over all sentences instead. Because the judge is itself a language model, its decisions are released alongside the predictions, so that the reported scores can be recomputed exactly without re-running it. The judge prompt is released with the other prompts. All intervals are 95\% bootstrap confidence intervals from 1{,}000 resamples of the test set, reported as the 2.5th and 97.5th percentiles. \section{Results} \label{sec:results} [...] \begin{table*}[t] \centering \small \caption{Per-subtask $F_1$ on the positive class for all four models under the expert and GEPA prompts. Point estimates only; 95\% bootstrap CIs and per-cell precision and recall are in \cref{app:more-models}. ``Mean'' averages the seven binary subtasks.} \label{tab:main-results} [...] \vskip 2pt {\footnotesize\raggedright $^{\dagger}$\textit{Statutory reference} is a citation-extraction target scored by per-document set-overlap $F_1$, not a binary $F_1$.\par} \end{table*} \section{Error Analysis} \label{sec:error-analysis} [...] \section{Discussion and Limitations} \label{sec:discussion} [...] \section{Conclusion} \label{sec:conclusion} [...] \section*{Impact Statement} [...] \bibliography{references} \bibliographystyle{icml2026} % <-- (3) bib style \newpage \appendix \onecolumn \section{Complete Model Scores} \label{app:more-models} Tables~\ref{tab:pro-results-app}--\ref{tab:minimax-results} report per-subtask precision, recall and $F_1$ for all four models on the seven binary subtasks, and \cref{tab:statref-app} reports the \textit{statutory reference} subtask. Subtasks are named by the identifiers introduced in \cref{sec:dataset}. Precision and recall are point estimates; $F_1$ carries a 95\% bootstrap CI (1{,}000 resamples). ``Mean'' averages the seven binary subtasks. \begin{table}[!ht] \centering \small \caption{Precision, recall and $F_1$ (positive class) for DeepSeek-V4-Pro across the seven binary subtasks. P and R are point estimates; $F_1$ carries the 95\% bootstrap CI (1{,}000 resamples). \textit{Statutory reference} is reported separately in \cref{tab:statref-app}.} \label{tab:pro-results-app} [...] \end{table} \begin{table}[!ht] \centering \small \caption{Precision, recall and $F_1$ (positive class) for DeepSeek-V4-Flash across the seven binary subtasks. P and R are point estimates; $F_1$ carries the 95\% bootstrap CI (1{,}000 resamples). \textit{Statutory reference} is reported separately in \cref{tab:statref-app}.} \label{tab:flash-results} [...] \end{table} \begin{table}[!ht] \centering \small \caption{Precision, recall and $F_1$ (positive class) for Gemini 3.5 Flash Lite across the seven binary subtasks. P and R are point estimates; $F_1$ carries the 95\% bootstrap CI (1{,}000 resamples). \textit{Statutory reference} is reported separately in \cref{tab:statref-app}.} \label{tab:gemini-results} [...] \end{table} \begin{table}[!ht] \centering \small \caption{Precision, recall and $F_1$ (positive class) for MiniMax M3 across the seven binary subtasks. P and R are point estimates; $F_1$ carries the 95\% bootstrap CI (1{,}000 resamples). \textit{Statutory reference} is reported separately in \cref{tab:statref-app}.} \label{tab:minimax-results} [...] \end{table} \begin{table}[!ht] \centering \small \caption{\textit{Statutory reference} (\texttt{konkretes\_gesetz}), the citation-extraction subtask. \emph{Set-overlap} $F_1$ is the per-document metric reported in the main text and averages over the 180/240 empty-gold rows (a model that correctly returns no citation scores 1.0 on such a row). \emph{Span-level} P/R/$F_1$ count individual predicted vs.\ gold citations. $F_1$ columns carry 95\% bootstrap CIs.} \label{tab:statref-app} [...] \end{table} \clearpage \section{Expert System Prompts} \label{app:prompts} [...] \clearpage rd Schema} \label{app:schema} Every record is a JSON object with three top-level keys: an integer \texttt{id}, a \texttt{row} holding the sentence(s) under classification together with their surrounding context, and \texttt{observed} holding the gold labels for the subtask. One stripped example from each of the two datasets follows; some paragraph-level bookkeeping fields are elided and long text fields are truncated with \ldots. \paragraph{Record identity.} Every instance is identified by a small tuple of provenance fields, all recoverable from the annotation export. A \texttt{deutungen} record (a single candidate sentence) is identified by \texttt{(decision\_name, sentence\_id)}, where \texttt{sentence\_id} is the \texttt{satz\_id} of that sentence. An \texttt{arguments} record (a reading--candidate pair) is identified by \texttt{(decision\_name, deutung\_id, argument\_start\_index)}: \texttt{deutung\_id} is the reading's stable annotation identifier, carried through verbatim from the export and shared by every candidate paired with that reading, and \texttt{argument\_start\_index} is the character offset at which the candidate sentence's \texttt{satz} span begins, as recorded in the earlier export \texttt{dataset-project-46-2026-05-14-17-12-32.json} (the \texttt{start} field already carried on that candidate's \texttt{potential\_arguments} row, which equals that export's \texttt{document\_structure} \texttt{satz} \texttt{start}). \subsection{\texttt{arguments} (example from subtask \texttt{wortlaut})} Here the \texttt{row} is a (reading, candidate) pair: \texttt{deutung\_sentence} is the reading, \texttt{argument\_sentence} the candidate justification, and \texttt{observed} records the gate (\texttt{argument}) and each canon label. \begin{lstlisting}[style=promptstyle] { "id": 3, "row": { "decision_name": "BVerfGE32,273", "deutung_id": "3tDBjYneKo", "deutung_sentence": "Dafür spricht schon der Wortlaut, aber auch …", "argument_sentence": "Gegenüber Art. 119 Abs. 3 WRV hat Art. 6 Abs. 4 GG …", "argument_start_index": 7391, "relative_position": 1, "text_with_context": "… … … … …", "norm": ["Art. 6 IV GG"] }, "observed": { "wortlaut": 1, "systematik": 0, "geschichte": 1, "zweck": 0, "argument": 1, "reasoning": "Die Wortverbindung \"jeder Mutter\" wird herangezogen …" } } \end{lstlisting} \subsection{\texttt{deutungen} (example from subtask \texttt{konkretes\_gesetz})} Here the \texttt{row} is a single reading marked in \texttt{text\_with\_context}; \texttt{observed.konkretes\_gesetz} is the list of concrete provisions it interprets (empty when none), while the reading-criteria subtasks read the boolean fields of \texttt{observed}. \begin{lstlisting}[style=promptstyle] { "id": 2, "row": { "decision_name": "BVerfGE32,273", "sentence_id": 67, "text": "Verhält sich eine werdende Mutter nach dieser Vorschrift, …", "is_deutung": false, "text_with_context": "… … …", "norm": ["§ 5 Abs. 1 Satz 1 MuSchG"], "vermutlich_keine_behauptung": false }, "observed": { "nicht_abstrakt": 0, "nicht_selbst_aufgestellt": 0, "konkretes_gesetz": ["§ 5 Abs. 1 Satz 1 MuSchG"], "reasoning": "" } } \end{lstlisting} \section{Evaluation Pipeline Reproduction} [...] \end{document}