Can Small Language Models Handle Vietnamese Legal Reasoning? Insights from Multi-Task Evaluation
Paper · 2025 · Long S. T. Nguyen, Hung C. Luu, Quynh T. N. Vo et al.
Summary
A system that answers questions about Vietnamese law may have to decide whether a passage is useful, choose among plausible interpretations, or write an explanation that applies a rule to someone’s circumstances. Each task gives the system a different amount of help. A passage supplied alongside a question gives it evidence to inspect. A list of alternatives gives it possible answers to compare. A written response requires it to supply the answer and explain how the law supports it. The authors ask how far a compact language model can go on each task, with institutions that have limited computing resources in mind.
The study uses Qwen3-4B and the VLSP 2025 Legal Benchmark. It examines continued pretraining on Vietnamese legal material and instruction fine-tuning on examples built for particular tasks. Continued pretraining exposes the system to the language and content of legal documents. Instruction fine-tuning gives it questions and examples of the responses it should produce. The authors use Vietnamese statutes and legal news to build supervision for citation judgments and multiple-choice questions, and derive case-based written answers from statutes. Some training responses give the final answer alone. Other versions also include a written explanation of how to reach it.
On the official multiple-choice test, training with final answers alone achieves the highest reported accuracy, 0.9110. On the citation-usefulness test, the best accuracy is 0.9200, reached by settings that train on both multiple-choice questions and citation judgments. The setting trained on citation judgments alone scores 0.9067 on that test. These results show that the form and mixture of training examples matter for the two tasks with fixed answers. They also show that the best training setting depends on which task the system will perform.
The evidence for free-text question answering is narrower. The two continually pretrained settings score 0.1806 and 0.1736 on normalized exact match, which gives credit when a response matches the reference wording after basic cleanup. Those are the only reported free-text scores, so the effect of instruction fine-tuning on that task remains open. The authors point to questions that require information from multiple documents as a difficulty and propose combining task training with access to retrieved legal material. The study establishes that compact systems can perform well on the benchmark’s fixed-answer tasks and gives a more limited picture of their ability to write answers grounded in Vietnamese law.
Deep dive: Can Small Language Models Handle Vietnamese Legal Reasoning? Insights from Multi-Task Evaluation
A study of compact language models for Vietnamese law finds that task-specific training improves answer selection, while written legal answers remain difficult. · about 34 minutes to read
The problem and its context
The work hidden inside a legal answer
A legal question can look simple while leaving several decisions to the person or system answering it. Someone has to identify the governing rule, decide which facts matter under that rule, and work out what follows for the case. The response may also need to explain where the rule came from and why it applies. The paper treats these demands as related but experimentally separable parts of legal reasoning.
The difference becomes clearer if the document is already on the desk. A reader can inspect a passage and decide whether it speaks to the question at hand. Giving the reader the passage removes the search problem, but there is still a judgment to make. The text might concern the same broad subject and yet address a different obligation, procedure, or group of people. The authors illustrate the distinction with provisions concerning enterprises. A provision about what shareholders must do can help answer a question about shareholders. Its subject gives a reader little reason to use it to decide how someone applies for a driver’s license. The benchmark makes the relationship between the particular passage and the particular question the object of evaluation.
Multiple-choice questions change the problem again. The possible answers offer clues about what distinction matters. The reader may have to recognize whether a rule covers a broad category or only part of it, whether a condition is required, or whether the question asks about a different procedure from the ones named in the alternatives. The paper’s description of the benchmark emphasizes legally plausible distractors, meaning incorrect options chosen to resemble defensible answers. The test therefore makes room for finer judgments than a quiz with obviously unrelated alternatives. Its outcome is still a selection from a fixed set.
A case-based written answer has to bring the pieces together in language. In the format the authors describe, the answer states a legal rule, explains how it bears on the facts, and reaches a conclusion. This creates several opportunities for error within the same response. The governing rule can be wrong even if the writing is clear. The rule can be correct while the explanation overlooks a decisive fact. A correct conclusion can also appear with a weak account of how it was reached. These possibilities explain why the paper gives the written task its own evaluation and why the choice of metric matters when interpreting its result.
Why the authors focus on Vietnamese and on a compact system
The paper describes a gap in natural language processing for Vietnamese law. It identifies several constraints that can reinforce each other. Expert-labeled examples are scarce. Vietnamese has linguistic features, including tonal variation and compound expressions, that the authors identify as challenges. Statutory documents add legal and structural complexity. The computing resources needed for large-scale training also limit which systems institutions can realistically experiment with or deploy. A better collection of task examples can address one part of the problem, while a tractable choice of system addresses another.
The authors situate this gap in a field that already had specialized systems in several languages. They mention work on English legal texts, including LEGAL-BERT, alongside Chinese legal systems and Japanese research associated with COLIEE. These examples establish the background for adapting a general system to the vocabulary, documents, and tasks of a legal domain. The authors’ question concerns how much adaptation of this kind can accomplish for Vietnamese when the system itself is small enough to fit the intended resource setting.
The paper also distinguishes two kinds of scarcity. A project may have many legal documents and still have relatively few examples that show how to answer legal questions. A statute can supply authentic wording, names of institutions, and statements of obligations. It does not, on its own, provide a ready-made collection of questions, closely competing answers, or judgments about which passage a person would need. The paper uses the available document collection for domain exposure and constructs separate task examples to supply those missing response patterns.
What earlier Vietnamese work made possible
Earlier Vietnamese legal systems devoted substantial attention to information retrieval. In the paper’s account, vLawyer used similarity methods and Lucene to locate relevant material. Later work combined ways of searching for shared words with ways of searching for related meanings, then reconsidered the order of the results. Other projects built legal document query systems around retrieval-augmented generation, in which a system looks up external material and uses it to inform the response it writes.
Retrieval gives the answerer a source to work with, which matters in a domain where the details of a provision can change the answer. It also pushes a separate question into view. Once a search returns a passage, how well can the answerer judge what that passage supports? The paper’s citation-usefulness task starts at that point. It puts a legal passage and a question together and evaluates the judgment about their relationship. This complements the earlier emphasis on finding documents, since an effective search and a correct judgment about what the returned material says solve different parts of the same problem.
The related work also describes a shift toward adapting systems directly to Vietnamese law. The authors cite pipelines that prepared legal corpora before further training and studies that trained compact systems on curated legal material. ViGPTQA used instruction-based training with both machine-generated and human-written questions. On the data side, the paper points to collections for procurement law and to work on retrieval across languages. These efforts gave researchers ways to study particular kinds of legal reading and answering in Vietnamese.
One important resource in that account is VLQA, which the paper describes as containing 3,129 expert-annotated legal questions. A collection of that kind supplies labeled questions in a setting where expert supervision is scarce. The present study asks a question that requires a different experimental view. It wants to see how the same backbone behaves across evidence judgments, option selection, and case-based writing, and whether adapting it for one kind of answer helps with another.
The authors position the work at the intersection of those two developments. Vietnamese legal research already had retrieval techniques, instruction-tuned systems, and increasingly substantial data collections. What the authors wanted to examine was the behavior of a compact system across several kinds of decision under a common evaluation. They therefore designed the study to try different ways of adapting the system and evaluate it on the official tasks of the Vietnamese Legal Language Models challenge at VLSP 2025.
The method, step by step
From legal documents to task examples
The method begins with two ways of using legal material. The first is to continue training an existing system on legal text so that it sees more of the language used in Vietnamese statutes and related writing. The second is to turn material from the same domain into instructions paired with desired responses. These are distinct training signals. A document gives the system examples of how law is written. An instruction example shows it how to behave when someone presents a legal question or asks for a judgment.
The experimental backbone is Qwen3-4B, a member of the family described in the Qwen3 Technical Report. The relevant size here is the backbone’s 4B parameters. Parameters are the adjustable quantities the training procedure updates to change the system’s predictions. The paper also draws on Qwen3’s ability to run in thinking and non-thinking modes. Those modes matter in the continued-pretraining comparison, while the presence of an explanation in a training response is a separate choice made when building supervised datasets.
The authors present continued pretraining followed by instruction fine-tuning as their general methodology. The experiments also compare continually pretrained settings with settings described as receiving direct instruction fine-tuning. The diagram follows the resources through those two forms of adaptation and into evaluation.
From Vietnamese legal documents to task evaluation
The steps in order.
Preparing the legal corpus
The starting resource includes 96,770 statutory documents and 47,967 legal news and commentary pieces in the authors’ initial inventory of the challenge’s pretraining material. The statutory collection ranges across different kinds of formal legal documents. The news and commentary provide examples of legal language used to discuss developments and applications. The two sources therefore have different roles. A statute provides the wording of a rule, while a news article can connect legal language with examples and contemporary discussion.
The statutory material arrives as records with varying HTML structure. The authors use html2text to remove markup and other formatting material while retaining the substantive text. They keep metadata identifying the document and recording such information as its title, date of issue, and issuing body. They store the cleaned records as JSONL, with a separate record on each line. Preserving document identity is important for the subsequent filtering and for instances in which a question or answer has to be tied to a particular document.
The next step addresses provisions that have been repealed or superseded. The authors scan documents for effectiveness clauses, where a document may specify earlier material that it renders invalid. They then compare the names mentioned in those clauses with document names in the collection. They remove numerical identifiers from the names before comparison and use Qwen3-Embedding-0.6B to represent their meaning for semantic similarity. This lets the matching procedure use similarities between names even when the raw strings differ.
The authors set the matching threshold at 0.6 based on their empirical choice for the filtering procedure. Removal requires both an explicit indication of abrogation and a match above that threshold. The intended distinction is between a predecessor that the new rule invalidates and a broader document that remains relevant even though parts of it have been amended. The pipeline logs invalidated records in a field called Deprecated. For this filtering pass, the paper reports removing 15,516 of 95,468 documents, or roughly 16.2%. That denominator belongs to the filtering report. The initial inventory gives its own statutory count, and the experiment description separately characterizes the material for continued pretraining as roughly 145k curated legal documents.
Continued pretraining on legal text
In the paper’s notation, Mθ is the pretrained system and θ represents its adjustable parameters. The authors describe the starting system as already trained on general material. Continued pretraining changes those parameters using a legal corpus, denoted Dₗₐw, to make legal vocabulary, constructions, and patterns of expression more familiar to the system.
The stated objective is masked language modeling. A training sequence has some positions hidden, and the system is asked to assign probability to the true content at each of those positions given the visible context. A prediction that assigns more probability to the true content receives a smaller penalty. Repeating this over legal sequences gives the system practice with the textual patterns that appear there, before any task asks it to say whether a citation is useful or to select an answer option.
L_MLM = −Eₓ∼Dₗₐw [Σᵢ∈M(x) log Pθ(xᵢ | x∖i)]
L_MLM is the masked language modeling loss, and MLM abbreviates the name of the objective. Eₓ∼Dₗₐw denotes an average over training sequences x drawn from the legal corpus Dₗₐw. M(x) is the set of masked positions in x, distinct from the notation Mθ for the system itself. The sum Σ runs over those positions, with i identifying a position and xᵢ giving its true content. The expression x∖i stands for the sequence with the content at i withheld. Pθ is the probability assigned by the system with parameters θ, and the vertical bar means that the prediction is conditioned on the material to its right. The logarithm and the leading minus sign turn low probability for the correct content into a larger loss.
The objective concerns the words in the documents. Its expected contribution is that a system with more practice predicting legal text has a better starting point for subsequent legal tasks. The task objectives add the instruction to make a particular decision or produce a particular response. Keeping those signals separate helps explain how continued pretraining can produce a useful starting system while leaving room for further improvements on an evaluated task.
Constructing the supervised tasks
The authors use Gemini to generate examples in an instruction-and-response format. For citation usefulness and multiple choice, the construction draws from statutes and legal news. For free-text question answering, it draws exclusively from statutes. Each family gives a different meaning to a correct response.
Citation usefulness pairs a question with a legal passage and asks whether the passage can be used to answer the question. The authors put this under natural language inference, abbreviated NLI, and use a binary output of Có or Không, corresponding to yes or no. In this formulation, the question occupies the role conventionally called the hypothesis, and the supplied legal text occupies the role of the premise. The decision is about evidentiary usefulness for a question.
An example in the paper presents a Thanh Hóa decision about land administration. The question asks who must implement the decision. The supplied portion names the people and bodies with that responsibility, so the expected label is yes. The reasoning version explains why the passage supplies the requested information. The final-answer version needs only the label. The decision under evaluation is whether the passage supports an answer, even though a reader could go further and give the list of responsible parties.
Multiple-choice legal question answering, abbreviated MCQ, supplies a question and four answer options. One is designated correct, and the others are meant to remain plausible to a reader who misses a distinction in the law. In the Gia Lai regional planning example, the options differ in which kinds of impact the planning study is supposed to cover. The correct choice includes both effects inside the region and effects outside it. Restricting the scope to internal effects produces a plausible but incomplete alternative. The reasoning response discusses how the options differ. The final-answer response gives the selected letter.
The free-text QA examples present a case and call for a written answer with a legal basis, an application to the facts, and a conclusion. An example concerns an outage in the Ministry of Education and Training’s E-Office system. The question asks which unit has to tell other units about the interruption and the outcome of the repair. The reference response grounds the responsibility in the applicable decision, identifies the outage as the triggering circumstance, and names the information technology department as the responsible unit. The output has to express the connection between the rule and the situation as well as supply the name.
This task family illustrates a distinction between a structured final response and a reasoning trace. The final response can itself contain an explanation organized around the rule, the facts, and the conclusion. The trace gives an additional account of how the answer is prepared. Removing the trace from the training target still leaves the case answer’s substantive legal structure intact. In multiple choice and citation usefulness, the difference is more pronounced because the final response can be a letter or a binary label.
Preparing answer variants and document tasks
For each benchmark task, the authors create versions with and without a written reasoning trace. The input format for a pair stays the same. In the reasoning version, the response includes explanatory material set apart from the final answer by explicit delimiters. In the other version, the response goes directly to the answer. This is a change in the target the system learns from. Both versions still ask it to make the underlying legal decision.
The reported sample counts are 29,992 for each free-text QA version, 30,123 for each citation-usefulness version, and 29,835 for each multiple-choice version. The paper measures example lengths in words. For free-text QA it reports a mean of 402.07 words with reasoning and 278.97 words with the final answer alone. For citation usefulness, the corresponding means are 832.60 and 728.83 words. For multiple choice, they are 198.10 and 81.23 words. These are lengths of the constructed examples, including the material supplied in the instance, so the measurements describe the training records as a whole.
The longest citation-usefulness record reaches 94,659 words in the version with reasoning and 94,508 words in the final-answer version. The reported means and maxima describe very different parts of the length distribution. A reader should therefore distinguish the size of a typical record from the extreme length that some supplied legal text can reach. The examples with justification add output material on top of the question and passage, while the long input itself can still dominate the record.
The authors then derive two document-centered training sets, with 30,000 examples in each, by reorganizing material from the synthetic stage and, for the recall task, using statutory text. This second construction stage uses existing material without a fresh round of generation. Document detection maps a legal question to a document name or identifier. It is intended to train routing, meaning the ability to direct the question toward a likely source. In the Lai Châu example, the question asks about a named decision. The target identifies the decision itself, while the legal issue asked about remains the subject of the question.
The other auxiliary task, called document revision in the paper, asks for the wording of a provision given its document name or reference. The operative behavior is recall. In the customs example, a decree and article identify the provision, and the target reproduces the relevant statutory text on overdue customs procedures and re-export. This reverses the direction of the document-detection exercise. Detection goes from a question to the identity of a source. Revision starts with a source reference and asks for its text. Neither of these auxiliary exercises corresponds to a separate result column in the official evaluation. Their role is to supply training signals that might transfer to the benchmark tasks.
Fine-tuning objectives
The authors put the supervised data into a common instruction format so that one backbone can train on different kinds of examples. The appropriate response still changes with the instruction. A case answer can occupy several parts of a response, a binary decision can end in a single label, and the multiple-choice task can end in a letter. The objective in each case trains the system to assign greater probability to the recorded target.
For free-text QA, the formal objective conditions the answer on both a legal context and a question.
L_QA = −log Pθ(a | c, q)
L_QA is the loss for free-text question answering. The symbol a is the reference answer, c is the legal context, and q is the question. Pθ(a | c, q) is the probability the system, with parameters θ, assigns to that answer given the two inputs. The logarithm and minus sign convert the probability into a penalty that decreases as the recorded answer becomes more probable. The equation states the conditional task generally. An appendix illustration presents a case in the instruction and expects the response to supply the legal basis, showing how the role of legal context can differ between the formal description and an individual prompt.
For citation usefulness, the objective gives credit for placing probability on the label recorded for the question and passage.
L_NLI = −Σᵧ∈{useful, not-useful} 𝟙[y] · log Pθ(y | p, h)
L_NLI is the citation-usefulness loss. The sum Σ considers the two possible values of y, useful and not-useful. The indicator 𝟙[y] selects the true class for the example, contributing one for that class and zero for the other. The multiplication dot attaches that indicator to the corresponding log probability. The symbol p is the premise, meaning the supplied legal passage. The symbol h is the hypothesis in the paper’s terminology, here the legal question. Pθ(y | p, h) gives the probability of the label under parameters θ given the passage and the question. The minus sign makes higher probability for the recorded class yield a lower loss.
For multiple-choice QA, the objective conditions the correct choice on the question and the available options.
L_MCQ = −log Pθ(a* | q, {aᵢ}ᵢ₌₁ᵏ)
L_MCQ is the multiple-choice loss. The symbol a* is the correct answer choice. The question is q, and {aᵢ}ᵢ₌₁ᵏ is the collection of answer candidates indexed by i from one through k. The symbol k is the number of candidates. Pθ gives the probability, under parameters θ, of selecting the correct candidate given the question and the collection of options. The negative logarithm penalizes low probability for that candidate.
The paper describes the joint dataset as the union of the supervised collections for the benchmark tasks.
D_multi = D_QA ∪ D_NLI ∪ D_MCQ
D_multi is the combined instruction dataset. D_QA contains the free-text examples, D_NLI contains the citation-usefulness examples, and D_MCQ contains the multiple-choice examples. The union sign ∪ expresses that the joint collection brings the task examples together. The later experimental settings also explore mixtures with document detection and document revision, beyond the three benchmark tasks represented in this expression.
During multitask training, the authors alternate mini-batches from different tasks. A mini-batch is a group of examples used for a training update. The paper represents the contributions of the tasks in a weighted objective.
L_total = λ_QA L_QA + λ_NLI L_NLI + λ_MCQ L_MCQ
L_total is the combined objective. L_QA, L_NLI, and L_MCQ are the losses for free-text answers, citation judgments, and multiple-choice selection. The coefficients λ_QA, λ_NLI, and λ_MCQ are the task weights. Each determines the contribution of its task’s loss in the sum. The form allows tasks to receive different emphasis. The paper gives the expression without numerical values for those weights.
The authors also express the joint training problem as minimizing the average task loss on the mixed dataset. This formulation is called empirical risk minimization because the average is taken over examples in the observed training collection.
minθ E₍ₓ,ᵧ₎∼D_multi [L_task(x)(θ; x, y)]
The notation minθ means to choose parameters θ that minimize the objective. The expectation E averages over input and target pairs (x, y) drawn from D_multi, the mixed training data. The symbol x denotes the instruction input, including the relevant question and any accompanying material. The symbol y denotes its desired response in this general equation. Its meaning can therefore differ from the binary class label y in the citation loss. The expression task(x) identifies the task to which the input belongs, and L_task(x)(θ; x, y) is the corresponding loss for that example with those parameters. The semicolon within the formula distinguishes the parameters from the example arguments.
By default, they train with AdamW at a learning rate of 2×10⁻⁵, using batches of 64. The learning rate sets the scale of training updates, and the batch size gives the number of examples used in a batch. Early stopping uses validation accuracy to decide when to stop training. The instruction-tuning experiments are described as using single-task or multitask collections of 12k–30k samples. Setting names identify the backbone, the tasks, the reasoning flag where applicable, and the size. The named optimizer comes from Decoupled Weight Decay Regularization.
Experiments and results
What the official tests measure
The evaluation uses the official test splits of the VLSP 2025 Legal Benchmark. These should be distinguished from the larger collections the authors construct for training. The multiple-choice split has 146 questions. Each offers a correct answer alongside three alternatives designed to sound plausible. The paper describes questions concerning taxation, labor and social insurance, and administrative rules. The task score records how frequently the selected answer agrees with the designated choice.
The citation-usefulness split has 150 records. A record presents a legal passage, a legal inquiry, and a request for a binary judgment about the passage’s usefulness. The gold label, meaning the reference decision for scoring, says whether the supplied material can help answer the inquiry. This arrangement holds the passage fixed for each item. Accuracy therefore concerns a judgment about given material, and the experiment leaves the problem of searching the whole collection outside this test.
The free-text QA split has 120 case-based questions. The paper describes reference responses that apply laws or decrees to facts and give a conclusion. The cases cover areas including land, labor, social insurance, and healthcare. A system producing this kind of answer has to decide what to say and how to express it. The evaluation checks the resulting string against a reference, after simple normalization. This makes the output harder to match than a fixed option or a binary label, even before considering the legal difficulty of the underlying question.
The paper uses accuracy for both fixed-answer tasks. Each item contributes a success when the prediction equals the gold label.
Acc = (1/N) Σᵢ₌₁ᴺ 𝟙[ŷᵢ = yᵢ]
Acc is accuracy, and N is the number of examples in the test split being scored. The sum Σ runs over examples indexed by i, from one through N. The symbol ŷᵢ denotes the predicted label for example i, and yᵢ denotes its gold label. The indicator 𝟙 returns one when the labels agree and zero otherwise. The factor 1/N converts the count of successes into their proportion of the split.
For free-text QA, the paper uses exact match, abbreviated EM. It compares strings after lowercasing and removing punctuation and whitespace.
EM = (1/N) Σᵢ₌₁ᴺ 𝟙[ν(âᵢ) = ν(aᵢ)]
EM is the proportion of examples with matching normalized answers, and N is the number of examples in the QA split. The sum Σ covers examples indexed by i from one through N. The symbol âᵢ is the system’s written answer for example i, while aᵢ is the reference answer. The function ν applies the normalization to each string. The indicator 𝟙 returns one when the normalized strings are identical and zero otherwise. The factor 1/N averages those outcomes over the split.
The two metrics have a similar mathematical form because each records a success or a failure for an item. The condition for success differs substantially. Multiple choice and citation usefulness ask for a label from a closed set. Exact match asks for agreement across an entire normalized response, potentially including a rule, its application, and a conclusion. The scores are best read within their own tasks.
Multiple choice favors final-answer training
The continued-pretraining comparison uses Qwen3-4B in thinking and non-thinking modes. On the official MCQ test, the continually pretrained thinking setting scores 0.7808 accuracy and the non-thinking setting scores 0.8630. The highest result comes from direct MCQ instruction fine-tuning with final-answer targets at the reported 30k setting. It scores 0.9110. Its matched reasoning-target setting, also labeled 30k, scores 0.8630.
Accuracy of selected Qwen3-4B settings on the VLSP 2025 multiple-choice test
Training directly on multiple-choice answers alone gives the strongest result.
The numbers
| System or setting | accuracy |
|---|---|
| Continued pretraining, thinking | 0.7808 |
| Continued pretraining, non-thinking | 0.8630 |
| MCQ training with reasoning targets | 0.8630 |
| MCQ training with final-answer targets (this paper) | 0.9110 |
| NLI training with final-answer targets | 0.8836 |
| Joint MCQ and NLI training | 0.8699 |
The fine-tuning results also show that direct MCQ supervision is only one route to a relatively strong multiple-choice result. The setting trained on citation usefulness with final-answer targets scores 0.8836 on MCQ. The 12k mixture of MCQ and citation usefulness scores 0.8699. These results give evidence of performance on the option task after training on a closely related decision or on a mixture of the two. The leading setting for MCQ nonetheless uses the training examples devoted to that task.
Several other readers of the same benchmark could be interested in a different property, such as whether a system can answer both fixed-format tasks well. The comparison gives them a reason to look beyond the best MCQ score. The setting with 0.9110 on MCQ scores 0.7400 on citation usefulness. The setting that wins on option selection therefore gives a different balance across tasks from the settings trained on both. The experimental design makes that tradeoff visible by reporting the same evaluation columns across training settings.
Citation usefulness benefits from the right mixture
The continually pretrained settings begin from stronger citation-usefulness scores than their MCQ results. The thinking setting reaches 0.9133 accuracy on the official citation test, and the non-thinking setting reaches 0.9000. Instruction fine-tuning on citation usefulness alone reaches 0.9067. The best reported accuracy, 0.9200, occurs both for the 12k joint MCQ and NLI setting and for the 15k mixture of MCQ, NLI, and document detection.
Accuracy of selected Qwen3-4B settings on the VLSP 2025 citation-usefulness test
The highest accuracy is shared by training mixtures that include citation judgments and multiple-choice questions.
The numbers
| System or setting | accuracy |
|---|---|
| Continued pretraining, thinking | 0.9133 |
| Continued pretraining, non-thinking | 0.9000 |
| NLI training with final-answer targets | 0.9067 |
| Joint MCQ and NLI training (this paper) | 0.9200 |
| Joint MCQ, NLI, and document detection training | 0.9200 |
| Joint MCQ, NLI, QA, and document detection training | 0.6933 |
The rankings matter for interpreting the authors’ claim about multitask learning. The best joint settings improve on the citation-only setting, and both include explicit citation examples. Merely using instruction supervision gives wide variation in the resulting scores. MCQ-only training with reasoning targets reaches 0.7667 on the citation test, while the corresponding final-answer setting reaches 0.7400. The observed complementarity is specific to mixtures in which the evidence judgment is itself part of the training objective.
The best citation setting also depends on how ties are described. The numeric tie means that the addition of document detection was compatible with the highest observed citation score. The smaller reported mixture without document detection already reached that score. The experiments therefore give evidence that MCQ and NLI can work together under the tested conditions, while leaving the separate contribution of routing supervision unresolved.
The free-text results cover continued pretraining
On the official free-text split, the continually pretrained thinking setting scores 0.1806 EM, and the non-thinking setting scores 0.1736 EM. The table gives free-text scores for these two settings only. The paper explicitly says that it did not evaluate the fine-tuning-only settings on free-text QA, even though several fine-tuning settings contain QA examples. The distinction matters because a training column in a setting’s name tells the reader what supervision it received. A score is evidence of performance only for a task on which that setting was evaluated.
The authors describe the free-text results as falling below 0.20 EM and point to cases that require reasoning across documents as a difficulty for a training pipeline built from synthetic cases. The appendix’s E-Office example illustrates a question whose answer can be grounded in a specific provision. A case whose answer depends on more than one document asks the system to assemble a broader legal basis before it can write. The paper identifies that broader demand as a weakness of the evaluated generation settings. It does not give a separate exact-match result for a subset of such cases.
The reported numbers thus support different claims for the fixed-answer and free-text tasks. For MCQ and citation usefulness, the study compares several ways of preparing the same backbone and identifies task settings that achieve strong scores on their official splits. For free text, it establishes how two continually pretrained settings fare against strict reference matching. Those results give a baseline for the generation problem and leave the effect of the supervised QA variants unanswered.
What the ablations show
Written reasoning and inference mode are separate choices
The comparison that most closely holds the other stated training conditions fixed is the pair of 30k MCQ settings. They share the backbone, task, and named data size. One learns from written reasoning and a final choice. The other learns from the final choice alone. On the official MCQ split, the reasoning-target setting scores 0.8630 and the final-answer setting scores 0.9110. Within this design, adding a written account of why the choice is right fails to improve the measured selection accuracy.
That result is about a particular kind of supervision. The reasoning version supplies an extra sequence of words for the system to learn, while the test score depends on the final option. The authors interpret the stronger final-answer setting as evidence for concise, outcome-focused supervision in compact systems. The comparison establishes the outcome of using these particular training targets. It does not separately identify whether the effect comes from the length of the trace, the quality of its legal explanation, or differences in how training allocates attention to the final choice. Those remain possible mechanisms, and the paper reports no controlled tests that distinguish them.
The same pair also shows why the task named in the headline result matters. On the official citation-usefulness split, the reasoning-target MCQ setting scores 0.7667, and the final-answer MCQ setting scores 0.7400. Their ordering reverses when the evaluation changes from selecting a legal option to judging a citation. Both settings were trained on MCQ, so this reversal is an observation about transfer. It limits a general claim that the best target format for direct multiple-choice performance will also be best on a different task.
Thinking at evaluation time is a separate comparison. With continued pretraining, the thinking setting scores 0.7808 on MCQ, below the non-thinking setting’s 0.8630. On citation usefulness, thinking scores 0.9133, compared with 0.9000 for non-thinking. On free-text QA, thinking scores 0.1806 EM, compared with 0.1736 EM for non-thinking. These are changes associated with the run mode of the continually pretrained system. They do not isolate the effects of adding explanation targets during supervised training. Keeping the comparisons distinct prevents evidence about one design choice from being used to explain the other.
Some task mixtures transfer better than others
The paper’s strongest evidence for combining tasks comes from citation usefulness. Direct instruction fine-tuning on citation usefulness alone gives 0.9067. The 12k mixture of MCQ and NLI gives 0.9200. Conceptually, there is something for the tasks to share. A plausible multiple-choice answer can fail because it adds a condition, omits a category, or applies a rule to the wrong circumstance. A supplied passage can fail the usefulness test for similar reasons. The paper interprets the result as evidence that supervised option discrimination can complement training on evidence judgments.
The experiment still compares full recipes. The NLI-only setting is labeled 30k, while the joint MCQ and NLI setting is labeled 12k. The mixtures differ in composition and reported size. The score therefore establishes that the tested combination works better on the citation split than the tested single-task recipe. An estimate of the effect of adding MCQ alone would require training settings that also held the citation examples, data allocation, and other relevant details fixed. The paper does not report that matched comparison.
A broader mixture offers a second observation. The 15k setting trained on MCQ, NLI, and document detection attains 0.9200 on citation usefulness. A 15k setting that also includes free-text QA reaches 0.6933 on that same test. Their MCQ scores are 0.8356 and 0.7877, respectively. These named settings offer a direct practical comparison of recipes at the same reported size. The broader recipe scores lower on both measured tasks. The result shows that adding coverage of another answer format to a mixture at that size can accompany poorer performance on the existing fixed-answer evaluations.
A plausible interpretation concerns what the examples ask the system to produce. A QA training response may contain a governing rule, facts, and an application, while a citation judgment can finish with a short label. Sharing one instruction format does not make the supervision identical. The result also leaves open how the training examples were allocated among the tasks and how that allocation affected the comparison. Since the paper gives no free-text evaluation for either mixture, the cost or benefit of the added task on written answering remains unmeasured.
Auxiliary tasks give mixed evidence
Document detection and revision are intended to develop useful component skills. A routing exercise trains a system to associate a question with the identity of a source. A statutory recall exercise trains it to produce provision text from a source reference. A citation usefulness test reverses part of that situation because the relevant decision is whether a particular supplied passage can answer a question. A good transfer result would therefore show that practicing one activity helps with another, rather than directly score the auxiliary activity.
The standalone detection setting, labeled 30k, achieves 0.7877 on MCQ and 0.8200 on citation usefulness. The standalone statutory revision setting, also labeled 30k, achieves 0.8356 and 0.7600 on those splits. The difference between these scores illustrates why auxiliary training has to be evaluated in relation to the intended downstream task. The revision setting has the higher MCQ result of the two. The detection setting has the higher citation result. Each represents transfer from a document-centered task, with neither receiving a dedicated benchmark score for its own training target in the results.
The mixtures containing MCQ, NLI, QA, detection, and revision add a further comparison. The setting labeled 15k scores 0.8356 on MCQ and 0.8667 on citation usefulness. The setting labeled 13k scores 0.8630 and 0.9133, respectively. Both carry the same task names. With those recipes, a larger reported size does not correspond to better performance on either fixed-answer test. The paper gives no basis for attributing the difference to any one component in the mixture.
The most stable result across the citation comparisons is that both leading recipes include MCQ and NLI, and one already reaches the best score without either document task. The comparison involving QA shows that broader training can have costs on the fixed-answer tasks. Taken together, the runs support using measured task outcomes to judge a mixture, since the usefulness of a training example in isolation does not establish the effect of including it alongside several different targets.
Limitations
Limits the authors identify
The authors identify generative fine-tuning as an area their experiments cover only partly. They build instruction data for case-based answers and include it in some training recipes, but the reported free-text results come exclusively from the continually pretrained settings. This is the main boundary on the paper’s comparison of adaptation strategies. The evidence allows a reader to compare fine-tuning and continued pretraining on the fixed-answer tasks. It leaves the corresponding comparison for written legal answers open.
The authors also emphasize a mismatch between their automatic metric and some of the qualities that matter in a legal answer. Exact match rewards reproduction of a particular normalized answer. A reader evaluating a legal explanation would also care about its faithfulness to the statute, whether the cited rule is actually applicable, and whether the response is safe to rely on. Those properties require inspection of the legal content and its consequences. The authors propose human evaluation of faithfulness as future work.
Complex cases are another stated difficulty. The paper points to long and compositional contexts, including questions that require material from several documents. Its synthetic QA procedure builds structured cases from statutes, and an individual example can illustrate how to apply a provision. The authors’ analysis suggests that composing an answer from multiple sources places a demand beyond what that construction adequately covers. Their proposed directions include larger QA collections and combining multitask training with retrieval.
The paper additionally mentions parameter-efficient fine-tuning and more control over the amount of computation spent in thinking mode. Parameter-efficient training would adapt a system by updating a restricted part of it, while a thinking budget would regulate the computation available for producing a response. The authors describe these as directions to examine. The reported experiments compare existing adaptations and modes, so the value of either proposed change remains a question for future measurements.
Further limits of the experimental setup
The reported backbone fixes the scope of the study’s claim about size. Every experiment uses Qwen3-4B. This keeps the starting architecture constant when comparing training recipes, which is useful for attributing differences to the experimental settings. It also means the study gives a case for this backbone at the stated size. A broader claim about all compact systems, or a claim about what happens as parameter count changes, would require comparisons across additional backbones or sizes.
The opening comparison in the results uses continually pretrained variants. The main table gives no score for untouched Qwen3-4B under the same tests. Consequently, it provides a comparison between different forms of adaptation and between the two modes used after continued pretraining. The incremental effect of continued pretraining over the original backbone is a different quantity. An evaluation of a clean sequence of pretraining followed by a matched fine-tuning recipe would also be needed to isolate their combined effect. The methodology presents both stages together, while the results identify groups of settings for the adaptation comparison.
The paper argues that a compact system is attractive to institutions with constrained computing resources. Its main evidence is about task performance with a shared backbone of the stated size. The results do not give measured memory use, latency, or deployment cost. Those measurements would answer whether a given institution can run a particular setting under its own operating conditions, especially when different response modes may spend computation differently. The benchmark accuracy gives one part of that decision.
For the fixed-answer tasks, the evaluation is tied closely to the information supplied with an item. The citation task gives the legal passage, and multiple choice gives the candidate answers. Strong performance on citation usefulness therefore licenses a claim about judging supplied evidence. To establish the quality of an entire legal search system would require evaluating whether it finds the right passage in the full collection and what happens when potentially relevant sources compete. Similarly, a choice among plausible answers demonstrates a particular kind of discrimination. Writing an answer independently adds decisions about what evidence and interpretation to put forward.
The use of exact match creates another boundary. A legally equivalent reformulation can fail to match the reference after lowercasing and removal of punctuation and whitespace. A response can also contain individually sound pieces of reasoning while failing to reproduce the complete reference. Conversely, matching a reference establishes agreement with that reference, while broader legal adequacy depends on what the reference covers. The paper’s exact-match scores are therefore concrete evidence about reproducibility of the expected answer under its scoring rule. Without a parallel assessment of legal content, they leave the proportion of substantively sound responses unknown.
The score also does little to localize the source of an answer failure. A different rule, an incorrect application, an omitted conclusion, and an equivalent turn of phrase can each produce a mismatch under the same metric. The authors discuss multi-document reasoning as one observed difficulty. The aggregate table gives no breakdown by question length, legal subject, or number of documents needed. Consequently, the explanation gives a plausible account of part of the problem while the relative frequency of different failure types remains unresolved.
The official splits give directly comparable results across training settings. Within those splits, the paper presents point estimates for the settings. It reports neither variability across repeated runs nor uncertainty around the rankings. That is particularly relevant when reading nearby citation scores and exact ties. The tie at 0.9200 is a tie for the reported official test result. A claim about which recipe usually performs better would require additional evidence about variation across runs or test collections.
The cleaning procedure is another place where the intended property and the evidence for it should be distinguished. The authors aim to leave a legally current corpus by checking explicit repeal statements and matching the referenced document titles. The method relies on the relevant clauses being recognizable and the title match being strong enough to pass the threshold. No separate audit in the paper measures how often the process misses a repeal or incorrectly identifies a document for removal. The reported removal count documents what the procedure did. It cannot by itself verify the legal status of every record that remained.
There is also a reporting limit in how the corpus sizes fit together. The initial inventory names 96,770 statutory documents, the filtering procedure uses a denominator of 95,468, and the experiment description calls the continued-pretraining input approximately 145k curated legal documents. Each figure appears in a different part of the method. The paper gives enough detail to identify the initial sources and the removal rule, while leaving the precise accounting from inventory through filtering to the experimental run unspecified. That distinction matters to anyone trying to reproduce the exact training collection.
Finally, the constructed examples deserve to be understood as a form of supervision whose properties are separate from those of the official test. The paper explains their sources, formats, and lengths, and illustrates what a reasoning trace or final-answer target looks like. The results do not include a separate human audit of the generated legal explanations or a measured analysis of how closely the synthetic questions resemble specific official items. Benchmark gains establish usefulness of a recipe under the reported evaluation. Assessing the legal accuracy and coverage of the generated material itself would require evidence directed at those properties.
What came after
The paper’s subsequent influence has yet to be documented through a citing study. There is therefore no later result to attribute to its dataset construction, its comparison of answer formats, or its use of a common compact backbone across legal tasks.
The authors’ own next questions are clearer than the record of follow-up. They propose testing whether retrieved legal material helps the system write more faithful answers, especially for cases that require several sources. Their citation-usefulness task suggests a concrete role for such a judgment within a larger system. A search stage could supply candidate material, and a usefulness decision could assess whether a candidate addresses the question. The paper tests that judgment on passages already supplied to the system. The proposed hybrid would have to demonstrate the quality of the resulting written answer after retrieval and evidence selection.
The other proposed direction is to measure what exact match leaves unresolved. A human assessment of faithfulness could examine whether the answer uses the right legal authority and applies it to the stated facts, even when its wording differs from the reference. That would make it possible to evaluate the free-text training recipes on the aspect of legal performance that motivates them. For the published experiments, the clearest finding remains the difference in evidence across tasks. Targeted instruction training produced the strongest observed scores for fixed-answer decisions, while the written-answer evidence came from a narrower comparison under a stricter scoring rule.
Cite
Cite as Long S. T. Nguyen, Hung C. Luu, Quynh T. N. Vo, Hy N. G. La, Hoai M. Tran, Anh T. D. Dinh, Tuan H. Nguyen, Tri N. Ho and Tho T. Quan. 2025. Can Small Language Models Handle Vietnamese Legal Reasoning? Insights from Multi-Task Evaluation. Proceedings of the 11th International Workshop on Vietnamese Language and Speech Processing.
@inproceedings{nguyen2025can,
title = {{Can Small Language Models Handle Vietnamese Legal Reasoning? Insights from Multi-Task Evaluation}},
author = {Long S. T. Nguyen, Hung C. Luu, Quynh T. N. Vo, Hy N. G. La, Hoai M. Tran, Anh T. D. Dinh, Tuan H. Nguyen, Tri N. Ho and Tho T. Quan},
booktitle = {Proceedings of the 11th International Workshop on Vietnamese Language and Speech Processing},
year = {2025},
url = {https://aclanthology.org/2025.vlsp-1.23/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/nguyen-2025-can-small-language-models-handle/