Towards Autonomous Legal Intelligence: Case-Based Learning, Legal Rule Induction, and Agentic Reasoning

The Hong Kong University of Science and Technology
Department of Computer Science and Engineering


PhD Thesis Defence


Title: "Towards Autonomous Legal Intelligence: Case-Based Learning, Legal Rule
Induction, and Agentic Reasoning"

By

Mr. Wei FAN


Abstract:

Large Language Models (LLMs) combine extensive knowledge with reasoning
capabilities, opening new possibilities in fields such as finance and law.
Across civil law and common law systems, however, knowing statutes and
precedents is only a starting point: solving legal problems requires
interpreting and applying the rules, principles, and standards they embody. This
thesis investigates how models can learn to apply these norms, discover them in
precedents, and seek the information needed to use them.

Teaching models to apply explicit legal rules is often constrained by a shortage
of suitable cases. We address this shortage through case synthesis in privacy
law, using contextual integrity theory to structure cases generated from
privacy-law norms. Experiments demonstrate substantial improvements in LLMs'
applicability and compliance judgments on real cases after training on synthetic
cases. A complementary challenge arises when judicial precedents are available
but the rules they embody are not readily accessible in an explicit, reusable
form. In judicial practice, particularly in common law, legal experts recover
such rules through reasoning by analogy. We investigate how LLMs can induce
generalizable legal rules from analogous judicial precedents, with experiments
revealing persistent limitations and improvements through targeted training.

Furthermore, advances in reasoning and tool use are enabling LLMs to progress
from individual legal tasks to end-to-end agentic research. We first study
planning and decision making under limited training resources through
reinforcement-learning advantage shaping, with gains extending to out-of-domain
research benchmarks. This provides a foundation for developing a legal agent's
temporal awareness and research capabilities through temporally indexed
training, version-aware statute retrieval, and web search. Evaluation across
seven in-domain and six out-of-domain legal tasks demonstrates improved
reasoning and temporal consistency. Together, these studies advance legal agents
that connect rules, cases, and research actions.


Date:                   Thursday, 10 December 2026

Time:                   4:00pm - 6:00pm

Venue:                  Room 2130C
                        Lifts 19/22

Chairman:               TBC

Committee Members:      Dr. Yangqiu SONG (Supervisor)
                        Prof. Qiong LUO
                        Prof. Nevin ZHANG
                        Dr. Sirui HAN (EMIA)
                        Prof. Jianliang XU (HKBU)