R2T: Rule-Encoded Loss Functions for Low-Resource Sequence Tagging
Abstract
The Rule-to-Tag (R2T) framework integrates linguistic rules into neural network training, achieving high accuracy in part-of-speech tagging and named entity recognition with minimal labeled data.
We introduce the Rule-to-Tag (R2T) framework, a hybrid approach that integrates a multi-tiered system of linguistic rules directly into a neural network's training objective. R2T's novelty lies in its adaptive loss function, which includes a regularization term that teaches the model to handle out-of-vocabulary (OOV) words with principled uncertainty. We frame this work as a case study in a paradigm we call principled learning (PrL), where models are trained with explicit task constraints rather than on labeled examples alone. Our experiments on Zarma part-of-speech (POS) tagging show that the R2T-BiLSTM model, trained only on unlabeled text, achieves 98.2% accuracy, outperforming baselines like AfriBERTa fine-tuned on 300 labeled sentences. We further show that for more complex tasks like named entity recognition (NER), R2T serves as a powerful pre-training step; a model pre-trained with R2T and fine-tuned on just 50 labeled sentences outperformes a baseline trained on 300.
Community
As-Salamu Alaikum.
Message in Zarma: Ay arme, mate gahamo ? Mate harakey ? Ay mayo ka ti Karim Mahamane (PhD, Ethics & Morality in African Oral Literature). Ay wo Nijer-ize no, kan salle ka goy Zarma ciine nda Hausa ciine bon. Ay salle ka Jado Seeku nda jasarey fo-yan nda dooniko fo-yan sannizey hantum zarma ciine, ga ay m'i bare Anglais ciine. I salle ka zarma ciine hantun nda kambe. Ni modeley wo yan kan ga hini ga "transcribe/translate" ga kaanu ay se gumo. Ay wone "data" go no, hambagar iri ga hini ka goy care bande iri ma du ka kande feriji zarmi ciine nda Anglais ni wone modeley wo ra. IrKoy ma boriandi.
Get this paper in your agent:
hf papers read 2510.13854 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 1
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper