VLQA: The First Comprehensive, Large, and High-Quality Vietnamese Dataset for Legal Question Answering
Paper · 2025 · Tan-Minh Nguyen, Hoang-Trung Nguyen, Trong-Khoi Dao et al.
Summary
A person asking about a tax obligation or an employment rule needs an answer they can understand and a way to check where it came from. Those needs define the two tasks in VLQA, a Vietnamese benchmark for legal question answering. A system first has to find the statutory articles that apply to a question, then use those articles to explain the answer in Vietnamese. The dataset contains 3,129 questions posted by citizens seeking legal advice. Each record includes a reviewed answer and links to applicable provisions in a collection of 59,636 statutory articles across 27 domains.
The authors built the benchmark by matching references in online consultations to individual articles in their legal collection. Senior law students checked the answers and their supporting provisions, and a legal expert reviewed their work. An answer and its legal basis could be revised independently. The reviewer kept the answer while changing its supporting articles in 14.83% of cases, and changed both in 7.19%. One example involved a statutory update that changed the amount given in an answer. Checking the applicability of the cited law was therefore part of establishing the reference answer itself.
In the retrieval experiments, BGE-m3 led the approaches that used no VLQA-specific training. A multilingual BERT system trained on VLQA performed strongly when reranking a shortlist from the keyword-based BM25 retriever. Still, every evaluated approach had precision below 0.40 at the cutoff of two returned articles on the test set. In the answering experiments, systems that selected sentences from statutes tended to match more of the reference wording, while systems trained to compose answers tended to score higher on contextual similarity. GPT-4o-mini led the automatic comparisons among the systems tested with prompts.
Expert review of 100 randomly selected test questions gave a different view of answer quality. Responses could be fluent and similar to the reference while omitting an important condition, applying the wrong provision, or even naming a legal document absent from the supplied material. Qwen2.5-14B scored better on automatic measures than PhoBERT yet was less accurate in the human comparison. VLQA makes it possible to examine where such failures arise, from the articles a retriever puts in view to the conclusion an answer draws from them.
Deep dive: VLQA: The First Comprehensive, Large, and High-Quality Vietnamese Dataset for Legal Question Answering
VLQA pairs Vietnamese citizens’ legal questions with statutes and expert-reviewed answers to test how well systems find and explain the law. · about 37 minutes to read
The problem and its context
Finding the law and answering the question
The paper treats access to law as a problem of both search and explanation. Statutory law addresses a wide range of practical concerns, and the question a person asks about one of those concerns may contain little of the vocabulary used in the applicable legislation. A citizen may describe what happened at work or ask how to handle a family matter. The system has to connect that description to the right provision, identify the part that matters, and communicate how it applies. A relevant article can be difficult to find, and its wording may still be difficult to interpret once it is found.
The distinction between search and explanation is consequential for evaluation. Legal information retrieval concerns the evidence that reaches the reader or answer writer. In VLQA, the unit of evidence is an individual statutory article. A search result can be on the correct general subject and still miss the relevant rule. Conversely, an applicable article can be present in the results while the answer writer fails to notice a condition or chooses a rule for a different situation. The benchmark needs separate judgments about the articles and about the answer to make those failures independently visible.
The authors situate the work within Legal AI, where prior research had already addressed several parts of legal work. As they describe it, legal summarization gives readers a shorter account of complex text, contract analysis helps people inspect agreement language, and legal retrieval helps practitioners find statutes or cases. For example, CUAD concerns contract review, while CLAUDETTE concerns potentially unfair clauses in online terms. These examples motivate tools for finding and interpreting legal language, but they involve different inputs and expected outputs from a statutory question posed by a member of the public.
Judicial datasets make the same distinction clear. The paper describes CJRC as a Chinese reading-comprehension resource with over 50,000 question–answer pairs produced from descriptions of 10,000 legal cases. CAIL2018 addresses judgment prediction with more than 2.6 million Chinese criminal cases. The related-work discussion also covers case similarity, predictions about case outcomes, and summarization of court rulings. A collection can be very large for one of those purposes and still leave open the question of how to assess a system answering a citizen’s query against an article-based collection of legislation. Scale is meaningful in relation to the job the annotations support.
Which questions and which kinds of answers?
The authors distinguish everyday inquiries from questions written to assess legal knowledge. The COLIEE statutory collection described in the paper pairs 1,206 Japanese bar-exam questions with references to the Japanese Civil Code. Its question-answering task uses a binary decision. ALQAC is described as containing 100 question–article pairs compiled by jurists and legal experts, with a similar emphasis on exam-style questions. China’s JEC-QA supplies 26,365 multiple-choice questions from a national judicial examination. These formats can require careful legal interpretation. They also specify a shape for the answer in advance, whether the system is selecting an option or making a yes-or-no decision.
A consultation question can ask for that same kind of decision and still require a fuller answer. The response may need to specify when the decision holds or explain what the questioner can do next. A question framed as a request for a procedure may need several pieces of information in a useful order. For VLQA, the unit of evaluation is a written response to the inquiry, accompanied in the dataset by a separate record of its legal basis. This design gives the authors a way to look past whether an answer lands on the expected side of a binary choice and examine the explanation behind it.
BSARD offers a closer comparison on the search side. The paper describes it as a French-language statutory retrieval dataset with 1,108 questions and references into a collection of 22,633 articles. Its questions come from legal consultation organizations. That source brings it closer to the language of public inquiries, and its article collection creates a search task beyond finding a passage in a document already chosen for the reader. VLQA likewise starts with actual requests for advice, then couples statute retrieval with long-form answers in Vietnamese.
On the answering side, the related-work discussion identifies PrivacyQA as a source of longer answer spans. It has 1,750 questions over 335 privacy policies, with answers averaging 140 words. ViRHE4QA addresses Vietnamese university training regulations with 9,758 annotator-written questions and 294 articles. These examples illustrate separate dimensions of dataset design. PrivacyQA has extended answers within a particular subject. ViRHE4QA supplies a large question collection in Vietnamese within a defined regulatory setting. The authors’ comparison turns on subject coverage and the origin of the questions as well as the number of records.
The closest long-form precedent in the paper is LLeQA. Its 1,868 questions come from Belgian legal consultation platforms and cover multiple areas of statutory law. The paper gives average lengths of 15 words for its questions and 264 words for its answers. Its relationship to VLQA is especially clear because the questions and answers are both drawn from a setting where people ask about practical legal concerns. VLQA pursues that combination for a different language and statutory system. It also attaches the answer to an explicit article-retrieval task over the authors’ Vietnamese corpus.
The resulting research problem is specific to Vietnamese law in ways that a broad ability to process text cannot settle. A response has to handle Vietnamese expressions and locate provisions in Vietnamese legislation. It also has to account for how articles relate to one another and which version applies. The authors frame the shortage of annotated Vietnamese legal material as an obstacle to testing and training systems on that combination of demands. Their argument for VLQA’s scale concerns expert-reviewed, real-world statutory questions with long answers and broad coverage. It sits alongside other measures of scale, such as the volume of court cases in a judgment-prediction corpus or the number of questions about a single regulatory area.
The method, step by step
Building a question, its evidence, and its answer
Each VLQA example has a question, a set of relevant statutory articles, and a written answer. The article set is stored separately from the answer so that a retriever can be compared directly with the human judgments about evidence. The answer can then serve as a reference for a system that selects passages or writes its own response. Constructing the records means bringing together materials that begin in different places. The legislative documents supply the articles. The consultations supply the questions, initial answers, and clues to which articles the respondents relied on.
How the authors construct VLQA
The steps in order.
The authors began with 2,162 legislative documents from 27 domains. They extracted articles while retaining the hierarchy around them, including the document, part, section, and chapter. An article is the basic searchable object, while the hierarchy records its place in the larger text. The collection procedure excluded documents that shared a title in spite of addressing different subjects. That choice matters because matching a citation requires a document identity as well as an article identifier. A title that points to several different documents can make an apparently explicit reference ambiguous.
The authors cleaned the legislative material with regular expressions, which are rules for finding recurring character patterns. They used them to address issues such as stray tabs, misplaced line breaks, and typographical problems. They also removed repealed articles that could still appear in the source documents. These operations solve different problems. Typographical cleanup makes the extracted text more consistent, while excluding repealed material changes which provisions a system can retrieve and which citations can ground a verified answer. The result was the collection of 59,636 articles used in the benchmark.
On the consultation side, the starting material consisted of roughly 430,000 questions gathered from Vietnamese legal advice websites. The authors grouped repeated questions that appeared under different categorization tags. They excluded cases whose references pointed only to whole documents, cited repealed articles, or mentioned provisions outside the article collection. These rules align the question set with the retrieval task. An answer whose evidence can only be located at the document level cannot supply the same kind of supervision as an answer supported by an identifiable article.
The consultation answers were a source of candidate citations. Some references explicitly identify a provision and its law. Others refer to another article in the same code without naming the code again. The authors used patterns to extract references and align them with the collection, discarding cases where the procedure could not identify the relevant articles. They applied rules to the structure of the answers as well. The responses tended to move from discussion of the question through statutory references to an ending that states the answer. That pattern helped separate material the benchmark would retain from surrounding content.
The authors also used pattern-based cleanup and SpaCy language detection to remove material such as icons, informal expressions, and words identified as outside Vietnamese. They report correcting spelling and typographical problems during this stage. The process preserves the origin of the inquiries while turning forum material into a consistent input for annotation. The resulting triplets are curated records. Their phrasing, article links, and answers reflect both the consultation and the work needed to make it suitable for evaluation.
Verifying the answer and its legal basis
Five senior law students carried out the annotation after receiving instruction from the supervising legal expert. Two annotators worked independently on each question–answer pair. In an interface built with Streamlit, they could see the question, the existing answer, and the articles linked to it. Their role was to check whether the given answer and evidence were correct and complete, and to propose revisions where necessary. They could indicate that an answer included too much material or left out something important, supply a corrected answer, select better supporting provisions, and leave explanatory feedback.
Giving the answer and evidence separate judgments is central to the design. An answer may state a valid conclusion even though the cited article is an imprecise basis for it. An answer can also cite the applicable provision and still misunderstand what it requires. The annotation interface allowed reviewers to record either situation without forcing an all-or-nothing decision on the record. It also kept the distinction between being correct and being complete. The question could demand information beyond the true fragment that happened to appear in the original response.
The legal expert carried out the final review and proofreading. The review checked whether the question was clear enough to support a search, whether the answer drew on valid and current statutory material, and whether a lay reader could make sense of the answer as written. A record that failed review could be revised or dropped. References to repealed or outdated legal documents were grounds for exclusion. Where an example could be corrected, the reviewer could update both the provision and the answer it supported.
To illustrate this kind of correction, the paper cites Decree 38/2019/ND-CP and its update under Decree 24/2023/ND-CP, effective July 1, 2023. The earlier answer gave a monthly amount of 1,490,000 VND/month. After review, the applicable legal basis and the amount both changed, with the corrected answer giving 1,800,000 VND/month. The example shows how an answer can retain the shape of a plausible legal response while becoming wrong through a change to its underlying rule. The task of verifying the sample therefore involves deciding what authority the answer should rely on, as well as checking the language of the reply.
After review, the authors had 3,129 triplets. They partitioned them into training, validation, and test sets in a ratio of 7:1:2. Training records supply supervision for parameter updates. Validation, also called development, is a separate source of examples and is where the demonstrations used in prompting come from. The test set supplies held-out questions for the reported benchmark comparisons. Across the full dataset, the average number of relevant articles per question is 1.33, and the maximum is 9. The candidate collection is shared across the search task, while the evidence attached to each question is usually a small part of it.
Ranking statutes by words or by meaning
Retrieval starts with a legal question and the article collection. A system scores articles and returns a shortlist ordered by relevance. The authors describe the task with the following mapping.
ℛ: (q, A) → ℱ, with C = {cᵢ}ᵏᵢ₌₁ ⊆ A
Here ℛ is the retrieval function, q is the question, and A is the full article corpus. The paper writes ℱ for the output of the function and C for the candidates returned in that output. The symbol cᵢ is the article at rank i, and k is the number of positions kept. The indices run from the first position to k. The subset sign indicates that every candidate comes from A. Although braces identify the collection of candidates, their order matters to the evaluation.
BM25 supplies the lexical baseline. It gives credit for the words a question and an article share. A term that is unusual across the collection can be a stronger clue than a widely shared term. Repeating a word within an article increases its contribution with diminishing returns, and article length affects how the term frequency is normalized. In the notation below, a denotes the article throughout. The paper switches to d in the numerator for the same term-frequency argument.
BM25(q, a) = ∑ᵢ₌₁^|q| [IDF(tᵢ) · TF(tᵢ, a) · (k₁ + 1)] / [TF(tᵢ, a) + k₁ · (1 − b + b · |a| / avgdl)]
BM25(q, a) is the score of article a for question q. The sum runs over the query terms. The index i identifies a term, tᵢ denotes that term, and |q| is the query length. TF(tᵢ, a) is the frequency of tᵢ in a. IDF(tᵢ) is its inverse document frequency, which represents how uncommon it is in the corpus. The expression |a| is the length of the article, and avgdl is the mean article length in the collection. The positive parameter k₁ governs term-frequency saturation, and b ranges from 0 to 1 and controls length normalization. The dots mean multiplication. The experiments fix k₁ at 1.2 and b at 0.75, then rank the articles by score for each query.
The authors also evaluate a fastText approach, which they group with the sparse baselines. Their description draws on Doc2Vec as a way to think about representing whole texts, and uses fastText to form question and article representations. A similarity score then determines which articles to return. This provides another comparison with BM25, whose scores come from counts and weights for query terms.
The zero-shot dense retrievers follow the bi-encoder design associated with Sentence-BERT. A bi-encoder encodes the question and the article independently. Each encoding produces an embedding, a vector of numbers representing a text. The relation between the two vectors gives the ranking score. The design can pick up semantic similarity when the question and the legal article express a related idea using different words.
Relevance(q, a) = f(φ(q), ψ(a))
Relevance(q, a) is the score for question q and article a. The function φ encodes the question, and ψ encodes the article. Each produces a vector with d coordinates in a real-valued representation space. The paper gives 768 as an example of that dimensionality. The function f compares the vectors and returns a real-valued score. The paper gives a dot product and cosine similarity as possible comparisons. The zero-shot runs use Vietnamese SBERT and BGE-m3, with no training on the VLQA relevance labels for those runs.
Learning to rerank a shortlist
The supervised approach first uses BM25 to search the full collection. It passes the top 200 articles to a cross-encoder, which reads a question and one candidate article together. It can therefore form a representation that depends on how the words in the article relate to the particular question. This joint processing is applied after the candidate pool has been narrowed. An article outside that pool is unavailable to the cross-encoder, so the initial search determines which parts of the collection the learned scoring stage can consider.
The authors train the reranker using the expert-linked articles as positives and articles from the lexical results as negatives. Negatives from a shortlist can share the subject or terminology of the correct article. They teach the reranker what a plausible but unhelpful candidate looks like in the same kind of pool it will encounter at test time. The following notation gives the training set and decision labels.
𝒯 = {⟨qᵢ, aᵢ, yᵢ⟩}ᴺᵢ₌₁, with aᵢ ∈ A⁺ ∪ A⁻ and yᵢ ∈ {0, 1}
Here 𝒯 is the supervised training set. Each triple contains question qᵢ, candidate article aᵢ, and relevance label yᵢ. The index i identifies a training example, and N is the number of examples. A⁺ stands for the articles judged relevant to the associated question. A⁻ stands for the negative candidates drawn from the initial search. The union symbol ∪ means the article comes from either set. A label of 1 denotes relevance and 0 denotes a negative example.
Training uses binary cross-entropy. The expression below groups both label cases inside the sum so the role of each part is explicit.
ℒᵦ꜀ₑ(q, a, y) = −(1/N) ∑ᵢ₌₁ᴺ [yᵢ log(φ(q, a)ᵢ) + (1 − yᵢ) log(1 − φ(q, a)ᵢ)]
The loss ℒᵦ꜀ₑ measures how poorly the predicted relevance probabilities fit the training labels. The question, article, and label are q, a, and y. The index i and total N refer to the training examples in the average. In this expression, φ(q, a)ᵢ is the predicted probability of relevance for the indexed pair, and log denotes the logarithm. When yᵢ is 1, the first term supplies the penalty through the probability of relevance. When yᵢ is 0, the second term supplies it through the complementary probability. The leading minus sign turns the log probabilities into a loss that becomes smaller as the system places more probability on the correct label.
The tested rerankers use multilingual BERT and BGE-reranker. The authors perform fine-tuning for 5 epochs, or passes over the training material, with Adam. They use batches of 32 examples, an initial learning rate written as 2e⁻⁵, and 5 negative articles in the sampling setup. The maximum input sequence lengths are 512 tokens for mBERT and 1024 tokens for BGE-reranker. Those input lengths govern how much text can enter a scoring call. The shortlist size governs how many articles can reach that step.
Teaching a system to select sentences
The answering task takes a question and a list of candidate articles. The paper uses A again in this task, now for the supplied articles rather than the full searchable collection. It describes the input and desired output as follows.
A = {aᵢ}ᵏᵢ₌₁, S = {s₁, s₂, …, sₙ}, f(q, A) → S
In this formula, q is the question and A contains the candidate articles. The symbol aᵢ denotes the article at position i, and k is the number supplied. The symbol S represents the answer sequence, whose tokens are s₁ through sₙ, with n denoting its length. The ellipsis indicates the intervening tokens in order. The function f takes the question and articles as input and predicts the answer. The arrow indicates that the result is S.
One approach builds an answer from sentences selected directly from the statutes. The expert-verified answers are written replies to citizens. Their wording therefore cannot always be mapped onto a sequence of sentences present in the cited articles. To train a sentence selector, the authors construct a separate set of silver targets, meaning targets derived automatically from the human-reviewed material. They break the articles into sentences, compare the sentences with the expert answer, and combine the selected sentences into a silver answer. The paper describes the matching step at this level of detail. The resulting targets make it possible to train separate include-or-exclude decisions for sentences.
a′ = {a′ᵢ}ᴸᵢ₌₁, 𝒯 = {⟨qᵢ, a′ᵢ, yᵢ⟩}ᴺᵢ₌₁
The symbol a′ denotes the article after sentence segmentation, and each a′ᵢ in that collection is a sentence, indexed up to the article’s sentence count L. The training set is 𝒯. There, i indexes the N training examples. Each example contains a question qᵢ, an associated candidate sentence a′ᵢ, and a label yᵢ taking the value 1 when the sentence belongs in the silver answer and 0 otherwise. The prime distinguishes the sentence material from the whole articles used in retrieval. The paper denotes the resulting silver answer by S′.
To predict a label, an encoder jointly reads the question and a candidate sentence. It produces a vector that summarizes the pair for classification.
H꜀ₗₛ = φ(q, aᵢ)
Here H꜀ₗₛ is the classification representation, q is the question, and aᵢ is the candidate sentence in the paper’s classification formula. The index i identifies the candidate under consideration. The function φ is the joint encoder, and its output has d coordinates. Its output is passed to a learned classification layer.
Pₗₐᵦₑₗ₌₁(q, a) = [softmax(H꜀ₗₛ · Wꜰ)]ₗₐᵦₑₗ₌₁
Pₗₐᵦₑₗ₌₁(q, a) is the probability of including sentence a in the answer to question q. The vector H꜀ₗₛ is the preceding representation. Wꜰ is the weight matrix of the final layer, of size d by 2. Multiplying the vector by the matrix, indicated by the dot, yields a score for each label. The softmax function turns the scores into probabilities. The subscript outside the brackets makes explicit that inclusion uses the component for label 1.
The authors fit the sentence selector with cross-entropy. In the following expression, the outside weight y꜀ makes explicit the class-specific target indicator needed in the paper’s sum.
ℒ꜀ₑ(q, a, y) = −∑꜀₌₁² y꜀ log[exp(s(q, a)꜀) / ∑ⱼ₌₁² exp(s(q, a)ⱼ)]
Here ℒ꜀ₑ is the classification loss for the question q, candidate sentence a, and target y. The index c identifies a class, and y꜀ is 1 for the correct class and 0 for the other class. The quantities s(q, a)꜀ and s(q, a)ⱼ are the raw classifier scores for classes c and j, respectively. The index j runs over both classes to form the normalizing denominator. The exponential function exp and the denominator convert each score into a softmax probability. The logarithm and minus sign give a larger loss when the probability assigned to the correct class is small.
The authors test mBERT-base, LEGAL-BERT, and RoBERTa-base, and also test PhoBERT and ViDeBERTa-base. They train on the silver set for 5 epochs with Adam, an initial learning rate written as 2e⁻⁵, and batches of 32. The maximum sequence length is 512 tokens. When a sequence exceeds that length, the authors split it into multiple inputs. Taking sentences from the statutes constrains the wording available to the system. The selection decision still determines whether the extracted passages answer the specific question.
Teaching a system to write an answer
The generative approach can write connecting language and restate the rule in terms of the question. The authors test ViT5-base and BARTpho-word-base. ViT5 follows the text-to-text approach of T5. BARTpho follows the denoising pretraining approach of BART. Both receive the question and articles and learn to produce the expert answer directly. The objective measures the probability given to that answer as a sequence.
ℒ(q, A, S) = −log P(S | q, A) = −log ∏ₜ₌₁ⁿ P(sₜ | q, A, s₍<ₜ₎)
The loss ℒ depends on the question q, supplied articles A, and target answer S. The symbol P denotes the probability assigned by the system, and the vertical bar means “conditioned on.” The index t runs over the n target tokens. The symbol sₜ is the token at position t, and s₍<ₜ₎ represents all target tokens before that position. The product symbol ∏ multiplies the conditional probabilities of the successive target tokens. The negative logarithm gives the loss minimized in training. This objective teaches the writer to predict each part of the reference response in light of the articles and the preceding parts of that response.
Both systems have maximum input and output lengths of 1024 tokens in the reported setup. Training lasts 5 epochs with Adam, an initial learning rate written as 2e⁻⁵, and batches of 4. For BARTpho, the authors use VnCoreNLP for tokenization and segmentation at the word level before fine-tuning. At inference, the answer is produced by greedy decoding, which chooses the most probable next token at each step. Its locally strongest continuation can still produce a response that omits something the question requires.
Answering with instructions and demonstrations
In the prompting runs, the system reads the task directions and the evidence at inference time. The directions require a clear answer in Vietnamese based on the supplied information. They also tell the system to say when the material is insufficient and suggest seeking clarification. The experiment consequently tests compliance with an evidence restriction as well as the ability to produce a clear reply. The paper represents the zero-shot input as follows.
input = [inst, A, q]
The variable input is the assembled prompt, inst is its instruction, A is the group of candidate articles supplied for the current question, and q is that question. The brackets group the inputs at the level of the method description. In the paper’s example prompt, the question and the material are presented under their own labels. In the zero-shot condition, the directions and current case are sufficient to define the task. There are no completed examples in the prompt.
The few-shot learning condition inserts demonstrations consisting of a question, its articles, and an annotated response. The authors draw those examples from the development set. The examples can illustrate what a finished answer looks like and how it can use the accompanying statutes. They also take up space in the prompt.
input = [inst, [qᵢ, Aᵢ, Sᵢ]ᵐᵢ₌₁, A, q]
Here input, inst, A, and q have the same roles as in zero-shot prompting. Each demonstration is indexed by i, with qᵢ as its question, Aᵢ as its supporting articles, and Sᵢ as its expert-annotated answer. The index runs through m demonstrations, with m set to 2. The unindexed A and q identify the case that remains to be answered. Supervised fine-tuning changes the answer writer’s parameters using many training examples, while a demonstration here changes the material it reads for a particular run.
Experiments and results
What the benchmark contains
The VLQA test set supplies the held-out questions for the retrieval and answering experiments. The authors also analyze the composition of the dataset as a whole. Article counts vary by area. Administrative System is the largest part of the corpus, with 8,566 articles arranged in 1,381 chapters. Intellectual Property has 737 articles and Securities has 799. These are counts of available statutory material. The distribution of citizen questions is a separate measurement that the authors derive from the topics of the linked articles.
Administrative System also has the largest question share, at 14.67%. Intellectual Property, Import and Export, and Securities each account for less than 3% of the questions. The number of articles in a topic and the number of questions assigned to it tell a reader different things about the task. A retriever searches the article collection as organized, while an aggregate measure over questions gives more influence to the kinds of inquiries that appear more often in the benchmark.
The authors manually classify questions by surface form. How questions comprise 36%, and what questions comprise 27.1%. Which, when, who, and where together account for less than 9%. This classification describes what a question is asking for in broad terms. The paper separately categorizes the kind of reasoning needed to link a question to its evidence and answer. The same short phrase at the start of a question can introduce a direct lookup or a situation that requires several conditions to be read together.
Most questions have a short list of annotated evidence even though the corpus is large. The authors report that 94% reference at most two articles, while 6% reference between three and nine. A shortlist of two therefore has a practical motivation for the aggregate retrieval comparison. It is structurally too short to recover every reference for some questions. The longer lists described in the paper include cases that involve cross-references or changes in the applicable law. Such cases expose the difference between finding the first useful article and assembling enough evidence to complete the answer.
How the authors score retrieval
The ranking cutoff k specifies how many results count. Recall at that cutoff is the share of the annotated relevant articles that the system returns. Precision is the share of the returned results that the annotations mark as relevant. Recall can increase when a list grows because it has more opportunities to include the references. Precision provides a view of how much irrelevant material accompanies those successes. A system tasked with feeding articles into an answering stage faces both questions at once.
The authors combine precision and recall with the F-score.
Fᵦ = (1 + β²) × (precision × recall) / ((β² × precision) + recall)
Fᵦ is the combined score, and β determines the relative emphasis on recall. Precision and recall are the proportions defined above at the chosen cutoff. The multiplication signs indicate products, and β² is the square of β. The authors set β to 2 to obtain F2, placing greater weight on recovering the relevant articles. The choice reflects the retrieval task’s purpose of presenting the downstream answer writer with the needed evidence.
Mean average precision, mean reciprocal rank, and normalized discounted cumulative gain add information about ordering. Mean average precision takes account of how precision behaves at positions where relevant results occur. Mean reciprocal rank rewards a list that puts its first relevant result near the front. Normalized discounted cumulative gain gives more credit to relevant results at earlier positions relative to an ideal ordering. A first useful hit and a fuller set of relevant articles can therefore produce different judgments even at the same cutoff.
The paper evaluates recall at k values of 1, 2, 5, 10, 20, 50, 100, 200, 500, and 1000. The other retrieval measures are computed at k = 2. Sweeping the cutoff shows how the zero-shot approaches fare when permitted to return lists of different lengths. The fixed short-list comparison brings the supervised and zero-shot settings into view under the same small result budget.
Which search approaches performed best?
BGE-m3 was the strongest zero-shot retriever in the reported recall comparison on the VLQA test set. The authors suggest that its training methods and the scale of its prior training data may help explain the result. BM25 remained competitive and computationally efficient. Vietnamese SBERT and fastText gave weak results in this task without VLQA-specific adaptation. The comparison spans several kinds of matching, so it supports the practical value of the strongest dense approach and the usefulness of keeping a lexical baseline in the benchmark.
In the comparison focused on the top two returned articles, the mBERT reranker trained on 2.1k in-domain VLQA samples substantially outperformed strong zero-shot baselines. It scores articles within the 200-result BM25 pool, so the measured result belongs to the combined retrieval procedure. The comparison demonstrates what the learned ranking stage can achieve in that setting. It gives less direct evidence about how the same reranker would perform if asked to start from a different article pool.
The common result across all evaluated retrievers is that precision at the cutoff of two remained below 0.40 on the test set. This gives scale to the gap between the strongest tested systems and the benchmark’s aim of supplying a small, useful set of provisions. It also qualifies how an answer’s input should be understood. A list supplied by retrieval can contain a nearby provision or legal language that looks pertinent without governing the facts of the question. The answer writer may have to recognize when the supplied material falls short.
How the authors score answers
For automated answer evaluation, the authors use ROUGE and BERTScore. ROUGE-1 examines overlap in individual words and ROUGE-2 examines overlap in adjacent word pairs. ROUGE-L measures how the texts align through their longest common subsequence, which retains order while allowing gaps. These scores compare a system’s answer to the expert reference. They can reward answers that use much of the same wording, including exact expressions from a provision.
BERTScore compares texts through contextual representations instead of requiring the same words to occur in matching positions. A response can receive credit for conveying material similar to the expert answer with a different formulation. The paper uses this measure alongside ROUGE because open-ended legal responses can be worded in several ways. Both kinds of measure operate by comparing an answer to reference text. The authors use expert review to judge whether the response accurately applies the law, covers the question, and omits irrelevant or misleading material.
The prompting comparisons include the instruction-tuned Qwen2.5-7B and Qwen2.5-14B systems, as well as Llama3-8B and Llama3.1-8B. The Qwen systems have a stated context window of 32,768 tokens. The paper describes this as four times the context available to the Llama systems it tests. The authors run the open-weight systems locally using vLLM. They evaluate GPT-4o, GPT-4o-mini, and DeepSeek-V3 through their APIs. Greedy decoding is the stated setting for the prompting runs, as it is for the supervised generators.
The supervised extractive systems tended to do better on ROUGE-1 and ROUGE-2, while the generative systems tended to earn stronger BERTScore results. LEGAL-BERT performed worst across the automatic measures in the extractive and generative comparison in spite of its pretraining in the legal domain and subsequent training on VLQA. The authors take this as evidence of the importance of handling the language of the task. The comparison itself establishes the standing of the tested systems under their respective training setups.
Among the systems evaluated by prompting, GPT-4o-mini had the highest automatic scores across the reported measures in both prompt settings. Qwen2.5-14B stood out among the open-weight approaches. The authors also identify a much smaller supervised alternative, BARTpho, whose performance was comparable to that of Llama3.1-8B. This comparison makes in-domain fine-tuning relevant to the choice of baseline, since the ability to follow a prompt and the ability to reproduce the style and content of this benchmark’s answers are acquired in different ways.
What reviewers found in the answers
The manual analysis draws on 100 randomly selected questions from the test set. The reviewers considered problems with the form of the answer, including formatting or character issues, and problems with its meaning, including incorrect deductions and missing information. The authors report the mean answer lengths for the expert reference and the two prompted systems discussed in the review. The star marks GPT-4o-mini, the leader in the automatic prompting comparison. The chart measures response length in words.
Mean answer length in the VLQA test-set review
Both systems wrote shorter answers on average than the expert references.
The numbers
| System or setting | mean words |
|---|---|
| Qwen2.5 | 159 |
| GPT-4o-mini (this paper) | 172 |
| Expert reference | 198 |
The authors use the shorter responses as context for the omissions reviewers found. Length on its own gives no direct assessment of coverage. Some GPT-4o-mini responses reproduced entire statutory articles, supplying plenty of text without resolving which part governed the facts. Others were coherent but incomplete or logically wrong, particularly where inference was needed. In these examples, an answer’s surface clarity and the amount of statutory language it includes can give favorable impressions while leaving the question itself unresolved.
The paper also reports that Qwen2.5-14B was less accurate than PhoBERT in the human evaluation despite stronger automatic scores. Among Qwen2.5-14B’s incorrect outputs, 77% were attributed to problems the authors group under syntactic errors, such as nonsensical phrasing or characters they describe as non-Unicode. That percentage describes the composition of the incorrect outputs. The examples of semantic failure concern different problems, including extracting an incorrect monetary fine for a motorbike traveling against traffic and inventing the name of a legal document. These represent distinct failures of evidence use. One selects the wrong information from available material. The other introduces a supposed source the material did not supply.
What the ablations show
The paper reports no formal component-removal ablation, and its closest controlled comparisons change the prompting setting, examine performance by reasoning type, and compare automatic scores with expert judgments.
Giving the same system examples
The zero-shot and two-shot runs compare an instruction with an instruction accompanied by completed examples. The intended benefit of the examples is concrete. Each shows how a question, its articles, and a written answer fit together. A system might use that relationship to infer what degree of detail is expected and how the supporting text should be turned into a response. The current question still requires its own interpretation, since the demonstrations come from the development set and concern other cases.
The measured effects varied. The paper reports improvements for GPT-4o and DeepSeek-V3, while adding examples could worsen results for smaller systems, described there as those with fewer than 14 billion parameters. That makes it possible to reject a uniform reading of the few-shot setting as an upgrade for this benchmark. Whether it helps depends on the system and how well it uses the example material while still attending to the live case.
The authors suggest input length and the smaller systems’ limited capacity to use longer contexts as possible explanations. The comparison changes several things at once. It adds example wording, adds more statutory material, and increases the length of the prompt. The experiment shows how the combined change affects the tested systems. It does not determine whether a decline came from length, the choice of examples, interference from their subject matter, or another property of processing the demonstrations. A short prompt and a demonstrated task are different conditions even when both use the same current question and articles.
Separating the wording of a question from the reasoning it calls for
The authors’ dataset analysis assigns reasoning categories in addition to surface question types. The categories include direct word matching, interpretation of concepts, logical inference, and reading across articles. They can overlap. A question can use a phrase that makes one statute easy to locate and still require another provision to determine whether the apparent rule applies. The paper reports semantic interpretation in 59% of the dataset. Logical inference accounts for approximately one-fifth, and reading across articles for about 25%.
Direct word matching covers cases with high lexical overlap between the question and the evidence. Semantic interpretation concerns cases where the system needs to connect an expression used by the questioner to a legal concept, including cases involving related or opposing words or less direct expressions. Logical inference concerns using a provision to derive an answer, for instance by determining whether the facts meet a condition. Reading across articles concerns cases where the legal basis has to be assembled from several provisions. The authors also place cross-references and temporal issues within that last category.
This taxonomy helps interpret the test comparison for Qwen2.5-14B-Instruct and GPT-4o-mini under two-shot prompting. Both systems had their highest scores on lexical matching questions. The paper describes performance declining on cases that called for semantic interpretation and logical inference. Because both systems have access to the task directions and examples, their performance on the easier grouping shows that those conditions can support straightforward matching. The decline identifies kinds of questions on which the same setting is less successful.
The breakdown is descriptive. Questions assigned to different reasoning types can also differ in wording, length, subject, or the provisions they need. A case with multiple labels can contribute to more than one type. The observed pattern helps locate difficulty in the questions the authors studied. It cannot establish how much of the decline is caused by the reasoning operation itself. The paper’s categories are most informative when read as descriptions of the demands present in each case, rather than an isolated manipulation of those demands.
What the annotation comparison reveals
The review of the dataset supplies a controlled distinction of a different kind. The expert could revise the legal basis and written answer independently. Both matched the reviewer’s judgment in 74.18% of the cases. The reviewer retained the answer while revising the supporting articles in 14.83%, and retained the articles while correcting the answer in 3.80%. Both needed revision in 7.19%. These are comparisons with the final reviewer’s decisions. They describe how annotation changed during quality control.
The cases where the answer survived and its articles changed show why a benchmark that checked the answer alone would miss some problems with its legal justification. The cases where the provisions survived and the answer changed show the converse route to error. A relevant provision can be present and the conclusion can still be incomplete or mistaken. The cases where both changed include the decree update, where new authority altered the value the response had to state. A dataset linking the two labels makes all of these patterns observable.
The reviewer’s changes also provide context for the retrieval metrics. A prediction that reproduces a citation from a consultation response can disagree with the final reference precisely because the expert preferred a more accurate legal basis. That is part of what the evaluation is intended to test. At the same time, this pattern suggests care in reading an uncredited result. The reported statistics establish that the benchmark follows the reviewed article choices. The paper gives less evidence about the full range of legally defensible citations another qualified reviewer might accept for every question.
Comparing kinds of evidence about performance
The lexical and dense retrieval results help rule out a simple rule about which style of retriever is best for this task. BM25 was competitive, while the zero-shot Vietnamese SBERT and fastText approaches were weak. BGE-m3 showed that the zero-shot dense category also included the strongest approach without in-domain training. The supervised mBERT result then showed that a system trained on VLQA can perform strongly as a reranker. These comparisons vary the scoring mechanism and training history as well as the use of VLQA. They establish rankings among tested configurations without isolating the contribution of a single design decision.
The comparison of extractive and generative answers similarly mixes different training targets, output constraints, and architectures. The extractor learns from silver sentence selections. The supervised generators learn from expert-written responses. Stronger lexical overlap from extraction and stronger contextual similarity from generation are consistent with those differences. The result describes what kinds of agreement each pipeline achieved on the test set, with the limits of a comparison in which changing the output method also changes how it is trained.
Expert review adds a direct comparison with the automatic evaluation. Qwen2.5-14B’s standing relative to PhoBERT changes when reviewers judge answers. The appendix examples make clear why both types of evaluation can produce meaningful information without agreeing. An answer can retain the topic and much of the reference wording while introducing the wrong amount for a traffic fine. Likewise, an invented title for a legal document may occupy little of the answer while affecting how a reader can verify its basis. Overlap and contextual resemblance summarize properties of the whole response. Reviewers can treat a short detail as decisive when it changes the legal conclusion.
Limitations
Limits the authors identify
The authors identify a persistent shortfall in retrieval accuracy. Even at a short cutoff, every tested approach had precision below 0.40. Good performance in relative rankings therefore comes with a substantial risk that the evidence contains material outside the annotated support. The authors also point to the problem of long statutes and difficult queries as motivation for future work on an end-to-end framework. VLQA supplies tasks and evaluation data for developing such a framework, and the reported experiments show where its components still struggle.
For answering, the authors emphasize omissions, logical errors, and hallucinated information despite fluent wording. They regard these failures as especially difficult for people seeking legal guidance without professional expertise to detect. The examples support that concern at the level of specific answers. The motorbike example shows that an error can arise even with relevant information in view. The invented document name shows that explicit instructions to stay within the evidence did not prevent every unsupported addition. The authors’ aim of improving public access to legal information therefore depends on further progress in the reliability of the complete process.
The paper announces plans to release the dataset, source code, and checkpoints. It describes these as planned releases. Its claims about future research and deployment are likewise goals. The experiments evaluate baseline behavior on the benchmark and through expert inspection, without measuring how people use such a system in a real consultation or how well it supports decisions made after the interaction.
What follows from the data and evaluation design
The paper describes broad statutory coverage. The operational scope is the article collection produced from 2,162 source documents across 27 domains after its exclusion and cleanup rules. Coverage of that collection and currency at the time of annotation are different questions from exhaustive legal coverage over time. Removing repealed material helps define a cleaner evidence collection for the benchmark. It also shapes which kinds of temporal questions the resulting benchmark can support. The example involving a changed decree demonstrates correction for a particular update. It does not establish performance across revisions to the law after the dataset was prepared.
The consultation questions are genuine inquiries, but the finished dataset represents inquiries that survived multiple filters. In particular, cases with references to whole documents or citations that the extraction procedure could not resolve could be discarded. Those rules make the evidence labels practical to check. They also favor cases whose support can be attached to specific articles in the collection using the authors’ process. An unfiltered public inquiry can arrive with incomplete facts, unclear documentation, or a need for follow-up before a useful answer can be written. The test set gives a view of the curated task instead of a direct estimate of reliability for all incoming inquiries.
Topic imbalance also affects what an overall result represents. Areas with many questions contribute more to a test-set aggregate. The distribution of article counts gives a separate view of what the retriever must search through. A broader corpus creates room for cross-topic and semantically close candidates, while the smaller question categories provide less evidence about per-domain skill. The composition counts make that distinction visible. They do not show that performance is equally dependable across the statutory domains.
The way authors select positives and negatives creates another boundary around the measured task. A positive is an article annotated as relevant to the question. A negative in the supervised setup is drawn from the lexical candidate pool and lacks that positive label. Precision and recall assess agreement with the reviewed references. If a different article supplies a plausible legal justification, the reported evaluation still depends on the annotation for that question. The expert review improves the basis for those labels, and the paper does not present a test of every potentially equivalent justification.
For retrieval, the reranker is bounded by the BM25 shortlist. For answering, the system works with articles supplied as context and faces its own input limits. An incorrect answer can reflect missing evidence, a relevant passage that did not fit or did not receive attention, or an interpretation error after reading the right provision. The paper gives examples of errors inside supplied evidence, but the results do not allocate all answer failures among these stages. The relative strengths of the reported retrieval and answering baselines therefore leave open how specific gains in article coverage would translate into better explanations.
The human review is a check on this gap, with boundaries of its own. It examines 100 randomly chosen test questions and discusses selected systems and errors. The comparisons establish that automatic metrics can miss legally important defects and can disagree with experts about which system did better. They do not establish error rates for every system, every topic, or every kind of legal reasoning. The 77% figure illustrates why the denominator matters. It covers the composition of Qwen2.5-14B’s incorrect reviewed outputs, and does not report how often all its answers across the benchmark exhibit formatting or character problems.
Finally, the reasoning categories and the zero-shot versus two-shot comparison identify conditions that matter without separating their causes. More demanding question categories can co-vary with the length and subject of the needed evidence. Adding demonstrations changes both the content and length of a prompt. Fine-tuning a system on the task changes its exposure to Vietnamese legal language, the target output, and the relevance judgments together. The paper makes each configuration available as a point of comparison. Assigning a precise causal contribution to any one of these factors would require a comparison that varies it independently.
What came after
The subsequent citations connect VLQA to Vietnamese answer-system development, exam-based evaluation, and work with legislative material in another language. The titles establish those connections at the level of research questions. The citation relationships alone leave the use of VLQA’s records, annotations, or evaluation procedure unspecified.
MinLegal at VLSP2025-LegalSLM is the closest match by language and application. The 2025 work addresses Vietnamese legal tasks with a two-stage training approach that moves from LoRA to full fine-tuning. This is a system-development contribution alongside VLQA’s work on benchmark construction. The connection is particularly relevant to VLQA’s comparison of in-domain fine-tuning with prompting. The citation does not establish whether MinLegal used the VLQA splits, the article collection, or its reviewed response labels.
JBE-QA addresses assessment of legal knowledge with a Japanese bar-exam QA dataset in 2026. It returns to a distinction that the VLQA authors make in their related work. Questions designed for a professional examination support one kind of evaluation, while citizens’ consultation questions and their linked provisions support another. JBE-QA’s stated contribution is an exam-based dataset for assessing legal knowledge. Its citation of VLQA connects those benchmark settings, with no stated transfer of VLQA’s long-form annotations or retrieval design.
SinhaLegal introduces a 2026 benchmark corpus for information extraction and analysis in Sinhala legislative text. Its announced task concerns what can be extracted from legislation. VLQA pairs a legislative collection with citizens’ questions and answers. The citation connects work on legislative corpora in different languages and with different annotations. It provides no basis for attributing VLQA’s two-part retrieval and answering evaluation to SinhaLegal.
Cite
Cite as Tan-Minh Nguyen, Hoang-Trung Nguyen, Trong-Khoi Dao, Xuan-Hieu Phan, Ha-Thanh Nguyen and Thi-Hai-Yen Vuong. 2025. VLQA: The First Comprehensive, Large, and High-Quality Vietnamese Dataset for Legal Question Answering. arXiv:2507.19995.
@misc{nguyen2025vlqa,
title = {{VLQA: The First Comprehensive, Large, and High-Quality Vietnamese Dataset for Legal Question Answering}},
author = {Tan-Minh Nguyen, Hoang-Trung Nguyen, Trong-Khoi Dao, Xuan-Hieu Phan, Ha-Thanh Nguyen and Thi-Hai-Yen Vuong},
year = {2025},
doi = {10.48550/arxiv.2507.19995},
eprint = {2507.19995},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2507.19995}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/nguyen-2025-vlqa-first-comprehensive-large-high/
References
- authorpersonDeepa Anand and personRupali Wagh. year2022. Effective deep learning approaches for summarization of legal texts. journalJournal of King Saud University-Computer and Information Sciences volume34, number5 (year2022), pages2141–2150. OpenAlex ↗ · Scholar ↗
- authorpersonPiotr Bojanowski, personEdouard Grave, personArmand Joulin, and personTomas Mikolov. year2017. titleEnriching Word Vectors with Subword Information. 1607.04606 [cs.CL] our card
- authorpersonIlias Chalkidis, personManos Fergadiotis, personProdromos Malakasiotis, personNikolaos Aletras, and personIon Androutsopoulos. year2020. LEGAL-BERT: The Muppets straight out of Law School. In booktitleFindings of the Association for Computational Linguistics: EMNLP 2020, editorpersonTrevor Cohn, personYulan He, and personYang Liu (Eds.). publisherAssociation for Computational Linguistics, addressOnline, pages2898–2904. https://doi.org/10.18653/v1/2020.findings-emnlp.261 our card
- authorpersonYupeng Chang, personXu Wang, personJindong Wang, personYuan Wu, personLinyi Yang, personKaijie Zhu, personHao Chen, personXiaoyuan Yi, personCunxiang Wang, personYidong Wang, personWei Ye, personYue Zhang, personYi Chang, personPhilip S. Yu, personQiang Yang, and personXing Xie. year2024. A Survey on Evaluation of Large Language Models. journalACM Trans. Intell. Syst. Technol. volume15, number3, Article articleno39 (datemar year2024), numpages45 pages. 2157-6904 https://doi.org/10.1145/3641289 our card
- authorpersonAndong Chen, personFeng Yao, personXinyan Zhao, personYating Zhang, personChanglong Sun, personYun Liu, and personWeixing Shen. year2023. EQUALS: A Real-world Dataset for Legal Question Answering via Reading Chinese Laws. In booktitleProceedings of the Nineteenth International Conference on Artificial Intelligence and Law (Braga, Portugal) (seriesICAIL '23). publisherAssociation for Computing Machinery, addressNew York, NY, USA, pages71–80. 9798400701979 https://doi.org/10.1145/3594536.3595159 OpenAlex ↗ · Scholar ↗
- authorpersonJianlyu Chen, personShitao Xiao, personPeitian Zhang, personKun Luo, personDefu Lian, and personZheng Liu. year2024. M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation. In booktitleFindings of the Association for Computational Linguistics: ACL 2024, editorpersonLun-Wei Ku, personAndre Martins, and personVivek Srikumar (Eds.). publisherAssociation for Computational Linguistics, addressBangkok, Thailand, pages2318–2335. https://doi.org/10.18653/v1/2024.findings-acl.137 our card
- authorpersonAlexis Conneau, personKartikay Khandelwal, personNaman Goyal, personVishrav Chaudhary, personGuillaume Wenzek, personFrancisco Guzmán, personEdouard Grave, personMyle Ott, personLuke Zettlemoyer, and personVeselin Stoyanov. year2020. Unsupervised Cross-lingual Representation Learning at Scale. In booktitleProceedings of the 58th Annual Meeting of the Association for Computational Linguistics, editorpersonDan Jurafsky, personJoyce Chai, personNatalie Schluter, and personJoel Tetreault (Eds.). publisherAssociation for Computational Linguistics, addressOnline, pages8440–8451. https://doi.org/10.18653/v1/2020.acl-main.747 our card
- authorpersonDiego de Vargas Feijó and personViviane Pereira Moreira. year2018. Rulingbr: A summarization dataset for legal texts. In booktitleInternational Conference on Computational Processing of the Portuguese Language. Springer, pages255–264. OpenAlex ↗ · Scholar ↗
- authorpersonJacob Devlin, personMing-Wei Chang, personKenton Lee, and personKristina Toutanova. year2019. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In booktitleProceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), editorpersonJill Burstein, personChristy Doran, and personThamar Solorio (Eds.). publisherAssociation for Computational Linguistics, addressMinneapolis, Minnesota, pages4171–4186. https://doi.org/10.18653/v1/N19-1423 our card
- authorpersonXingyi Duan, personBaoxin Wang, personZiyue Wang, personWentao Ma, personYiming Cui, personDayong Wu, personShijin Wang, personTing Liu, personTianxiang Huo, personZhen Hu, et al. year2019. Cjrc: A reliable human-annotated benchmark dataset for chinese judicial reading comprehension. In booktitleChinese Computational Linguistics: 18th China National Conference, CCL 2019, Kunming, China, October 18–20, 2019, Proceedings 18. Springer, pages439–451. OpenAlex ↗ · Scholar ↗
- authorpersonRandy Goebel, personYoshinobu Kano, personMi-Young Kim, personJuliano Rabelo, personKen Satoh, and personMasaharu Yoshioka. year2024. Overview of Benchmark Datasets and Methods for the Legal Information Extraction/Entailment Competition (COLIEE) 2024. In booktitleNew Frontiers in Artificial Intelligence: JSAI International Symposium on Artificial Intelligence, JSAI-IsAI 2024, Hamamatsu, Japan, May 28–29, 2024, Proceedings (Hamamatsu, Japan). publisherSpringer-Verlag, addressBerlin, Heidelberg, pages109–124. 978-981-97-3075-9 https://doi.org/10.1007/978-981-97-3076-6_8 OpenAlex ↗ · Scholar ↗
- authorpersonDan Hendrycks, personCollin Burns, personAnya Chen, and personSpencer Ball. year2021. CUAD: An Expert-Annotated NLP Dataset for Legal Contract Review. journalNeurIPS (year2021). our card
- authorpersonAmbedkar Kanapala, personSukomal Pal, and personRajendra Pamula. year2019. Text summarization from legal documents: a survey. journalArtificial Intelligence Review volume51 (year2019), pages371–402. OpenAlex ↗ · Scholar ↗
- authorpersonDiederik P. Kingma and personJimmy Ba. year2017. titleAdam: A Method for Stochastic Optimization. 1412.6980 [cs.LG] https://arxiv.org/abs/1412.6980 our card
- authorpersonKalpesh Krishna, personAurko Roy, and personMohit Iyyer. year2021. Hurdles to Progress in Long-form Question Answering. In booktitleProceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, editorpersonKristina Toutanova, personAnna Rumshisky, personLuke Zettlemoyer, personDilek Hakkani-Tur, personIz Beltagy, personSteven Bethard, personRyan Cotterell, personTanmoy Chakraborty, and personYichao Zhou (Eds.). publisherAssociation for Computational Linguistics, addressOnline, pages4940–4957. https://doi.org/10.18653/v1/2021.naacl-main.393 our card
- authorpersonWoosuk Kwon, personZhuohan Li, personSiyuan Zhuang, personYing Sheng, personLianmin Zheng, personCody Hao Yu, personJoseph E. Gonzalez, personHao Zhang, and personIon Stoica. year2023. Efficient Memory Management for Large Language Model Serving with PagedAttention. In booktitleProceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles. our card
- authorpersonQuoc Le and personTomas Mikolov. year2014. Distributed Representations of Sentences and Documents. In booktitleProceedings of the 31st International Conference on Machine Learning (seriesProceedings of Machine Learning Research, Vol. volume32), editorpersonEric P. Xing and personTony Jebara (Eds.). publisherPMLR, addressBejing, China, pages1188–1196. https://proceedings.mlr.press/v32/le14.html our card
- authorpersonMike Lewis, personYinhan Liu, personNaman Goyal, personMarjan Ghazvininejad, personAbdelrahman Mohamed, personOmer Levy, personVeselin Stoyanov, and personLuke Zettlemoyer. year2020. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension. In booktitleProceedings of the 58th Annual Meeting of the Association for Computational Linguistics, editorpersonDan Jurafsky, personJoyce Chai, personNatalie Schluter, and personJoel Tetreault (Eds.). publisherAssociation for Computational Linguistics, addressOnline, pages7871–7880. https://doi.org/10.18653/v1/2020.acl-main.703 our card
- authorpersonChin-Yew Lin. year2004. ROUGE: A Package for Automatic Evaluation of Summaries. In booktitleText Summarization Branches Out. publisherAssociation for Computational Linguistics, addressBarcelona, Spain, pages74–81. https://aclanthology.org/W04-1013 our card
- authorpersonJimmy Lin. year2019. The Neural Hype and Comparisons Against Weak Baselines. journalSIGIR Forum volume52, number2 (dateJan. year2019), pages40–51. 0163-5840 https://doi.org/10.1145/3308774.3308781 OpenAlex ↗ · Scholar ↗
- authorpersonMarco Lippi, personPrzemysław Pałka, personGiuseppe Contissa, personFrancesca Lagioia, personHans-Wolfgang Micklitz, personGiovanni Sartor, and personPaolo Torroni. year2019. CLAUDETTE: an automated detector of potentially unfair clauses in online terms of service. journalArtificial Intelligence and Law volume27 (year2019), pages117–139. our card
- authorpersonAntoine Louis and personGerasimos Spanakis. year2022. A Statutory Article Retrieval Dataset in French. In booktitleProceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), editorpersonSmaranda Muresan, personPreslav Nakov, and personAline Villavicencio (Eds.). publisherAssociation for Computational Linguistics, addressDublin, Ireland, pages6789–6803. https://doi.org/10.18653/v1/2022.acl-long.468 OpenAlex ↗ · Scholar ↗
- authorpersonAntoine Louis, personGijs van Dijck, and personGerasimos Spanakis. year2024. Interpretable long-form legal question answering with retrieval-augmented large language models. In booktitleProceedings of the Thirty-Eighth AAAI Conference on Artificial Intelligence and Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence and Fourteenth Symposium on Educational Advances in Artificial Intelligence (seriesAAAI'24/IAAI'24/EAAI'24). publisherAAAI Press, Article articleno2484, numpages10 pages. 978-1-57735-887-9 https://doi.org/10.1609/aaai.v38i20.30232 our card
- authorpersonLaura Manor and personJunyi Jessy Li. year2019. Plain English Summarization of Contracts. In booktitleProceedings of the Natural Legal Language Processing Workshop 2019, editorpersonNikolaos Aletras, personElliott Ash, personLeslie Barrett, personDaniel Chen, personAdam Meyers, personDaniel Preotiuc-Pietro, personDavid Rosenberg, and personAmanda Stent (Eds.). publisherAssociation for Computational Linguistics, addressMinneapolis, Minnesota, pages1–11. https://doi.org/10.18653/v1/W19-2201 our card
- authorpersonMasha Medvedeva, personMichel Vols, and personMartijn Wieling. year2018. Judicial decisions of the European Court of Human Rights: Looking into the crystal ball. In booktitleProceedings of the conference on empirical legal studies. pages24. OpenAlex ↗ · Scholar ↗
- authorpersonChau Nguyen, personSon T. Luu, personThanh Tran, personAn Trieu, personAnh Dang, personDat Nguyen, personHiep Nguyen, personTin Pham, personTrang Pham, personThien-Trung Vo, personDinh-Truong Dol, personNguyen-Khang Le, personDieu-Hien Nguyen, personNgoc-Cam Le, personThi-Thuy Le, personQuan Bui, personPhuong Nguyen, personHa-Thanh Nguyen, personVu Tran, and personLe-Minh Nguyen. year2023. A Summary of the ALQAC 2023 Competition. In booktitle2023 15th International Conference on Knowledge and Systems Engineering (KSE). pages1–6. https://doi.org/10.1109/KSE59128.2023.10299527 OpenAlex ↗ · Scholar ↗
- authorpersonDat Quoc Nguyen and personAnh Tuan Nguyen. year2020. PhoBERT: Pre-trained language models for Vietnamese. In booktitleFindings of the Association for Computational Linguistics: EMNLP 2020, editorpersonTrevor Cohn, personYulan He, and personYang Liu (Eds.). publisherAssociation for Computational Linguistics, addressOnline, pages1037–1042. https://doi.org/10.18653/v1/2020.findings-emnlp.92 our card
- authorpersonHa-Thanh Nguyen, personManh-Kien Phi, personXuan-Bach Ngo, personVu Tran, personLe-Minh Nguyen, and personMinh-Phuong Tu. year2024. Attentive deep neural networks for legal document retrieval. journalArtificial Intelligence and Law volume32, number1 (year2024), pages57–86. OpenAlex ↗ · Scholar ↗
- authorpersonLong Phan, personHieu Tran, personHieu Nguyen, and personTrieu H. Trinh. year2022. titleViT5: Pretrained Text-to-Text Transformer for Vietnamese Language Generation. 2205.06457 [cs.CL] our card
- authorpersonAlejandro Ponce, personSarah Chamness Long, personElizabeth Andersen, personCamilo Gutierrez Patino, personMatthew Harman, personJorge A Morales, personTed Piccone, personNatalia Rodriguez Cajamarca, personAdriana Stephan, personKirssy Gonzalez, et al. year2019. Global insights on access to justice 2019: Findings from the world justice project general population poll in 101 countries. journalWorld Justice Project (year2019), pages1. OpenAlex ↗ · Scholar ↗
- authorpersonAlec Radford, personJeffrey Wu, personRewon Child, personDavid Luan, personDario Amodei, personIlya Sutskever, et al. year2019. Language models are unsupervised multitask learners. journalOpenAI blog volume1, number8 (year2019), pages9. OpenAlex ↗ · Scholar ↗
- authorpersonColin Raffel, personNoam Shazeer, personAdam Roberts, personKatherine Lee, personSharan Narang, personMichael Matena, personYanqi Zhou, personWei Li, and personPeter J Liu. year2020. Exploring the limits of transfer learning with a unified text-to-text transformer. journalJournal of machine learning research volume21, number140 (year2020), pages1–67. our card
- authorpersonAbhilasha Ravichander, personAlan W Black, personShomir Wilson, personThomas Norton, and personNorman Sadeh. year2019. Question Answering for Privacy Policies: Combining Computational and Legal Perspectives. In booktitleProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), editorpersonKentaro Inui, personJing Jiang, personVincent Ng, and personXiaojun Wan (Eds.). publisherAssociation for Computational Linguistics, addressHong Kong, China, pages4947–4958. https://doi.org/10.18653/v1/D19-1500 our card
- authorpersonNils Reimers and personIryna Gurevych. year2019. Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks. In booktitleProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), editorpersonKentaro Inui, personJing Jiang, personVincent Ng, and personXiaojun Wan (Eds.). publisherAssociation for Computational Linguistics, addressHong Kong, China, pages3982–3992. https://doi.org/10.18653/v1/D19-1410 our card
- authorpersonStephen Robertson and personHugo Zaragoza. year2009. The Probabilistic Relevance Framework: BM25 and Beyond. journalFoundations and Trends in Information Retrieval volume3 (date01 year2009), pages333–389. https://doi.org/10.1561/1500000019 OpenAlex ↗ · Scholar ↗
- authorpersonGil Semo, personDor Bernsohn, personBen Hagag, personGila Hayat, and personJoel Niklaus. year2022. ClassActionPrediction: A Challenging Benchmark for Legal Judgment Prediction of Class Action Cases in the US. In booktitleProceedings of the Natural Legal Language Processing Workshop 2022, editorpersonNikolaos Aletras, personIlias Chalkidis, personLeslie Barrett, personCătălina Goanță, and personDaniel Preoțiuc-Pietro (Eds.). publisherAssociation for Computational Linguistics, addressAbu Dhabi, United Arab Emirates (Hybrid), pages31–46. https://doi.org/10.18653/v1/2022.nllp-1.3 OpenAlex ↗ · Scholar ↗
- authorpersonKeet Sugathadasa, personBuddhi Ayesha, personNisansa de Silva, personAmal Shehan Perera, personVindula Jayawardana, personDimuthu Lakmal, and personMadhavi Perera. year2019. Legal document retrieval using document vector embeddings and deep learning. In booktitleIntelligent Computing: Proceedings of the 2018 Computing Conference, Volume 2. Springer, pages160–175. OpenAlex ↗ · Scholar ↗
- authorpersonCong Dao Tran, personNhut Huy Pham, personAnh Tuan Nguyen, personTruong Son Hy, and personTu Vu. year2023. ViDeBERTa: A powerful pre-trained language model for Vietnamese. In booktitleFindings of the Association for Computational Linguistics: EACL 2023, editorpersonAndreas Vlachos and personIsabelle Augenstein (Eds.). publisherAssociation for Computational Linguistics, addressDubrovnik, Croatia, pages1071–1078. https://doi.org/10.18653/v1/2023.findings-eacl.79 OpenAlex ↗ · Scholar ↗
- authorpersonNguyen Luong Tran, personDuong Minh Le, and personDat Quoc Nguyen. year2022. titleBARTpho: Pre-trained Sequence-to-Sequence Models for Vietnamese. 2109.09701 [cs.CL] https://arxiv.org/abs/2109.09701 our card
- authorpersonThanh Vu, personDat Quoc Nguyen, personDai Quoc Nguyen, personMark Dras, and personMark Johnson. year2018. VnCoreNLP: A Vietnamese Natural Language Processing Toolkit. In booktitleProceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Demonstrations, editorpersonYang Liu, personTim Paek, and personManasi Patwardhan (Eds.). publisherAssociation for Computational Linguistics, addressNew Orleans, Louisiana, pages56–60. https://doi.org/10.18653/v1/N18-5012 our card
- authorpersonChaojun Xiao, personHaoxi Zhong, personZhipeng Guo, personCunchao Tu, personZhiyuan Liu, personMaosong Sun, personYansong Feng, personXianpei Han, personZhen Hu, personHeng Wang, et al. year2018. Cail2018: A large-scale legal dataset for judgment prediction. journalarXiv preprint arXiv:1807.02478 (year2018). our card
- authorpersonChaojun Xiao, personHaoxi Zhong, personZhipeng Guo, personCunchao Tu, personZhiyuan Liu, personMaosong Sun, personTianyang Zhang, personXianpei Han, personZhen Hu, personHeng Wang, et al. year2019. CAIL2019-SCM: a dataset of similar case matching in legal domain. journalarXiv preprint arXiv:1911.08962 (year2019). OpenAlex ↗ · Scholar ↗
- authorpersonFangyuan Xu, personYixiao Song, personMohit Iyyer, and personEunsol Choi. year2023. A Critical Evaluation of Evaluations for Long-form Question Answering. In booktitleProceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), editorpersonAnna Rogers, personJordan Boyd-Graber, and personNaoaki Okazaki (Eds.). publisherAssociation for Computational Linguistics, addressToronto, Canada, pages3225–3245. https://doi.org/10.18653/v1/2023.acl-long.181 our card
- authorpersonWei Yang, personKuang Lu, personPeilin Yang, and personJimmy Lin. year2019. Critically Examining the "Neural Hype": Weak Baselines and the Additivity of Effectiveness Gains from Neural Ranking Models. In booktitleProceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval (Paris, France) (seriesSIGIR'19). publisherAssociation for Computing Machinery, addressNew York, NY, USA, pages1129–1132. 9781450361729 https://doi.org/10.1145/3331184.3331340 OpenAlex ↗ · Scholar ↗
- authorpersonTianyi Zhang, personVarsha Kishore, personFelix Wu, personKilian Q. Weinberger, and personYoav Artzi. year2020. titleBERTScore: Evaluating Text Generation with BERT. 1904.09675 [cs.CL] https://arxiv.org/abs/1904.09675 OpenAlex ↗ · Scholar ↗
- authorpersonHaoxi Zhong, personChaojun Xiao, personCunchao Tu, personTianyang Zhang, personZhiyuan Liu, and personMaosong Sun. year2020a. How Does NLP Benefit Legal System: A Summary of Legal Artificial Intelligence. In booktitleProceedings of the 58th Annual Meeting of the Association for Computational Linguistics, editorpersonDan Jurafsky, personJoyce Chai, personNatalie Schluter, and personJoel Tetreault (Eds.). publisherAssociation for Computational Linguistics, addressOnline, pages5218–5230. https://doi.org/10.18653/v1/2020.acl-main.466 our card
- authorpersonHaoxi Zhong, personChaojun Xiao, personCunchao Tu, personTianyang Zhang, personZhiyuan Liu, and personMaosong Sun. year2020b. JEC-QA: A Legal-Domain Question Answering Dataset. journalProceedings of the AAAI Conference on Artificial Intelligence volume34, number05 (dateApr. year2020), pages9701–9708. https://doi.org/10.1609/aaai.v34i05.6519 OpenAlex ↗ · Scholar ↗