arXiv Machine Learning

Domain-Adaptive Small Language Models for Structured Tax Code Prediction

The paper introduces a domain‑adaptive small language model (SLM) with an encoder‑decoder architecture to predict hierarchical tax code sequences from unstructured product and service data. It demonstrates that this approach outperforms flat classifiers and both decoder‑only and encoder‑only models on the Harmonized System of Nomenclature (HSN) task, and can be extended to other tax commodity codes such as UNSPSC and NCM.

arXiv AI
Oct 5

Law And Order: Tax Law Autoformalization

arXiv:2610.02792v1 Announce Type: new Abstract: Legal systems are increasingly implemented through software, yet scalable methods for translating legal texts into accurate symbolic representations re...

By Sophia Simeng Han, Yoshiki Takashima, Anjiang Wei, Zhaoyu Li, Michael Genesereth
Hugging Face Trending Papers
Aug 18

Where A Small Language Model Helps in Invoice Categorisation, Understood Through Embedding Geometry

The paper explores using a small language model (SBERT) for invoice categorisation, a task that requires nuanced accounting judgement. By analysing the embedding geometry of SBERT and DeBERTa, the authors find that the sentence‑embedding space is globally anisotropic but contains locally isotropic clusters tied to vendor identity. Fine‑tuned SBERT achieves 0.96 accuracy and 0.9 F1 with only about 100 client‑specific invoices, outperforming zero‑shot LLMs and vendor baselines, and demonstrates that in‑house SLMs can reduce cost, enhance security, and improve interpretability.

arXiv Machine Learning
Aug 19

Where A Small Language Model Helps in Invoice Categorisation, Understood Through Embedding Geometry

The paper investigates using a small language model (SBERT) for invoice categorisation, showing that fine‑tuning on a single GPU yields 0.96 accuracy and 0.9 F1 with about 100 client‑specific invoices. It analyses the embedding geometry, finding that the sentence‑embedding space is globally anisotropic but locally isotropic, with clusters strongly linked to vendor identity. The study demonstrates that an in‑house SLM can outperform zero‑shot LLMs and vendor baselines while improving cost, security, and interpretability.

By Emma Ceccherini, Daniel Lawson, Anjulika Salhan
arXiv AI
Jun 16

Consensus-based Agentic Large Language Model Framework for Harmonized Tariff Schedule Code Classification

arXiv:2606. 16987v1 Announce Type: new Abstract: Accurate Harmonized Tariff Schedule (HTS) code classification is essential for customs clearance, duty assessment, trade statistics, and regulatory compliance in maritime logistics.

By Truong Thanh Hung Nguyen, Khanh Van Quynh Nguyen, Hoang-Loc Cao, Tri Duong, Phuc Ho, Van Pham, Loc Nguyen, Hung Cao
arXiv Computation and Language
Oct 12

Assessment of Generative Named Entity Recognition in the Era of Large Language Models

The paper evaluates open‑source large language models (LLMs) for both flat and nested named entity recognition (NER) tasks, comparing them to traditional encoder‑based models and decoder‑based LLMs using in‑context learning. It shows that with parameter‑efficient fine‑tuning and structured output formats (e.g., inline brackets or XML), LLMs can match or exceed the performance of conventional NER systems, and that their NER abilities arise from instruction following rather than memorization. Additionally, fine‑tuning for NER minimally affects, and can even improve, the LLMs’ general capabilities on other benchmarks.

By Qi Zhan, Yile Wang, Hui Huang
arXiv Machine Learning
Jun 5

Domain-Adapted Small Language Models with Hybrid Post-Processing: Achieving Cost-Efficient, Low-Latency Multi-Label Structured Prediction via LoRA Fine-Tuning on Scarce Data

arXiv:2606. 05781v1 Announce Type: new Abstract: Deploying frontier large language models (LLMs) for domain-specific structured evaluation tasks often incurs substantial latency, cost, and data privacy overhead.

By Srinivasan Manoharan, Dilipkumar Nallusamy, Sachin Kumar, Haifeng Wu
arXiv Machine Learning
Nov 2

Peeling the Matryoshka: Extracting Ontological Structure from Retrieval Embeddings

The paper demonstrates that Matryoshka Representation Learning (MRL) embeddings contain a natural coarse‑to‑fine hierarchy, with prefix length aligning to gold taxonomy granularity. By training a simple order‑embedding probe called PEEL on these frozen embeddings, the authors can recover high‑fidelity taxonomic DAGs from a concept vocabulary alone, achieving strong results on two OLLM benchmarks and transferring to new domains without target‑edge supervision. The study shows that pre‑trained retrieval embeddings encode a decodable granularity gradient, enabling a minimal probe to extract explicit parent‑child (is‑a) structure.

By Eunchan Kim, Inwhee Joe
arXiv Computation and Language
Sep 3

Using Large Language Models for Legal Decision-Making in Austrian Value-Added Tax Law: A Comparative Study

This study experimentally evaluates large language models (LLMs) for legal decision-making in Austrian and EU value‑added tax (VAT) law. It compares fine‑tuning and retrieval‑augmented generation (RAG) on textbook and real‑world tax consulting cases to identify optimal LLM configurations and assess legal‑reasoning abilities. Results show that properly configured LLMs can aid tax professionals with routine tasks and provide legally grounded justifications, though they are not yet ready for full automation due to challenges like hallucination and handling implicit client knowledge.

By Marina Luketina, Andrea Benkel, Christoph G. Schuetz