Introduction
Product returns represent a multi-trillion-dollar challenge for the global e-commerce industry, with approximately one-third of all online orders being returned. This phenomenon imposes significant costs related to shipping, restocking, and administration. Predicting the likelihood of a return before a transaction is finalized would allow retailers to implement preventive measures, such as providing additional product details or tailoring promotions.
However, return prediction at scale faces two primary hurdles: the inherent complexity of return behavior—driven by user history, product attributes, and cross-entity similarities—and the massive computational scale of e-commerce datasets involving millions of users and products. Traditional global graph algorithms often fail to process these massive datasets efficiently for real-time, individual product queries.
To address these issues, researchers have introduced HyGraph and LoGraph, a novel graph-based framework designed for efficient and accurate return prediction.
Methodology
HyGraph: A Weighted Hybrid Graph
The core of the framework is the HyGraph, a unique graph structure that integrates heterogeneous data types into a unified model. Unlike standard bipartite graphs, HyGraph utilizes a variety of edge types to capture nuanced behavioral signals:
- Nodes: Represent both customers and products.
- Undirected Return Edges: Connect a customer and a product if a return occurred.
- Directed Purchase Edges: Point from a customer to a product if the item was purchased and kept. This distinction is vital, as keeping a product serves as a strong indicator of customer satisfaction.
- Similarity Edges: Undirected edges that connect similar customers (based on demographic attributes) or similar products (based on category or style).
LoGraph: Local Graph Partitioning
To navigate this complex graph efficiently, the authors developed LoGraph, a random-walk-based local partitioning algorithm. LoGraph differs from global algorithms by starting at a specific "seed" node (the product being queried) and exploring only its immediate neighborhood. This approach identifies a cluster of customers with a high propensity to return that specific product.
The primary advantage of LoGraph is its computational efficiency: its complexity scales with the size of the output cluster rather than the total number of edges in the entire graph. Furthermore, it adapts the classic NIBBLE algorithm to function effectively with the weighted, directed, and hybrid edges of the HyGraph.
Evaluation and Results
The framework was evaluated using three large-scale datasets from a major European fashion retailer (Brands C, E, and G), encompassing millions of transactions and hundreds of thousands of customers and products.
Performance Comparison
LoGraph was compared against a similarity-based baseline and ADNI, a state-of-the-art bipartite graph method. LoGraph consistently achieved superior accuracy across all datasets. For instance, on the Brand C dataset, it reached a Precision of 0.820, outperforming ADNI (0.756) and the baseline (0.729).
Parameter Sensitivity
The researchers also analyzed how different parameters affect model performance. They found that increasing the cluster size parameter ($b$) leads to rapid improvements in recall and $F_{0.5}$ scores. This tunability allows retailers to balance precision and recall based on their specific business objectives—for example, prioritizing precision to avoid annoying loyal customers with unnecessary interventions.
Key Insights
- Modeling "Keepers": Explicitly representing successful purchases (directed edges) significantly improves the algorithm's ability to distinguish between high-volume buyers and those with a genuine propensity for returns.
- Local Conductance: By focusing on local conductance—finding clusters with high internal connectivity relative to external edges—the algorithm identifies relevant users much faster than global methods.
- Business Priority: The study optimized for the $F_{0.5}$ score, reflecting the industry's preference for precision over recall to minimize false positives that could disrupt legitimate sales.
Conclusion and Future Directions
While HyGraph and LoGraph provide a robust solution for return prediction, there are avenues for further improvement. Future work could involve incorporating more granular customer attributes (e.g., age, income) to refine similarity edges, exploring dynamic graph models to capture seasonal trends, and developing specific intervention strategies for identified high-risk transactions.
Summary updated