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

📅 2026-08-18
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究使用小型语言模型(如SBERT)解决发票分类问题,通过分析嵌入几何提高分类准确性,同时降低成本并增强数据安全性。
📝 Abstract
Categorising invoices into the correct General Ledger (GL) code underpins financial reporting and tax compliance. This is a skilled accounting judgement rather than a routine task: the correct category depends subtly on the nature of the purchasing business, the vendor and the invoice text. Whilst AI is increasingly being adopted across industries to automate tasks, including invoice categorisation, implementations built on in-house small language models (SLMs) can simultaneously reduce cost and improve data security, confidentiality, and interpretability. We investigate this approach by first analysing the pre-trained embedding geometry of a small sentence transformer (SBERT) and classic SLM (DeBERTa). The sentence-embedding space of this financial corpus is globally anisotropic but composed of locally isotropic clusters, extending prior token-level findings to sentence embeddings in a financial setting, and these clusters are strongly correlated with the vendor identity. SBERT fine-tuned on a single GPU reaches 0.96 accuracy on invoice classification, above both a zero-shot LLM and a vendor identity baseline, increasing performance for smaller, challenging categories and new clients. For this important generalisation problem, SBERT reaches 0.9 F1 with roughly 100 client-specific invoices, showing that an in-house SLM implementation is promising. Combining these results with geometric analysis shows that pre-trained embedding geometry is associated with classification performance and reveals a counterintuitive finding that a structured input that would help a human reader does not improve the SLM performance.
Problem

Research questions and friction points this paper is trying to address.

Invoice Categorisation
General Ledger Code
Small Language Model
Financial Reporting
Tax Compliance
Innovation

Methods, ideas, or system contributions that make the work stand out.

small language model
embedding geometry
invoice categorisation
SBERT
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
E
Emma Ceccherini
University of Bristol, U.K.
Daniel Lawson
Daniel Lawson
Mila, University of Montreal
Reinforcement LearningMachine LearningRobotics
A
Anjulika Salhan
System Holdings Limited