Research & Papers

HKJudge dataset unlocks AI analysis of Hong Kong court rulings with 290K annotated sentences

Expert-annotated corpus maps court reasoning across 5 judicial levels and 6.5M tokens

Deep Dive

Researchers led by Xi Xuan have released HKJudge, the first expert-annotated legal discourse dataset for Hong Kong court judgments. The corpus spans all five levels of Hong Kong's court hierarchy and contains approximately 290,000 sentences and 6.5 million tokens, each labeled by ten legal linguistics experts. The annotation schema operates on two tiers: at the sentence level, every sentence is assigned one of 26 rhetorical roles (e.g., finding of fact, legal reasoning, ruling); at the span level, sentences are further tagged for three key sentencing elements—charge, imprisonment term, and fine. The annotators achieved an inter-annotator agreement of κ=0.8, indicating strong reliability.

Using HKJudge, the team formulated two benchmark tasks: rhetorical role classification and legal element extraction. They evaluated four BERT-based models, two open-source LLMs (under both zero-shot and fine-tuning settings), and four commercial LLMs. Results highlight the value of sentence-level discourse annotation for modeling the structure of Hong Kong judgments and show that fine-tuned models significantly outperform zero-shot approaches. The dataset and code are publicly available, offering a rich foundation for future work in legal judgment prediction, AI-assisted legal research, and automated case analysis.

Key Points
  • First expert-annotated legal discourse corpus for Hong Kong courts with ~290K sentences and 6.5M tokens
  • Two-tier annotation: 26 rhetorical roles per sentence and 3 legal elements (charge, imprisonment, fine) with κ=0.8 agreement
  • Benchmark evaluations of 4 BERT models, 2 open-source LLMs, and 4 commercial LLMs on two tasks

Why It Matters

Enables AI to systematically parse court reasoning and rulings, advancing legal prediction and automation in Hong Kong.

📬 Get the top 10 AI stories daily