EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

LEXA: Legal case retrieval via graph contrastive learning with contextualised LLM embeddings

Yanran Tang, Ruihong Qiu, Yilun Liu, Xue Li, Zi Huang

World Wide Web · 2026-03 · 29 (2)

DOI: 10.1007/s11280-026-01407-w ↗

Kurz gefasst

Fachartikel in der Zeitschrift World Wide Web, online erschienen am 04.03.2026. Verfasst von Yanran Tang und 4 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 77 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: The University of Queensland.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Legal case retrieval (LCR) is a specialised information retrieval task aimed at identifying relevant cases given a query case. LCR holds pivotal significance in facilitating legal practitioners to locate legal precedents. Existing LCR methods predominantly rely on traditional lexical models or language models; however, they typically overlook the domain-specific structural information embedded in legal documents. Our previous work CaseGNN (Tang et al., In: ECIR, 2024) successfully harnesses text-attributed graphs and graph neural networks to incorporate structural legal information. Nonetheless, three key challenges remain in enhancing the representational capacity of CaseGNN: (1) The under-utilisation of rich edge information in text-attributed case graph (TACG). (2) The insufficiency of training signals for graph contrastive learning. (3) The lack of contextualised legal information in node and edge features. In this paper, the LEXA model, an extension of CaseGNN, is proposed to overcome these limitations by jointly leveraging rich edge information, enhanced training signals, and contextualised embeddings derived from large language models (LLMs). Specifically, an edge-updated graph attention layer (EUGAT) is proposed to comprehensively update node and edge features during graph modelling, resulting in a full utilisation of structural information of legal cases. Moreover, LEXA incorporates a novel graph contrastive learning objective with graph augmentation to provide additional training signals, thereby strengthening the model’s legal comprehension capabilities. What’s more, given the remarkable contextualised understanding capabilities of LLMs for text encoding, LLMs are employed to generate node and edge features for the text-attributed case graph (TACG). Extensive experiments on two benchmark datasets from COLIEE 2022 and COLIEE 2023 demonstrate that LEXA not only significantly improves CaseGNN but also achieves supreme performance compared to state-of-the-art LCR methods. Code has been released on https://github.com/yanran-tang/CaseGNN .

Förderung

  • The University of Queensland

Zitieren

APA

Tang, Y., Qiu, R., Liu, Y., Li, X., & Huang, Z. (2026). LEXA: Legal case retrieval via graph contrastive learning with contextualised LLM embeddings. World Wide Web, 29(2). https://doi.org/10.1007/s11280-026-01407-w

Vancouver

Tang Y, Qiu R, Liu Y, Li X, Huang Z. LEXA: Legal case retrieval via graph contrastive learning with contextualised LLM embeddings. World Wide Web. 2026;29(2). doi:10.1007/s11280-026-01407-w

BibTeX
@article{Tang2026,
  author = {Tang, Yanran and Qiu, Ruihong and Liu, Yilun and Li, Xue and Huang, Zi},
  title = {LEXA: Legal case retrieval via graph contrastive learning with contextualised LLM embeddings},
  journal = {World Wide Web},
  year = {2026},
  volume = {29},
  number = {2},
  doi = {10.1007/s11280-026-01407-w}
}
Kostenlos starten →