---
title: "Identifying Draft Bills Impacting Existing Legislation: a Case"
description: "This study tests whether Romanian draft bills can be screened for provisions that could affect existing public procurement law."
canonical: "https://research.elamur.ai/free/en/papers/ceausu-2022-identifying-draft-bills-impacting-existing/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ceausu-2022-identifying-draft-bills-impacting-existing/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Identifying Draft Bills Impacting Existing Legislation: a Case Study on Romanian

# Identifying Draft Bills Impacting Existing Legislation: a Case Study on Romanian

Paper · 2022 · Corina Ceausu and Sergiu Nisioi

**Authors:** Corina Ceausu and [Sergiu Nisioi](https://md.research.elamur.ai/free/en/authors/sergiu-nisioi/) · **Year:** 2022 · **Venue:** Proceedings of the Thirteenth Language Resources and Evaluation Conference · **Licence:** [CC BY-NC 4.0 (ELRA, LREC proceedings)](https://creativecommons.org/licenses/by-nc/4.0/)

[**0** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W7160333173) · [Proceedings of the Thirteenth Language Resources and Evaluation Conference](https://aclanthology.org/volumes/2022.lrec-1/) · [licence](https://creativecommons.org/licenses/by-nc/4.0/)

- [Publisher's page](https://aclanthology.org/2022.lrec-1.391/)
- [PDF](https://aclanthology.org/2022.lrec-1.391.pdf)
- [DOI 10.63317/5pwwyr2ht7oa](https://doi.org/10.63317/5pwwyr2ht7oa)
- [OpenAlex](https://openalex.org/W7160333173)

Citations: OpenAlex, 2026-10-14.

## Summary

A provision can change how public procurement works without mentioning procurement by name. That makes new bills difficult to screen by keyword alone. Romania’s National Agency for Public Procurement reviews legislative proposals and their amendments to find passages that could affect the rules it oversees. A bill may be long, and its wording may change as it moves through Parliament. The authors ask whether [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) can help reviewers find the individual articles that warrant attention.

The study assembles a historical collection of Romanian procurement legislation and a separate collection of draft bills that agency experts reviewed. The historical collection contains 4,307 articles. The draft collection draws on reports covering 2016 to 2019 and contains 66 proposals, with 124 articles labeled as impacting procurement legislation and 1,464 labeled as not impacting it. The authors used the drafts available during the reviews, including scans converted to text. This preserved the wording the experts had assessed and exposed the classifiers to the irregularities of converted documents.

The authors compare a classifier based on [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/), adapted to Romanian legal writing, with approaches that use word and phrase frequencies or retrieve texts with overlapping vocabulary. They report balanced accuracy, which gives the two classes equal weight despite the scarcity of impacting articles. When each bill is held out in turn, BERT reaches 0.82. [XGBoost](https://md.research.elamur.ai/free/en/papers/tianqi-2016-xgboost-scalable-tree-boosting-system/), using a representation based on words and adjacent word pairs, reaches 0.73. The vocabulary-overlap approach reaches 0.5.

The results show that article text can help prioritize passages in bills omitted from training. The authors also find situations where wording gives a misleading signal. A provision may use procurement vocabulary because it requires compliance with existing rules, while a provision that does affect those rules may rely on a reference or a connection that is hard to infer from its words. The study measures agreement with expert-derived labels in this collection. The wider judgment about which rules a provision affects, and how it affects them, still belongs to legal review.

## Deep dive: Identifying Draft Bills Impacting Existing Legislation: a Case Study on Romanian

This study tests whether Romanian draft bills can be screened for provisions that could affect existing public procurement law. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A review task that begins before a bill becomes law

The paper starts from a practical problem in [legal AI](https://md.research.elamur.ai/free/en/topics/legal-ai/). A public body responsible for a particular area of law needs to follow proposals from across Parliament. Some proposals announce their relevance through their subject matter. Others contain individual provisions that change the conditions under which an existing rule operates. The agency has to find those provisions while a bill is still under consideration, when the text may exist in several versions and reviewers have an opportunity to comment on it.

The authors describe a simplified route through the Romanian legislative process. In their account, a bill goes through debate, amendment and a vote in the Senate, followed by corresponding deliberation in the Chamber of Deputies. A bill that passes can be promulgated by the President or returned to Parliament. Specialized committees in both chambers give opinions within their areas of responsibility. A proposal can require input from several committees because its provisions touch on different policy areas. The paper uses the financing of tourism investment to illustrate how a bill with a recognizable main subject can still draw scrutiny from committees with distinct responsibilities.

The National Agency for Public Procurement has a narrower remit than a parliamentary chamber. The paper describes its responsibilities in terms of public spending, investment oversight and the rules governing procurement. Parliament seeks the agency’s advice when a bill visibly proposes changes in this area. The agency also searches for consequential provisions in proposals whose main subject may be elsewhere. Its experts monitor bills and amendments as committees consider them. Their work includes reading the proposed text, locating the passages that matter and recording the findings in reports.

This second responsibility determines the research question. A search for the words meaning public procurement can help retrieve documents that name the topic. An expert looking for impact has to consider what a provision does. A requirement to observe existing procurement rules can use the expected vocabulary while leaving the rules in force as they are. Conversely, a provision can interfere with those rules through an obligation or reference whose relevance becomes clear only when it is read alongside other legal material. A screening method has to contend with both directions of this mismatch.

#### Why the article is the unit of analysis

The authors organize the experiment around the article within a bill. A proposal can contain several provisions that deserve an agency’s attention, surrounded by others that do not. An article-level decision can direct a reviewer to the relevant passage and also supply a more precise target for an experiment. The intended output is a classification of a piece of the draft, which a reviewer can inspect within the complete bill.

The paper uses *impacting* for the positive label. Its discussion includes passages that could affect existing rules and passages judged to contradict them. In the dataset, the label is grounded in what the agency’s experts flagged during review. The experiment therefore asks whether a method can recognize articles of the kind those experts identified. It does not distinguish types of legal effect through separate labels. An article that changes a requirement and an article that conflicts with a requirement can both belong to the positive class.

A further distinction follows from the choice of unit. A provision in a draft, a proposal as a whole and an enacted law are different objects. The question posed to the classifier concerns a draft provision at the time of review. A provision can attract attention at that stage even if it is rewritten during debate. The researchers therefore need the draft version that the report refers to, and they need a way to connect the passage cited by the expert to the article used as an experimental example. The final law can be easier to obtain as text and still be the wrong document for that purpose.

#### Why the date matters

Legislation accumulates and changes over time. A procurement act published after an agency review can incorporate wording from a proposal, or otherwise reflect changes that were still pending when the proposal was discussed. If a method uses that later wording to screen the earlier draft, the comparison gives the method evidence that a reviewer working at the time could not have had. The authors therefore collect publication dates and describe how those dates can restrict which laws are available for comparison with a draft.

The word *historical* carries a practical meaning here. The authors retain documents that have since been changed because they matter to a study of past legislative reviews. A collection consisting solely of the rules active when the researchers conducted the study would answer a different question. It could help locate current provisions, while omitting material that mattered at the time of a particular proposal. The study needs both the reviewed proposal and a historically appropriate set of earlier documents to make sense of comparison across time.

The date of publication and the expert label do different jobs. A publication date helps organize the background legislation and exclude future material from a historical comparison. The label records that a reviewer identified a passage as affecting existing law. An earlier act is a plausible source to search for a legal relationship, while the report supplies evidence about the target used for training and evaluation. The authors keep these forms of evidence in separate collections.

#### The earlier work the paper draws on

The paper situates the application alongside earlier discussion of artificial intelligence in parliamentary work. It cites an analysis of the eduskunta experiment in explaining the setting in which experts have to assess proposals. It also cites work on software agents, legislative editing and parliamentary data when suggesting that screening could eventually form part of a regulatory impact assessment tool. The present study uses those references to frame a focused task with a measurable output.

For corpus construction, the authors follow the collection procedure associated with the Romanian part of MARCELL, a legislative corpus assembled from a public portal. This gives them an established route to machine-readable legal texts and a broader collection of legal writing. Their own data task adds a subject-specific historical selection and a set of draft passages linked to past agency review. The former helps define what can be searched on the procurement side. The latter provides labeled examples of the decisions the experiment tries to reproduce.

For classification, the paper brings together techniques with distinct kinds of evidence. [Romanian BERT](https://md.research.elamur.ai/free/en/papers/dumitrescu-2020-birth-romanian-bert/) supplies starting weights that the authors can adapt to legal writing before teaching a classifier to recognize the agency’s labels. Earlier work on training under a time budget informs that adaptation. Established word-based classifiers supply a comparison using vocabulary and short phrases. A retrieval approach asks whether texts with the most overlap can provide a useful label. Earlier work on Romanian [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/) provides the background for testing whether special treatment of named entities helps.

The review workflow and the available data narrow the claim the study can investigate. The agency needs help deciding where to read closely. The authors have past review reports from which to derive article labels, an archive of legal text and drafts that include noisy scans. Those materials support an experiment in screening. Assessing a bill’s wider consequences, reconstructing every legal relationship it invokes and issuing a legal opinion would require additional evidence and different outputs.

### The method, step by step

The method begins with two kinds of documents. The first collection contains laws and related acts about procurement. The second starts with bills that agency experts had already reviewed. From the first, the authors obtain dated background material. From the second, they recover the versions of the proposals and the passages identified by reviewers. The experiments then test whether an article’s label can be predicted from overlapping text, characteristic vocabulary or a representation adapted to Romanian legislation.

From legislative records to article-level screening The steps in order.

#### Building a dated collection of procurement law

The historical collection starts with an expert-guided choice of acts covering procurement law in force at the time of collection. The authors then gather acts authored by the procurement agency. A broader search retrieves historical legislation containing the normalized words for public procurement. The authors manually remove material that this last search turns up but that falls outside the procurement regulations they seek to collect.

The normalization used in the search is [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/). A lemma represents the dictionary form under which different grammatical forms of a word can be grouped. Searching on those forms allows the authors to look for the procurement expression across variations in Romanian wording. Manual filtering serves a different purpose. Even a successful match on the expression leaves open whether the document belongs in a collection of procurement law. Together, expert selection, institutional authorship and a vocabulary search give the authors different routes to relevant material.

The authors crawl the public Romanian legislative portal used for the Romanian MARCELL subcorpus. They strip away web markup to retain the language of the act. They also build a separate tabular record for the documents. It includes the publication year, the heading that gives an overview of the act’s subject, its source address and its status as primary or secondary legislation. The paper associates primary legislation with enactment by the main legislative bodies and describes secondary legislation as deriving from primary legislation.

The publication information is particularly important for comparing a bill with earlier laws. The authors illustrate this with a proposal from May, 2018. The comparison they describe would use documents that predate that proposal. Text published afterwards could contain some of the same wording because it incorporates material that was still in draft. The cutoff is meant to prevent that later material from making a historical match artificially easy. Its purpose is to define the evidence available for a comparison, independently of how the compared documents are represented.

The historical collection has 4,307 articles, 1,000,000 words and 18,000 word types. A word count includes repeated occurrences. A type count captures the distinct word forms counted in that collection. These figures describe the background legislation. The labels used to teach the supervised classifiers come from the reviewed drafts, whose size and class distribution are different.

#### Finding the reviewed bills

The authors use annual reports from the National Agency for Public Procurement to find proposals reviewed between 2016 and 2019. The reports were written as documents for readers. To turn them into something a data collection procedure can use, the authors first extract the identifiers assigned by the two chambers. Senate identifiers begin with `L`, while Chamber of Deputies identifiers begin with `PLX`. The identifiers allow the researchers to construct addresses for the proposal records in both chambers.

A proposal record is more than a copy of the proposed law. The authors download versions of the bill and associated material, including annexes and written opinions. The contents of these folders help establish which text the experts were responding to. Changes made as a bill moves through deliberation can affect both what an article says and where the passage appears. The authors manually check different versions to ensure that the annotation follows the appropriate text.

Some proposals later became law and could be found as clean text on the legislative portal. The authors choose the draft versions from the review period for their experiments. That choice connects the task to the actual material the agency had in front of it. It also preserves a source of difficulty that a study based on enacted laws could avoid. Drafts are frequently distributed as scans, and the electronic text generated from those scans can contain errors.

#### Converting the documents and assigning labels

The draft PDFs often contain images of signed pages. The authors use optical character recognition, or OCR, to turn the images into text. OCR produces characters that can be searched, segmented and processed as words. They use Tesseract for Romanian and apply preprocessing improvements based on earlier work cited in the paper. The purpose is to make scanned bills usable while keeping the experimental inputs representative of drafts received in that format.

An article boundary and an expert judgment are recovered in different ways. The authors use a regular expression, a pattern for matching sequences of characters, to segment a bill into articles. They read the expert reports manually to identify the articles and paragraphs flagged as affecting procurement legislation. A paragraph can supply the evidence for labeling the article that contains it. The experimental prediction is made for the resulting article segment.

Each article is assigned an impacting or not-impacting label. A positive example can thus be traced from a passage in a reviewed bill back to a finding recorded by the agency. The other articles supply comparison material from the same proposals. A negative example may still concern public administration, spending or a similar policy area. The target distinction is whether the article was identified as affecting the body of procurement rules under review.

The resulting draft collection has 66 proposals. It contains 124 impacting articles and 1,464 not-impacting articles. Those are article counts. The authors selected proposals with impacting material, which makes the corpus a way to study whether individual provisions can be distinguished inside relevant proposals. An ordinary monitoring workload could also contain proposals with no impactful provision at all. That difference becomes important when interpreting what the experimental screening scores can establish.

The paper identifies `rolegal` as the project repository for the collected data and experiments. It separately reports the release of the adapted Romanian legal BERT weights. The data and weights correspond to different stages in the procedure. The draft annotations define the supervised screening task, and the released weights come from adapting a Romanian BERT checkpoint to legal text.

#### Measuring differences in the vocabulary

Before comparing classifiers, the authors examine which words behave differently across the two labeled groups of articles. They use the `shifterator` library to make a word-shift analysis. The starting point is a word-frequency distribution for each group. Counting the words in the impacting articles yields one distribution, and counting the words in the not-impacting articles yields the other. Each distribution records how common a word is relative to the other words in the same group.

The first formula gives the Shannon entropy of a distribution. A word with a low probability carries more surprise when it occurs. The formula weights that surprise by the probability of seeing the word, then adds the contributions across the vocabulary.

```
H(P) = ∑ᵢ pᵢ log(1/pᵢ)
```

`P` is the distribution of words in the corpus or group of articles being analyzed. `H(P)` denotes its Shannon entropy. The index `i` identifies a word type, and `pᵢ` is that word’s probability estimated by its relative frequency in the group. `log` is the logarithm, and `1/pᵢ` is the reciprocal of the probability. The product of `pᵢ` and the logarithm gives the word’s contribution. The sum sign `∑ᵢ` adds these contributions over the word types.

The second expression assigns a score to each word by comparing its weighted log probability in the two groups. The paper writes the individual terms using the logarithm of the probability itself.

```
δHᵢ = pᵢ⁽²⁾ log(pᵢ⁽²⁾) − pᵢ⁽¹⁾ log(pᵢ⁽¹⁾)
```

`δHᵢ` denotes the shift score assigned to word `i`. The superscript `(2)` identifies the impacting articles, and `(1)` identifies the not-impacting articles. `pᵢ⁽²⁾` and `pᵢ⁽¹⁾` are the respective relative frequencies used as estimates of the word’s probability. In each term, `log` takes the logarithm of the probability and the preceding factor weights it by that probability. The minus sign subtracts the weighted term for the not-impacting group from the weighted term for the impacting group. The first expression uses a reciprocal inside the logarithm, so these written weighted terms have the opposite sign from the corresponding contributions in the entropy formula. The paper explains its figure by identifying which side contains words characteristic of each group.

The diagnostic compares groups already labeled through expert review. It reveals properties of the words that are available to the classifiers, including whether procurement vocabulary seems to be concentrated in the material flagged by the agency. It also helps explain why a classifier based on word counts might be competitive. The authors present the comparison as an exploratory analysis before the screening experiment. The classification methods have their own representations and training procedures.

#### Adapting BERT to legal language before using the labels

The BERT approach has stages with different data sources and purposes. The authors start from the cased Romanian checkpoint `bert-base-romanian-casedv1`. A checkpoint contains parameter values learned in earlier training. The authors continue training those parameters on the broader Romanian legal corpus to adapt them to legislative writing. They then use [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) for the article classification task. At this stage, the expert-derived labels supply the examples that teach the system which category to predict.

The legal adaptation has a fixed training budget of 24 hours. The paper reports 4 NVidia Tesla SXM2 devices with 16GB each. During training, the authors limited each sentence to 512 tokens. A token is a unit of text as represented by the system. The authors motivate the setting by saying that sentences in the legal documents seldom exceed that length. This setting concerns the reported pretraining stage. It gives no basis for assuming that a complete bill, or even every article in the draft collection, fits within the same input limit.

The reported batch size is 4096, and each GPU has a mini-batch of 128. The batch size describes the grouping used in training, while a mini batch per device describes the smaller portion processed there at a time. The paper also says that the learning rate decreases across the allotted time window. The learning rate controls the scale of the parameter updates. Scheduling it against the time budget lets the training proceed within the period the authors chose.

The authors use DeepSpeed for the training run and report `fp16` arithmetic. These are implementation settings of the legal adaptation. The evidence about screening comes later, after supervised fine-tuning and evaluation on held-out draft articles. A useful separation for reading the paper is that the broader corpus supplies exposure to Romanian legal writing, whereas the annotated draft articles supply decisions about procurement impact. Learning from the broader corpus does not by itself teach the meaning of the study’s positive label.

BERT offers a representation in which words are processed in relation to nearby text. In principle, that gives the classifier evidence about how a familiar procurement expression is used in a sentence, in addition to the presence of the expression itself. The study measures the resulting classifier as a whole. Its design does not isolate any particular use of context or show which linguistic distinction the adapted representation is able to make.

#### Representing articles with words and word pairs

The conventional classifiers use [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) features. The name stands for term frequency and inverse document frequency. A term can receive more weight when it occurs in the text being represented and is relatively uncommon across the collection used to derive the weights. The resulting representation is a set of weighted features for the article. The classifiers learn which patterns in those features are associated with each label.

The authors include word unigrams and bigrams, forms of an [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/). A unigram represents an individual word, and a bigram represents a pair of adjacent words. Bigrams preserve a small amount of local order. The representation can therefore distinguish a familiar phrase from the separate occurrence of its component words. The features do not retain a full account of the article’s sentence structure or of which earlier law a phrase refers to.

The authors remove stop words when constructing this representation. These are words chosen for omission from the feature vocabulary. The article still has the same legal wording as a source document, but the classifier receives a reduced, weighted set of word and phrase features. The transformation makes it possible to compare different learning algorithms with the same general kind of input.

Logistic regression learns weights for the features and combines them to make a binary decision. The paper reports the scikit-learn implementation with the `liblinear` backend, an L2 penalty and balanced class weights in its account of the conventional methods. The penalty discourages very large feature weights. Balanced weighting addresses the unequal class counts during training. This is separate from balanced accuracy, which determines how predictions are scored after training.

The tree-based approaches use combinations of feature tests. A random forest combines decisions from a collection of trees. XGBoost uses gradient-boosted trees, in which additional trees are fitted to improve the predictions made by the accumulated ensemble. The variants share the TF-IDF input design. This comparison can show how the choice of classifier matters within that design, although the results remain specific to the settings the authors report.

#### Searching for similar legislative text

The other approach is posed as [information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/). Given a draft passage, the method searches a collection of legal text for its closest matches, then uses the 3 nearest neighbors to assign a label. The search collection uses historical procurement material and the training set, along with legislative texts randomly sampled from MARCELL. Including broader legislative material allows the comparison to encounter text outside the subject-specific historical collection.

The paper initially describes matching paragraphs and then describes the test input as an article. The reported scores are for article classification. In either description, closeness is measured by the Jaccard coefficient. This compares the items shared by two sets with the items present in either set. A high overlap means that a large portion of the combined set occurs in both texts. The measure rewards common wording and expresses resemblance through the features used to form the sets.

To make the search efficient, the authors index the collection with MinHash. This creates compact signatures that can approximate set resemblance. The index helps find promising neighbors without having to calculate every full comparison directly. The criterion remains similarity in the represented text. An index that makes retrieval faster does not add a way to resolve a statutory reference or determine the legal force of a clause.

The retrieval method asks a different question from the supervised TF-IDF classifiers. A vocabulary classifier can accumulate evidence from features that recur across many labeled articles, even if the complete feature set of a new article resembles none of them closely. The nearest-neighbor approach depends on the particular texts retrieved for the query. This distinction provides a way to examine whether matching a draft to similar legislation is sufficient for the paper’s screening objective.

#### Separating training examples from test examples

The authors evaluate the approaches with two kinds of cross-validation. In cross-validation, training and testing are repeated with different portions of the available data held out. This allows the collection to support both supervised learning and evaluation. The score in each round concerns predictions on articles withheld for that round.

The first procedure is 5-fold cross-validation. The authors divide the examples into folds and use a different fold for testing in each round. They also introduce Leave One Bill Out, abbreviated LoBo. In LoBo, every article of a selected bill goes into the test set together, and articles from the remaining bills are available for training. Cycling through the proposals makes each selected bill the withheld proposal in its own round.

Grouping by bill changes the generalization problem. In an article-level split, training and test examples can come from the same proposal. They may share phrasing, policy subject matter or drafting conventions simply because they belong to a common text. LoBo removes this route to familiarity for the withheld proposal. It asks whether patterns learned from other bills remain useful when the system encounters the articles of a different bill.

These splits concern which labeled examples are shared between training and testing. The publication-date restriction concerns which historical documents belong in a comparison for a draft under review. The distinction matters because group separation and historical separation address different threats to interpretation. A held-out bill can still be evaluated alongside other bills from any part of the collection unless dates also govern the training split. The authors describe LoBo as a bill-wise procedure.

### Experiments and results

#### What is in the evaluation

The two groups of labeled draft articles differ substantially in size. The 124 impacting articles contain 39,000 words and 4,500 word types. The 1,464 not-impacting articles contain 300,000 words and 15,000 types. These are the reported counts for the full labeled groups, before specifying any particular training or test round. The historical procurement text contributes background material and is reported separately from the two groups.

The counts help explain the need for a metric that reflects performance on both labels. A prediction rule can encounter many ordinary passages from these bills while seeing relatively few that experts flagged. A score based only on the share of all articles classified correctly would let the larger class exert greater influence. The authors use balanced accuracy to give the two labels equal influence over the final score.

Balanced accuracy first asks what share of each class was correctly recognized. For impacting passages, this concerns how frequently truly impacting articles were flagged. For not-impacting passages, it concerns how often articles in that group were correctly left unflagged. The metric averages the two rates. A reported balanced accuracy therefore cannot be read as the fraction of all articles labeled correctly, or as the fraction of flagged articles that a reviewer would confirm.

The comparison includes BERT adapted to legal text, XGBoost, logistic regression, random forests and the nearest-neighbor method. The supervised approaches are evaluated on withheld draft articles, and the retrieval comparison uses overlapping text to assign their labels. The two cross-validation designs apply the same metric. This lets the paper compare performance within each design and inspect how scores change when a whole proposal is withheld.

#### Holding out an entire proposal

In Leave One Bill Out, the test material consists of the articles from a single proposal at a time. This design addresses the scenario in which a reviewer receives a bill whose other passages have never supplied training labels to the classifier. For that reason, the results are particularly relevant to the paper’s aim of helping screen proposals as they arrive for review.

Leave One Bill Out balanced accuracy on reviewed Romanian draft bills Legal BERT leads the comparison, followed by XGBoost using weighted word and phrase features.

**The numbers**

| System or setting | balanced accuracy |
| --- | --- |
| Legal BERT (this paper) | 0.82 |
| XGBoost | 0.73 |
| Logistic regression | 0.68 |
| Random forests | 0.57 |
| Nearest neighbors | 0.5 |

BERT reaches 0.82 balanced accuracy, and XGBoost is the strongest of the approaches using TF-IDF features at 0.73. Logistic regression follows at 0.68. The nearest-neighbor approach scores 0.5, the level attained in binary balanced accuracy by consistently choosing a single class when both classes are present. Its mean provides little evidence that this particular overlap rule can reliably separate the labels for a withheld bill. The score does not identify the prediction pattern that produced it.

The paper also gives the standard deviation of scores across the evaluation rounds. Standard deviation describes how spread out the scores are around their mean. In LoBo, it is 0.113 for BERT. XGBoost has a standard deviation of 0.227, and logistic regression has 0.212. Random forests have 0.174, while nearest neighbors have 0.01. In the results for these bills, BERT combines the highest mean with a smaller spread than the classifiers using TF-IDF features. The small spread for nearest neighbors accompanies a low mean.

Those spread figures matter because the typical level of performance and the consistency of that performance answer different questions. A reviewer receives a particular bill, and individual bills can be easier or harder to screen than the mean suggests. The article groups differ in subject matter and can also vary in how frequently impacting provisions appear. The reported standard deviations show the variability of the measured scores. They do not identify the source of each difficult case.

#### Testing on article folds

When test articles come from ordinary folds, the paper again reports legal BERT as the strongest classifier. XGBoost takes the next position, and the order of the other methods remains the same as in the bill-wise evaluation.

Balanced accuracy in 5-fold cross-validation on reviewed Romanian draft articles Legal BERT ranks first, and XGBoost leads the classifiers using the shared word-based representation.

**The numbers**

| System or setting | balanced accuracy |
| --- | --- |
| Legal BERT (this paper) | 0.86 |
| XGBoost | 0.74 |
| Logistic regression | 0.69 |
| Random forests | 0.58 |
| Nearest neighbors | 0.51 |

The mean balanced accuracy is 0.86 for BERT and 0.74 for XGBoost on this split. Their reported standard deviations are 0.03 and 0.071, respectively. Logistic regression has a standard deviation of 0.046, random forests have 0.04 and nearest neighbors have 0.01. The leading mean and the amount of variation describe properties of the cross-validation results. They supply no direct measurement of time saved in an agency’s workflow.

Every reported mean is higher in the article-fold evaluation than in LoBo. The ranking persists when the unit of withholding changes from an article fold to a proposal. That agreement makes the relative ordering easier to interpret within the collected data. The lower means in LoBo show the importance of using the bill-wise results when the practical question is how well the system does on a proposal absent from its supervised training examples.

One plausible contributor to the split effect is that passages within the same bill share terminology and drafting patterns. The comparison is also affected by what each score is averaged over. A fold containing mixed articles and a round consisting of a complete bill give different test sets. The reported comparison does not assign the changes in score to a single cause. It shows the result of shifting the whole evaluation design in the way the authors describe.

#### How to read the headline result

The abstract expresses the leading figures as 82% for the BERT classifier and 73% for XGBoost. The results table specifies the metric and the split: these figures are balanced accuracies under Leave One Bill Out. This context matters because the literature’s positive class is defined by expert review and substantially fewer articles carry that label. The scores summarize how well each approach recognizes both classes when it is tested on a whole bill withheld from training.

For the intended application, the positive and negative errors would have different effects. A missed positive could leave a reviewer without a prompt to investigate a consequential provision. A false positive could mean spending time reading a provision that the expert review did not flag. Balanced accuracy gives errors in both classes a role in the reported comparison, but it does not specify the workload produced by any particular screening cutoff. The paper evaluates a classifier on a labeled collection and leaves the operational balance between finding more passages and generating more alerts open.

The results establish that the BERT approach can draw useful screening evidence from the text under the evaluation conditions. They also establish that a conventional classifier with short word-sequence features can make meaningful distinctions on the same task. The near-neighbor result shows the weakness of relying on shared wording through this specific retrieval setup. Taken together, the scores distinguish the approaches on article classification. The evaluation does not produce an explanation of how each flagged passage affects a particular regulation.

### What the ablations show

The paper reports no formal ablation series that removes individual components from the legal BERT pipeline and measures their effects separately. It offers a comparison of representations and classifiers, a comparison of test splits, a word-frequency diagnostic, observations about handling named entities and a qualitative account of errors. These analyses address different aspects of how the task behaves.

#### Vocabulary is informative at the group level

The word-shift figure places procurement and financial vocabulary prominently among the terms the authors describe as characteristic of impacting articles. The examples include words for services, contract, authority and acquisition. The paper also draws attention to language concerning financial information, budgets and deadlines. The diagnostic brings this pattern out by comparing how words contribute across the two labeled groups, rather than simply listing common words across the whole corpus.

This result helps explain why the TF-IDF classifiers have something to learn. The classification target concerns procurement law, and some words used in procurement are distributed differently across the labels. Bigrams can add evidence when a short phrase is more characteristic than either word on its own. The word-shift analysis shows a difference available in the input. Its scores do not identify the features on which a particular classifier actually relied in an individual prediction.

The diagnostic also helps explain two types of mistakes the authors discuss. An article may state that an activity must comply with existing procurement policy. It can contain vocabulary that frequently appears in flagged articles while leaving those policies untouched. Conversely, a contradicting provision can be phrased in a way that provides little explicit vocabulary overlap with procurement law. The first case can produce a false alert. The second can produce a missed alert. Both arise because word usage and legal effect are related in the collection without corresponding perfectly.

#### The shared representation still leaves room for different predictions

XGBoost, logistic regression and random forests all use the weighted word and word-pair representation. The stronger results for XGBoost show that the choice of classifier matters even within that representation. In this experiment the features support better performance with the reported boosted trees than with the reported logistic regression or random forests. This is a comparison of complete classifier settings using a shared input design.

The comparison with nearest neighbors sharpens the distinction between using words as predictive features and using overlap to identify similar documents. The nearest text may share routine legal phrasing with the draft, or it may describe the same topic while giving it a different legal treatment. A supervised word-based classifier can benefit from patterns found across labeled articles without depending on any particular historical passage as the nearest match. The reported results favor the supervised classification approach over the paper’s Jaccard retrieval procedure. They leave open how another retrieval setup might perform.

BERT’s lead is consistent with the possibility that a richer representation of text helps in this task. The comparison changes more than the representation, however. It also changes the training procedure and uses prior adaptation on the Romanian legal corpus. Without a comparison to the same Romanian checkpoint fine-tuned directly on the article labels, the gain attributable to legal adaptation remains unknown. The results establish the standing of the complete approach in the experiment.

#### Whole-bill testing exposes variation across proposals

The two split designs offer a controlled change in what material is withheld. Moving to LoBo keeps all articles from one proposal on the test side in a given round. The means are lower under that design, and the reported variability is higher for BERT and the TF-IDF classifiers. The nearest-neighbor method has the same reported standard deviation in both designs. The more demanding group split thus affects the supervised results while leaving the ranking intact.

The result is informative for students of evaluation because the labels attach to articles while the practical input arrives as a bill. An article can share phrasing and assumptions with other parts of the same proposal. Holding out complete proposals asks a more relevant question about transfer from one bill to another. The paper’s measurements show how its systems compare under both definitions of unseen material. They do not isolate which properties of a bill, such as subject matter, length or drafting style, account for the variation.

Reports of references to earlier laws point to another kind of variation. Some bills may express the important connection directly in the provision. Others may require a reader to locate and interpret an earlier act. The authors identify references as a potential source of errors, but they do not give scores separately for articles with and without them. The qualitative observation suggests what can make a bill hard to screen without quantifying that difficulty.

#### Entity handling and the missing links between laws

The authors tried forms of named-entity handling and report that they did not observe an improvement. Their account mentions removing entities, tokenizing them or otherwise handling them for the legal domain. The paper gives no separate score for the variants. The evidence is therefore a qualitative report about what the authors tried under the study’s conditions.

A named entity and a legal relationship are different kinds of information. Recognizing the name of an institution or the wording of a reference could help represent a mention. Determining which legal provisions the mention invokes requires the surrounding text and possibly access to other documents. Determining whether the draft changes or contradicts those provisions requires understanding the relationship between them. The authors observe errors associated with references to earlier laws and with contradictions whose connection to procurement is hard to see from vocabulary alone.

This observation gives context to the entity result. The paper’s approaches classify articles without a knowledge base linking relevant legal documents. Simply changing the way an entity is presented leaves the prediction task dependent on the evidence otherwise available in the passage. The paper does not test a pipeline that follows each legal reference and compares the relevant provisions. Its analysis identifies a gap between the text the classifier sees and the material an expert can consult.

#### A small labeled collection leaves room for overfitting

The authors also raise the possibility of overfitting. An approach can learn a pattern that looks predictive in the available examples but arises from the particular articles sampled. With relatively few positives, repeated observations of a phrase or a drafting convention may reflect a small part of the policy area. A flexible classifier or a high-dimensional feature representation has many opportunities to assign importance to such patterns.

Leaving out a complete bill helps reveal some failures to transfer between proposals. It cannot show that a classifier would perform equally well on future bills, bills from additional policy areas or material gathered through another review process. The score variation is compatible with the authors’ concern, while many factors can contribute to that variation. The paper offers no learning-curve experiment or other controlled comparison that measures overfitting separately from changes in bill content.

### Limitations

#### Limits stated by the authors

The authors frame the method as assistance for legal experts. Their task produces article labels, and an expert has to decide how a flagged provision relates to the applicable law. The paper’s stated goal is to reduce the effort of finding the passages that deserve this attention. It supplies no experimental measurement of a reduction in review time.

The paper identifies incomplete context as a limit. A classifier receives article text without full access to the context needed for each legal decision. A provision can depend on wording elsewhere in the bill, or it can refer to earlier laws whose significance is unclear from the citation alone. The approaches also lack a knowledge base connecting the legal documents. An expert tracing a possible conflict can consult those connections during review. The experimental task gives the classifier a narrower set of evidence.

The authors also acknowledge that the labeled collection is small, particularly for impacting articles. They point to the risk of identifying accidental patterns when powerful approaches are trained on those examples. Their stated direction for future work is to expand the labeled data and analyze the lexical, grammatical and feature-related reasons for a prediction. The paper’s qualitative error discussion begins to show the kinds of evidence such an analysis would need.

The authors hope that this work will support screening beyond procurement. The study itself deals with Romanian public procurement and reports results on that domain. An agency concerned with another area may have different terminology, review practices and patterns of relationships between laws. The paper offers a procedure for assembling and studying analogous resources. It reports no result measuring transfer to such a domain.

#### Limits that follow from the data and evaluation

The test collection derives from proposals identified through agency review and selected for their impacting content. The reported negative articles come from that set of proposals. This supplies a comparison group that is useful for identifying consequential passages within bills already known to contain them. The sample does not establish how the classifier would behave over the full stream of proposals encountered by reviewers, including proposals where every article is negative. The frequency of alerts in that wider stream could differ from what a reader might infer from the experimental corpus.

The label records the outcome of a review and annotation process. The authors manually check different versions of the bills, which helps ensure that the labels attach to the intended passages. The paper does not report a separate agreement measurement among legal reviewers or among independent annotators. A reader can therefore interpret the data as a record of passages identified in the review reports and mapped to articles. The amount of disagreement another team might have about borderline passages remains unmeasured.

The move from paragraphs in the reports to article-level classification also limits the resolution of the answer. An article may receive a positive label because of one passage inside it, while much of its wording has no bearing on the effect at issue. The experiment measures whether the article is found. It does not measure whether the classifier can identify the relevant paragraph or direct a reviewer to the precise language that needs attention.

Dates address an important issue but have to be read in relation to the specific input they govern. The authors describe excluding later laws from historical comparisons. LoBo keeps a proposal’s labeled articles out of its own training round. The paper describes pretraining on the entire Romanian legal corpus and gives no separate account of a date cutoff for that pretraining stage. It also reports no chronological experiment that trains the article classifier on earlier proposals and then tests on later proposals. The evidence supports a claim about withholding complete bills within a retrospective collection.

Publication dates support filtering based on what had already appeared. Establishing what rule was operative at a particular time can also require tracing amendments and relationships between acts. The historical collection deliberately includes documents that have since changed, and the reported methods do not reconstruct a complete version of the applicable law for each review date. The archive is a source of historical context. A legal determination of the relationship between a draft and that context still requires further work.

The use of actual scanned drafts gives the experiment a realistic source of noisy text. The paper does not report a comparison of classifier scores between scans converted through OCR and clean text for equivalent drafts. Some proposals have a later clean version as enacted law, but differences in legislative wording would complicate that comparison. The study shows performance on its chosen document representations and leaves the contribution of recognition and segmentation errors unmeasured.

The retrieval description also gives limited detail about how matched passages lead to the final article label. It introduces the comparison in terms of paragraphs and then describes similarity for the test article. The paper reports a common article-level result, but does not break down the outcome by matching unit or by the source of the neighbors. The observed score applies to the method used in the experiment. It provides no estimate of the value of a different matching unit or a different way of assembling the candidate collection.

Balanced accuracy is appropriate for showing whether an approach can recognize both classes despite their unequal sizes. It leaves unanswered the questions a reviewer would face in use. The paper gives no count of how many alerts a reviewer would have to examine for a given rate of finding impactful articles, and no measurement of how those alerts would affect the review process. Reading an individual withheld bill involves both the quality of the predictions and the distribution of consequential passages in that bill. The average score addresses only part of that situation.

Finally, the strongest classifier combines a Romanian starting checkpoint, legal pretraining and supervised adaptation to the draft labels. The paper compares the resulting approach with methods that transform the same classification problem in other ways. The comparison does not attribute performance to any single stage, and it does not show that the classifier can justify its choices in terms a legal reviewer could verify. The results support prioritizing article text as a screening problem. Identifying the governing provision, interpreting its connection to the proposal and deciding what action follows remain independent legal tasks.

### What came after

No later citing work is identified, so a subsequent extension or independent test of the approach cannot be traced here. The authors themselves proposed expanding the set of labeled bills and analyzing the lexical, grammatical and feature-level evidence behind particular predictions. They also raised the possibility of using the approach outside procurement. Those are directions proposed in the paper. The reported evidence concerns article-level screening of the Romanian draft bills and procurement legislation assembled for this study.

## Cite

Cite as Corina Ceausu and Sergiu Nisioi. 2022. Identifying Draft Bills Impacting Existing Legislation: a Case Study on Romanian. Proceedings of the Thirteenth Language Resources and Evaluation Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{ceausu2022identifying,
  title = {{Identifying Draft Bills Impacting Existing Legislation: a Case Study on Romanian}},
  author = {Corina Ceausu and Sergiu Nisioi},
  booktitle = {Proceedings of the Thirteenth Language Resources and Evaluation Conference},
  year = {2022},
  doi = {10.63317/5pwwyr2ht7oa},
  url = {https://doi.org/10.63317/5pwwyr2ht7oa}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
