WSU opens a law-search model: what its 87.9% measures
Washington State University releases a retriever for RCW statutes. Its result measures presence among ten documents, not correct legal answers.

Washington State University announced on 17 November an open retrieval model specialising in the Revised Code of Washington, the legislative compilation of the US state of Washington. The Complex Social Interactions laboratory team presents it as a tool connecting everyday-language questions with statutory provisions. Its headline result is 87.9% retrieval of the target law within the top ten results. That figure does not measure the correctness of legal advice or demonstrate performance on Spanish law.
The announcement allows examination of a particular part of legal artificial intelligence that often remains hidden behind the chat interface: how documents are selected before an answer is written. The university publishes the announcement, while the laboratory provides a technical model card with metrics and limitations on Hugging Face. Reading them together adds an important qualification: even within its own domain, finding a statute among ten results differs from ranking it first, interpreting it, or applying it correctly to a real case.
A statute retriever, not an automatic lawyer
The model, named US-State-Law-EmbeddingGemma-2, builds on the EmbeddingGemma 2 architecture and has been fine-tuned for Washington legislation retrieval. The model card describes it as the retrieval component of RAG systems: relevant text is first located in a document collection, and another component can then use it to produce an answer. Having the first step does not, by itself, guarantee the quality of the second.
According to the university, the problem it addresses is the gap between how people ask questions and the formal vocabulary of legislation. The system represents questions and passages as vectors and compares them to locate semantic matches. This allows relationships to be sought beyond literal word matches. It does not mean that the mathematical representation settles every issue of interpretation, currency or overlapping rules that a professional enquiry might raise.
David Makin leads the laboratory, and Shlok Tomar is identified as the project's lead AI engineer. The announcement lists public-sector staff, legal professionals, local officials and the public as potential users. These are intended audiences and applications described by its authors, not a list of institutions whose deployment or results have been checked. Nor does the publication describe a commercial platform ready for any jurisdiction.
What the announced training contains
The university reports training on more than 450,000 synthetic legal query-and-passage pairs, spanning more than five hundred categories derived from the RCW. Synthetic here means that the examples were generated using artificial intelligence to pair a question or situation with the corresponding statutory text. These are not 450,000 real case files or an equivalent sample of enquiries resolved by lawyers.
The model card explains that the data includes paraphrased questions, hypothetical scenarios and positive matches with statutory provisions. It describes fine-tuning through LoRA, a technique that changes a limited set of parameters during training. The stated aim is to adapt a general representation model to a particular document domain. Neither the number of examples nor the specialisation automatically establishes how it would respond to ambiguous facts, rules outside its corpus or later legislative changes.
The 87.9% depends on examining ten results
The technical card identifies a separate validation set of synthetic municipal drafts mapped individually to RCW statutes. It reports accuracy@10 and recall@10 of 0.8789, rounded to 87.9% in the announcement. The evaluated question is whether the target document appears in the first ten positions. It does not require it to rank first, and does not mean that every retrieved document is relevant.
The distinction is visible in the other figures in the same table. Recall@1 is 0.3993, and recall@5 is 0.8027. The reported indicator therefore improves as the number of results examined increases. There is no contradiction between those figures: they concern different cut-offs in the list. The misleading step would be to present the top-ten figure as if it described the correctness of a single final answer shown to a user.
The card also reports precision@10 of 0.0879. In a test with one target match per query, that measure does not answer the same question as recall@10. Capturing the target within a list of ten does not turn the other nine passages into correct answers. The table is useful precisely because it separates the indicators. This newsroom has not reproduced the experiment or independently audited the training and validation split.
Full and lightweight versions for building other tools
The team announces a sixteen-bit version and a compressed four-bit version in GGUF format. It presents the latter as an option for running the retriever on ordinary phones and laptops. That is a design and distribution aim, not our own measurement of latency, consumption or compatibility across all such devices. The availability of files does not remove the need to configure the corpus, indexing and execution environment.
The card provides examples using Sentence Transformers and distinguishes prefixes for queries and documents. It also describes search, classification and clustering applications. The example shows how to represent a question and several provisions for comparison; it does not certify that the illustrative passage gathers every rule applicable to a situation. Anyone considering integration must separate the technical example from validation of the service they intend to offer.
Washington's scope does not transfer to Spain
Among possible uses, the authors mention checking whether a proposed municipal ordinance conflicts with state legislation, helping locate provisions during an incident, and supporting reviews of administrative drafts. These examples concern the legal system for which the model was prepared. They do not demonstrate coverage of Spain's BOE, regional official gazettes or the case law needed for other research.
The limitations section is explicit: the model does not provide legal advice, may not generalise to other jurisdictions, depends on corpus quality, and should be used as a retriever rather than a final decision-making system. That warning is part of the documentation itself, not something that must be inferred from a poor result. Our checklist for assessing a legal AI tool likewise distinguishes the offered product from the tests required for a particular task.
Document provenance remains a separate question
The specialised retriever provides a concrete case for following open research in legal search. It does not, by itself, settle the treatment of client information, the terms of a service incorporating it, or supervision of subsequently generated text. Our guide to AI, professional secrecy and client data addresses that different issue; the legal AI section gathers other assessments and announcements with their respective scopes.
The useful finding is limited but clear: a laboratory publishes a specialised retriever, provides documentation and reports results under a particular protocol. The 87.9% makes it possible to ask how evidence is selected within that experiment. It does not justify jumping from a list of Washington statutes to a promise of correct answers in any practice. The distance between retrieving a document and grounding a legal conclusion remains part of the work to be checked.
Sources
- Washington State University, CSI laboratory announcement of 17 November 2026. Read on 18 November.
- CSI Lab, US-State-Law-EmbeddingGemma-2 model card on Hugging Face: uses, training, metrics and limitations. Read on 18 November 2026.