TL;DR
This paper tackles the challenge of matching product descriptions between invoices and purchase orders in enterprise systems, a crucial but manual step in the procure-to-pay process. They propose two novel online learning algorithms that leverage human agent feedback (either ranked preferences or binary match/no-match labels) to learn effective similarity functions, outperforming traditional methods.
What Problem Does This Paper Address?
The procure-to-pay (P2P) process in large enterprises involves matching invoices from vendors against purchase orders (POs) to ensure correct payments. A critical, yet labor-intensive, part of this is invoice line item matching: verifying if the product or service described in an invoice matches what was ordered in the PO. This is difficult because descriptions are often informal, contain typos (due to OCR), abbreviations, and variations in wording (e.g., "TRES 739mL CD KER Smooth" vs. "TRES 0.739L CD KER Smth"). Existing text similarity methods struggle with these "ill-formed" descriptions and domain-specific nuances. Currently, human agents manually perform this matching, which is slow, costly, and error-prone, especially given the millions of invoices processed annually.
Methods
The authors introduce a framework called Similarity Learning with Feedback (SLF), which adapts to agent feedback to learn a robust similarity function. They propose two main approaches within SLF:
- Ranking Similarity (SLFR): When an agent provides feedback in the form of relative rankings (e.g., "description A is a better match than description B"), SLFR learns a similarity function that assigns higher scores to preferred pairs. This is framed as a metric learning problem, aiming to learn a matrix $W$ such that $s^T W s'$ is high for preferred pairs.
- Classification Similarity (SLFC): When an agent provides binary feedback (match/no-match), SLFC learns a classifier to distinguish between similar and dissimilar pairs.
Key pre-processing steps include:
- Lexical Normalization: Correcting "ill-formed" words and OOV terms.
- Noun Phrase Extraction: Focusing comparisons on relevant product/service phrases.
- Agent Preference Presentation: Strategically presenting the best fuzzy matches to the agent to gather feedback efficiently.
To address hierarchical relationships between items (e.g., "edible oil" vs. specific types of oil), they propose a subroutine that leverages product taxonomy and catalogs.
Datasets
The paper uses a combination of real-world and benchmark datasets:
- Invoice Data: A small, real-world dataset from a client.
- Amazon Electronics, Amazon Automotive, Amazon Home, Flipkart: Product catalog data from e-commerce sites.
- SNLI, SICK, STS: Standard benchmark datasets for semantic textual similarity tasks.
For datasets lacking explicit third strings (for ranking), they manually curated them using rules like antonyms, numeric variations, brand/product name replacements, and string manipulations.
Key Insights and Ideas
- Leveraging Human Feedback is Crucial: The core idea is that human agents possess domain-specific knowledge that is hard to encode explicitly. Their feedback, even in small amounts, can significantly improve similarity matching for noisy, real-world text.
- Online Learning for Adaptability: The SLF framework is an online learning algorithm, meaning it can continuously update its similarity model as new feedback arrives. This is ideal for dynamic business environments where product descriptions or vendor practices might change.
- Domain-Specific Nuances Matter: Traditional semantic similarity methods fail because they treat all text equally. The paper highlights that invoice descriptions have unique characteristics (ill-formedness, abbreviations, quantity variations) that require specialized handling.
- Hierarchical Relationships are a Challenge: The paper acknowledges that simple pairwise similarity might not suffice when there are complex hierarchical relationships between items, necessitating the use of external knowledge like product taxonomies.
Key Results
- Superior Performance: The proposed SLFR algorithm consistently achieved higher precision compared to vanilla cosine similarity across various datasets, especially when using tf-idf character n-gram encoding.
- Competitive with State-of-the-Art: Table 4 shows SLFR achieving comparable or superior average precision to other methods like Li's method and DKPro on test data, often by a significant margin. Siamese architecture showed poor performance.
- Learning Behavior: Figures 2 and 3 demonstrate that the precision of SLFR improves over time as more training samples (agent feedback) are seen, indicating the effectiveness of the online learning approach.
- Encoding Matters: While tf-idf character n-grams performed well, the paper suggests that training sentence embedding models (like Infersent or USE) on domain-specific data could further boost performance.
Limitations and Future Work
- Hierarchical Matching: The paper identifies the limitation of handling multiple PO line items matching a single invoice item due to hierarchical relationships. While they propose a subroutine using product taxonomy and catalogs, its full details are omitted due to space.
- Agent Feedback Volume: While the online learning approach improves with more feedback, reducing the amount of feedback required is a future goal.
- Vendor Name/Address Matching: The authors suggest extending their work to match vendor names and addresses across invoices and POs.
- Domain-Specific Embeddings: Training sentence embedding models on domain-specific data is proposed as a future direction to improve performance, though this is hindered by the lack of large-scale ranked data.
Summary updated