FEDLEGAL: The First Real-World Federated Learning Benchmark for Legal NLP
Zhuo Zhang, Xiangjing Hu, Jingyuan Zhang, Yating Zhang, Hui Wang, Lizhen Qu, Zenglin Xu
Abstract
The inevitable private information in legal data necessitates legal artificial intelligence to study privacy-preserving and decentralized learning methods. Federated learning (FL) has merged as a promising technique for multiple participants to collaboratively train a shared model while efficiently protecting the sensitive data of participants. However, to the best of our knowledge, there is no work on applying FL to legal NLP. To fill this gap, this paper presents the first real-world FL benchmark for legal NLP, coined FEDLEGAL, which comprises five legal NLP tasks and one privacy task based on the data from Chinese courts. Based on the extensive experiments on these datasets, our results show that FL faces new challenges in terms of real-world non-IID data. The benchmark also encourages researchers to investigate privacy protection using real-world data in the FL setting, as well as deploying models in resourceconstrained scenarios. The code and datasets of FEDLEGAL are available here. * Equal contribution.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers7
- DAGER: Exact Gradient Inversion for Large Language ModelsIvo Petrov, Dimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller et al.NeurIPS 2024 · 29 citations
- Toward Efficient Membership Inference Attacks Against Federated Large Language Models: A Projection Residual ApproachGuilin Deng, Silong Chen, Yuchuan Luo, Yi Liu et al.S&P 2026 · 4 citations
- Federated Retrieval Over Embedding-Heterogeneous Vector DatabasesYuxiang Wang, Yongxin Tong, Zimu Zhou, Ziyuan He et al.ICDE 2026 · 1 citation
- KoBLEX: Open Legal Question Answering with Multi-hop ReasoningJihyung Lee, Daehui Kim, Seonjeong Hwang, Hyounghun Kim et al.EMNLP 2025
- Through the MUD: A Multi-Defendant Charge Prediction Benchmark with Linked Crime ElementsXiao Wei, Qi Xu, Hang Yu, Qian Liu et al.ACL 2024
Builds on6
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett et al.ICLR 2021 · 1,917 citations
- How Does NLP Benefit Legal System: A Summary of Legal Artificial IntelligenceHaoxi Zhong, Chaojun Xiao, Cunchao Tu, Tianyang Zhang et al.ACL 2020 · 316 citations
- FedScale: Benchmarking Model and System Performance of Federated Learning at ScaleFan Lai, Yinwei Dai, Sanjay Sri Vallabh Singapuram, Jiachen Liu et al.ICML 2022 · 280 citations
- Information Leakage in Embedding ModelsCongzheng Song, Ananth RaghunathanCCS 2020 · 200 citations
- Recovering Private Text in Federated Learning of Language ModelsSamyak Gupta, Yangsibo Huang, Zexuan Zhong, Tianyu Gao et al.NeurIPS 2022 · 120 citations
Related papers
- FedID: Federated Interactive Distillation for Large-Scale Pretraining Language ModelsXinge Ma, Jiangming Liu, Jin Wang, Xuejie ZhangEMNLP 2023 · 7 citations
- Legal Fact Prediction: The Missing Piece in Legal Judgment PredictionJunkai Liu, Yujie Tong, Hui Huang, Bowen Zheng et al.EMNLP 2025
- LegalAgentBench: Evaluating LLM Agents in Legal DomainHaitao Li, Junjie Chen, Jingli Yang, Qingyao Ai et al.ACL 2025
- Federated Model Decomposition with Private Vocabulary for Text ClassificationZhuo Zhang, Xiangjing Hu, Lizhen Qu, Qifan Wang et al.EMNLP 2022 · 5 citations
- Decentralised Learning from Independent Multi-Domain Labels for Person Re-IdentificationGuile Wu, Shaogang GongAAAI 2021 · 39 citations
