TL;DR
This paper introduces a three-stage agentic Large Language Model (LLM) framework designed to detect anomalously high product prices in e-commerce marketplaces. By breaking down price validation into human-like reasoning steps—relevance filtering, utility comparison, and quadrant-based decision-making—the system achieves over 76% agreement with expert human auditors while providing transparent, verifiable explanations.
What Problem Does This Paper Address?
Pricing errors in e-commerce can lead to severe financial losses, customer distrust, and damaged brand reputation. However, identifying whether a product's price is genuinely "too high" is incredibly challenging.
Traditional anomaly detection methods rely on statistical thresholds (like Z-scores or Interquartile Range) or isolation trees. While computationally efficient, these methods operate as black boxes and completely ignore the rich semantic context of a product. For instance, a statistical model might flag a $50 water bottle as an outlier without realizing it is a premium, insulated 64-oz flask from a top-tier brand, whereas its "neighbors" in the dataset are cheap plastic cups.
Conversely, standard vector-embedding retrieval methods often introduce noise because structurally similar products can differ drastically along key price-influencing dimensions (e.g., pack size, brand tier, or specific technical features). Human auditors solve this by manually identifying true substitutes, weighing value dimensions, and making a reasoned judgment. This paper aims to automate this exact human-in-the-loop auditing process using an explainable, multi-agent LLM workflow.
Methods
The authors propose a modular, three-stage agentic framework that processes target products sequentially:
- Candidate Neighbor Generation: The system uses contrastive-learning-trained product embeddings (similar to a CLIP-style architecture) to perform a cosine similarity search, retrieving the top-$k$ nearest neighbor products.
- Relevance Classification Agent: This agent filters the top-$k$ neighbors using strict disjunctive logic based on human audit questions (e.g., "Would customers actively compare prices between these two products?"). Only truly comparable substitutes pass through.
- Utility Assessment Agent: This agent evaluates the target product against each relevant neighbor across key price-influencing attributes (such as brand reputation, features, and quantity), scoring them as better (+1), mixed (0), or worse (-1). The paper explores four configurations for attribute selection: Generic, Static category-specific, Dynamic product-pair specific, and Weighted Dynamic (W-Dynamic).
- Reasoning-Based Price Decision Agent: The final agent maps the filtered neighbors onto a geometric 4-quadrant framework defined by relative price and relative utility axes.
Neighbors falling into the Anomaly Price (AP) Zone (lower price but similar/higher utility) provide evidence that the target product is overpriced. To handle real-world noise, the authors introduce a configurable "price padding" threshold ($x\%$). Decisions are finalized using one of two strategies: Quadrant Voting (collective agreement) or Worse-Pricier Veto (where a single justified neighbor can clear the target product).
Datasets
The framework was evaluated using four distinct subsets crawled from popular online shopping stores:
- Silver Set (SS): 40 products across multiple categories with a balanced 50% outlier rate, annotated by up to 3 domain-expert pricing auditors (requiring at least 2 to agree).
- One-Sided Annotated Set: 185 difficult, non-anomalous cases that were falsely flagged as high-priced by internal legacy systems but explicitly cleared by human auditors.
- Edge Cases (EC): 12 unique products (e.g., bulk pack sizes, older iPhone models) that are notoriously difficult to price reliably.
- Unannotated Set: 5,400 high-traffic products used to measure the system's baseline outlier flagging rate and operational scalability.
Key Insights and Ideas
- Structure Trumps Autonomy: Surprisingly, the Generic attribute configuration (using fixed, high-level prompts like brand, features, and quantity) outperformed highly adaptive Dynamic configurations. Giving the LLM too much autonomy to generate its own comparison attributes overloaded its judgment capability.
- The Veto Mimics Human Cognitive Load: The Worse-Pricier Veto strategy significantly outperformed Quadrant Voting in precision and human alignment. This suggests human auditors naturally rely on a single clear counter-example to justify a high price, rather than performing complex mental averaging.
- Tunable Knobs for Business Logic: The framework's sensitivity can be adjusted via price padding thresholds. A 30% padding maximizes F1-score balance, while a 50% padding maximizes precision (zero false positives), making it highly adaptable for consumer-facing vs. internal auditing environments.
Key Results
Using Claude 3.5 Sonnet as the underlying LLM, the agentic framework demonstrated clear superiority over standard baselines:
- Human Alignment: Achieved 76.3% agreement with expert human annotations on the highly challenging one-sided dataset, drastically outperforming a standard RAG baseline (23.0% agreement).
- High Precision: Under the default configuration, it achieved a Precision of 1.00 on the Silver Set, ensuring that any product flagged as an outlier was genuinely mispriced.
- Guardrail Compliance: It maintained an outlier flagging rate of 7.8% on the large unannotated dataset, safely meeting the business requirement of keeping flags under 10% to avoid overwhelming human reviewers.
- Cost Efficiency: At scale, the framework is highly economical. Auditing 1,000 products costs approximately $105.30 and takes under 28 hours of compute, compared to $3,333.33 and 333 hours for human equivalents.
Limitations and Future Work
The authors note several areas for improvement:
- Metadata Dependency: The framework assumes product attributes are available and accurate. Noisy or missing e-commerce catalog data can degrade utility comparisons.
- Subjectivity of Ground Truth: Price quality is inherently subjective, as reflected by the human inter-annotator agreement score ($\kappa = 0.72$).
- Future Directions: The authors suggest exploring multi-persona LLM simulations to model diverse customer perspectives and incorporating confidence-weighting mechanisms based on attribute completeness to mitigate data quality issues.
Summary updated