MétaCan
Menu
Back to cohort
Record W4413939178 · doi:10.24908/iqurcp19921

Performing Automated Employment Law Case Analysis Using Large Language Models

2025· article· en· W4413939178 on OpenAlexvenueaboutno aff
Hendrix Gryspeerdt

Bibliographic record

VenueInquiry Queen s Undergraduate Research Conference Proceedings · 2025
Typearticle
Languageen
FieldSocial Sciences
TopicArtificial Intelligence in Law
Canadian institutionsnot available
Fundersnot available
KeywordsComputer scienceNatural language processingLawLinguisticsArtificial intelligenceProgramming languagePolitical sciencePhilosophy

Abstract

fetched live from OpenAlex

In pursuing agentic AI for complex legal workflows, systems must deliver accurate, cited, and nuanced outputs—boiling down to accurate legal question answering (QA). This project focuses on performing QA in Canadian employment law, focusing on worker classification (e.g., employee vs. contractor tests from Sagaz Industries precedents), using the Sagaz dataset: over 300 case analyses from David Liang and Samuel Dahan's Conflict Analytics Lab. One of the limitations of Large Language Models (LLMs) is that in analyzing large 30-page or longer documents to answer questions, even though all the text is in the context window, key pieces of information may still be missed in answering questions. To address this limitation, we explore various Retrieval-Augmented Generation (RAG) techniques to provide Large Language Models (LLMs) with the relevant context for 20+ case-specific questions that make up the case analysis. RAG techniques include no-processing (full case as context), chunking with vector embeddings for efficient retrieval, knowledge graph construction for Graph RAG to capture relational elements, and combinations of different methods. Additionally, methods for performing the analysis of multiple questions in a single prompt are also being explored to balance token usage efficiency and accuracy. Preliminary evaluations have with the no-processing technique has shown some signs of limited success of 50% accuracy on a 20-case subset of cases in the dataset. Work is currently still ongoing: to improve the prompts used to specify the case analysis questions as mis-interpretation and overly strict evaluations were a leading cause of incorrect answers in these initial tests; to scale up the processing pipeline (as some of the processing techniques take up many millions of LLM tokens); and to analyze the resulting outputs across 20+ questions asked in each case analysis for the hundreds of cases.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame distilled prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. Learned from the 10,348 direct Codex labels and 10,348 direct Gemma labels. Candidate is the union of thresholded teacher heads; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels or direct frontier model labels.

metaresearch head score (Codex)0.006
metaresearch head score (Gemma)0.001
Version: codex-gemma-dda1882f352aValidation status: machine_predicted_unvalidated
Candidate categoriesMeta-epidemiology (narrow), Science and technology studies, Scholarly communication
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Theoretical or conceptual · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: Empirical
Teacher disagreement score0.763
Threshold uncertainty score1.000

Codex and Gemma teacher scores by category

CategoryCodexGemma
Metaresearch0.0060.001
Meta-epidemiology (narrow)0.0000.000
Meta-epidemiology (broad)0.0010.000
Bibliometrics0.0010.005
Science and technology studies0.0040.002
Scholarly communication0.0010.002
Open science0.0010.001
Research integrity0.0000.001
Insufficient payload (model declined to judge)0.0000.000

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.191
GPT teacher head0.484
Teacher spread0.293 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one teacher head, not a consensus.

Study designTheoretical or conceptual
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2025
Admission routes2
Has abstractyes

Explore more

Same venueInquiry Queen s Undergraduate Research Conference ProceedingsSame topicArtificial Intelligence in LawFrench-language works237,207