← Search

Yiran Hu

11 accepted papers

2026

LLMS ON TRIAL: Evaluating Judicial Fairness For Large Language Models

ICLR 2026poster

Large Language Models (LLMs) are increasingly used in high-stakes fields, such as law, where their decisions can directly impact people's lives. When LLMs act as judges, the ability to fairly resolve judicial issues is necessary to ensure their trustworthiness. Based on theories of judicial fairness…

Cited by 0SourcecodeScholar
2026

Self-Refine Learning in LLM Multi-Agent Systems for Legal Norm Cognition and Compliance

IJCAI 2026

As large language models (LLMs) increasingly serve as autonomous agents in social simulations, ensuring their ability to understand and comply with legal norms is essential. Yet, current LLM agents frequently exhibit reward hacking (RH) behaviors by optimizing metrics at the expense of norm adherenc

Cited by 0Scholar
2025

Can Language Models Replace Programmers for Coding? REPOCOD Says ‘Not Yet’

ACL 2025long

Recently, a number of repository-level code generation benchmarks–such as CoderEval, DevEval, RepoEval, RepoBench, and LongCode-Arena–have emerged to evaluate the capabilities of large language models (LLMs) beyond standalone benchmarks like HumanEval and MBPP. Thus, a natural question is, would LLM…

2025

J&H: Evaluating the Robustness of Large Language Models Under Knowledge-Injection Attacks in Legal Domain

AAAI 2025technical

As the scale and capabilities of Large Language Models (LLMs) increase, their applications in knowledge-intensive fields such as legal domain have garnered widespread attention. However, it remains doubtful whether these LLMs make judgments based on domain knowledge for reasoning. If LLMs base their…

2025

JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoning

EMNLP 2025

In recent years, Large Language Models (LLMs) have been widely applied to legal tasks. To enhance their understanding of legal texts and improve reasoning accuracy, a promising approach is to incorporate legal theories. One of the most widely adopted theories is the Four-Element Theory (FET), which

2025

Legal Fact Prediction: The Missing Piece in Legal Judgment Prediction

EMNLP 2025

Legal judgment prediction (LJP), which enables litigants and their lawyers to forecast judgment outcomes and refine litigation strategies, has emerged as a crucial legal NLP task. Existing studies typically utilize legal facts, i.e., facts that have been established by evidence and determined by the

2025

LegalAgentBench: Evaluating LLM Agents in Legal Domain

ACL 2025long

With the increasing intelligence and autonomy of LLM Agents, their potential applications in the legal domain are becoming increasingly apparent. However, existing general-domain benchmarks are unable to fully capture the complexity and subtle nuances inherent in real-world judicial cognition and de…

2025

SELP: Generating Safe and Efficient Task Plans for Robot Agents with Large Language Models

ICRA 2025

Despite significant advancements in large language models (LLMs) that enhance robot agents' understanding and execution of natural language (NL) commands, ensuring the agents adhere to user-specified constraints remains challenging, particularly for complex commands and long-horizon tasks. To addres

Cited by 20SourcecodeScholar
2024

LEEC for Judicial Fairness: A Legal Element Extraction Dataset with Extensive Extra-Legal Labels

IJCAI 2024poster

An extensive label system is pivotal to facilitate judicial fairness and social justice. Prior empirical research and our interview with legal professionals underscore the importance of extra-legal factors in criminal trials. To help identify sentencing biases and facilitate downstream applications,…

2024

STARD: A Chinese Statute Retrieval Dataset Derived from Real-life Queries by Non-professionals

EMNLP 2024finding

Statute retrieval aims to find relevant statutory articles for specific queries. This process is the basis of a wide range of legal applications such as legal advice, automated judicial decisions, legal document drafting, etc. Existing statute retrieval benchmarks emphasize formal and professional q…

2024

Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models

ACL 2024findings

Hallucinations in large language models (LLMs) refer to the phenomenon of LLMs producing responses that are coherent yet factually inaccurate. This issue undermines the effectiveness of LLMs in practical applications, necessitating research into detecting and mitigating hallucinations of LLMs. Previ…