On Finding Bi-objective Pareto-optimal Fraud Prevention Rule Sets for Fintech Applications

Chengyao Wen 0009-0009-3928-4235 Ant GroupChengduChina [email protected]  and  Yin Lou 0009-0004-8329-7192 Ant GroupSunnyvale, CAUSA [email protected]
(2024)
Abstract.

Rules are widely used in Fintech institutions to make fraud prevention decisions, since rules are highly interpretable thanks to their intuitive if-then structure. In practice, a two-stage framework of fraud prevention decision rule set mining is usually employed in large Fintech institutions; Stage 1 generates a potentially large pool of rules and Stage 2 aims to produce a refined rule subset according to some criteria (typically based on precision and recall). This paper focuses on improving the flexibility and efficacy of this two-stage framework, and is concerned with finding high-quality rule subsets in a bi-objective space (such as precision and recall). To this end, we first introduce a novel algorithm called SpectralRules that directly generates a compact pool of rules in Stage 1 with high diversity. We empirically find such diversity improves the quality of the final rule subset. In addition, we introduce an intermediate stage between Stage 1 and 2 that adopts the concept of Pareto optimality and aims to find a set of non-dominated rule subsets, which constitutes a Pareto front. This intermediate stage greatly simplifies the selection criteria and increases the flexibility of Stage 2. For this intermediate stage, we propose a heuristic-based framework called PORS and we identify that the core of PORS is the problem of solution selection on the front (SSF). We provide a systematic categorization of the SSF problem and a thorough empirical evaluation of various SSF methods on both public and proprietary datasets. On two real application scenarios within Alipay, we demonstrate the advantages of our proposed methodology over existing work.

multi-objective optimization, Pareto front, rule subset selection
journalyear: 2024copyright: rightsretainedconference: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining; August 25–29, 2024; Barcelona, Spainbooktitle: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’24), August 25–29, 2024, Barcelona, Spaindoi: 10.1145/3637528.3671521isbn: 979-8-4007-0490-1/24/08ccs: Computing methodologies Rule learning

1. Introduction

Fraud prevention is an important task in Fintech applications. Fraudulent activities usually include identity theft, money laundering, fraudulent payment transactions, etc. Whenever a fraud is committed, the loss is not only incurred by the victim who is exploited, but the reputation of the financial institution involved also takes a hit.

In many Fintech fraud prevention applications, interpretability is usually a must-have requirement in addition to predictive accuracy. Therefore, rule-based models are widely used for such applications to make fraud prevention decisions (Li et al., 2022), since rules can offer intuitive representation of knowledge, thanks to their simple if-then structure.111It is important to note that we do not exclude ourselves from using more advanced machine learning models; signals from those models (along with all other more interpretable features, such as user profile information) are input features to rule learning algorithms. Due to the regulatory requirement, even if the decision is from a DNN model, it should always have the form “if model_score ¿ threshold then 1.” In practice, decision rule sets (also known as disjunctive normal form) are often favored over decision rule list due to their flatter representation (Lakkaraju et al., 2016; Li et al., 2022); rule set models make positive prediction for a transaction whenever any rule in the set is satisfied. During any stage in a transaction, whenever an alert is made from the rule set (at least one rule predicts positive on this transaction), the transaction is interrupted and the user may be asked to submit additional information to verify the legitimacy for this transaction.

In practice, a two-stage framework of rule set mining is commonly employed in Fintech institutions (e.g., Alipay222https://www.alipay.com/(Li et al., 2022). In Stage 1, a potentially large pool of rules is generated. Stage 2 aims to produce a refined rule subset according to some criteria (typically based on precision and recall). Note that in this paper we use rule set to refer to rules generated by Stage 1 and rule subset to refer to a refined subset of the initial pool of rules after Stage 1.

The state-of-the-art approach to Fintech fraud prevention applications employs tree ensemble in Stage 1 (Li et al., 2022). We empirically find such tree-based approach can lead to unnecessarily large pool of “homogeneous” rules (in terms of precision and recall) in Stage 1 (See Section 5.3.1), which subsequently hurts both the efficiency and the quality of the refined rule subset for Stage 2. As noted in  (Li et al., 2022), various filters are needed to reduce the number of rules produced in this stage for better efficiency and effectiveness. Therefore, in this paper we first propose a novel algorithm called SpectralRules that directly generates a compact pool of rules in Stage 1 with high diversity (of different levels of precision and recall). By design, SpectralRules generates a much smaller rule set (with no post-filtering needed) in Stage 1 with highly diversified rules, and benefits Stage 2 accordingly with final rule subsets of higher quality.

For finding the rule subset in Stage 2, they are usually evaluated by precision and recall (Li et al., 2022). Precision in our context is negatively correlated with the frequency that a user experiences an interruption for a transaction, and recall relates to the amount of fraudulent activities that can be prevented for a financial institution. Note that these two objectives naturally conflict with each other, and in practice one either seeks to maximize recall constrained on some precision threshold (Li et al., 2022), or combines the two metrics into a single generalized F𝐹Fitalic_F score that can balance the effects of the two objectives. F𝐹Fitalic_F score uses a parameter β𝛽\betaitalic_β to control the contribution of the two inputs; β𝛽\betaitalic_β is chosen such that recall is considered β𝛽\betaitalic_β times as important as precision (Van Rijsbergen, 1979). A large β𝛽\betaitalic_β weighs recall higher than precision and a small β𝛽\betaitalic_β is more biased towards precision. For fraud prevention problems in Fintech applications, typically a small β𝛽\betaitalic_β is used to give more weights on precision, since usually the fraudulent ratio is low.

In practice, however, rule mining is an explorative and iterative process, and one rarely knows beforehand the best constraint threshold or β𝛽\betaitalic_β for a particular problem. For example, one might have to experiment multiple precision thresholds and choose a rule subset according to subjective preferences or domain knowledge (Li et al., 2022). In such cases, multiple trials of the rule subset selection algorithm (Stage 2) are necessary, which is both time consuming and human labor intensive. Therefore, in this work we aim to find a set of Pareto-optimal solutions all at once in a bi-objective space of precision and recall, i.e., rule subsets in which one objective cannot be improved without worsening the other one. A solution (rule subset) Pareto-dominates another one if both its precision and recall are no worse and at least one is strictly better. The image of this non-dominated solution set in the objective space is the so-called Pareto front.

Finding Pareto-optimal rule subsets can be viewed as an intermediate stage between Stage 1 and Stage 2. It takes the initial pool of rules from Stage 1 and generates a set of non-dominated rule subsets. Finally, one can easily experiment different precision thresholds or β𝛽\betaitalic_β on the (already generated) Pareto-optimal solution set and choose one as the final output for Stage 2. For example, if the goal is to maximize recall constrained on precision \geq 0.9, one can simply filter all Pareto-optimal solutions whose precision is lower than 0.9 and choose the one with the highest recall, and therefore avoids the need to experiment multiple precision thresholds and greatly increases the flexibility for Stage 2.

The hypervolume indicator (HV) is one of the most widely used evaluation metric for the quality of a Pareto front (Li and Yao, 2019). It measures the “size of the dominated space” (Zitzler, 1999), and our goal for this paper is to find Pareto front of large HV. In this work, we mainly focus on a bi-objective space of precision and recall, and measure the dominated space referenced by (0, 0) (See Figure 1 for a visual example). Each solution on a Pareto front forms a rule subset.

This problem can be solved by standard evolutionary multi-objective optimization (EMO) algorithms, since bi-objective optimization is just a special case (Li et al., 2015; Tanabe et al., 2017). Popular EMO algorithms include NSGA-II (Deb et al., 2002), MOEA/D (Zhang and Li, 2007), etc. However, we empirically find EMO algorithms are not very efficient on our problem.

In this work, we propose a heuristic-based framework called PORS of finding Pareto-optimal solutions for rule subset selection problem. PORS iteratively “expands” the Pareto front by adding one rule to a solution (rule subset) on the front to see whether it expands the front (and thereby improves HV), and it terminates when no expansion of the current front can move the needle. Due to the combinatorial nature of this problem, it is computationally prohibitive to enumerate all rule subsets on the current Pareto front, and therefore we only select a set of representative solutions on the current front as candidates for expansion to avoid exponential growth. We refer to this problem as solution selection on the front (SSF).

A closely related problem of SSF is the so-called subset selection of Pareto-optimal solutions, the goal of which is to reduce the number of solutions on a Pareto front to a user specified number while achieving some desired properties (e.g., a high HV approximation of the original Pareto front). Popular methods of Pareto subset selection include HV-SS (Chen et al., 2021b), IGD/IGD+-SS (Chen et al., 2021b), etc. Our motivation is different in that we are interested in finding a small set of promising solutions to expand on the current front so as to achieve a high HV when PORS terminates. We can, nevertheless, employ existing algorithms in PORS framework.

Since finding a small set of the most promising solutions to expand on the current front is at the core of PORS framework, as one of our contributions, we propose a systematic categorization of solutions to this problem, map existing methods into different categories, and conduct a thorough empirical evaluation of methods in each category for SSF problem to study their effects on the quality of final Pareto front. If we think of the front as a “curve” in some space, we can broadly classify methods into two categories; uniform or non-uniform sampling on the “curve.” The space could be the objective space (such as bi-objective space of precision and recall considered in this paper) which is usually a coordinate system, or non-objective space (and therefore potentially non-coordinate system) where only distance metric of two rule subsets is defined (e.g., Jaccard distance between two rule subsets). Table 1 summarizes existing methods and the methods proposed in this paper into each category.

Sampling Space Method
Uniform Objective equi-spaced (Pereyra et al., 2013)
equi-dist (this paper)
Non-objective equi-jaccard (this paper)
Non- uniform Objective hv-ss (Chen et al., 2021b)
igd-ss (Chen et al., 2021b)
igd+-ss (Chen et al., 2021b)
hvc-ss (this paper)
k-medoids-pr (Chen et al., 2021a)
Non-objective k-medoids-jaccard (this paper)
Table 1. Categorization of SSF methods.

Although there are benchmark studies on subset selection of Pareto-optimal solutions in the context of EMO (Shang et al., 2022), there is little research of finding Pareto-optimal rule subsets; neither EMO-based methods nor the greedy heuristic-based approaches considered in this paper. Due to the combinatorial nature of rule set selection, we believe our work provides a valuable piece of research in this area. Our empirical study on both public datasets and proprietary datasets from Alipay reveals that the proposed hvc-ss is the best SSF method, which achieves highest HV on almost all cases.

Finally, we empirically demonstrate the positive correlation between HV and the final objective for evaluating the quality of rule subsets through two case studies and one online experiment, and show that by optimizing HV, the quality of the refined rule subsets does improve accordingly.

In summary, we make the following contributions in this paper.

  • We propose a novel variant of the sequential covering algorithm called SpectralRules that directly generates a compact pool of rules with high diversity, and demonstrate on both public and proprietary datasets that SpectralRules improves HV over existing tree-based approaches (Li et al., 2022) for Stage 1.

  • We propose a heuristic-based framework called PORS for finding Pareto-optimal rule subsets in a bi-objective space as an intermediate stage between Stage 1 and Stage 2. At the core of this framework is the SSF problem.

  • We provide a systematic categorization of the SSF problem and a thorough empirical evaluation of various SSF methods on both public and proprietary datasets. We find that the proposed hvc-ss is the best method for our problem.

  • We present two case studies and one online experiment of using PORS in this paper to produce fraud prevention rule subsets for applications inside Alipay, and demonstrate the advantages of our methodology compared to existing work.

  • We deploy our method proposed in this paper in our internal Fanglue system (Qian et al., 2023), and release a repository of code that can fully reproduce our results on public datasets in this study to promote research efforts in this area (git, 2024).

The rest of this paper is organized as follows. Section 2 presents related work. We present preliminaries in Section 3. Our approach is discussed in Section 4. Experimental results are presented in Section 5 and we conclude the paper in Section 6.

2. Related Work

2.1. Rule Set Mining

There are generally two classes of approaches to generating rule sets. Tree based approaches, such as decision tree (Breiman et al., 1984; Quinlan, 1993) or random forests (Breiman, 2001), extract rules for each path in the tree or tree ensemble. The other class of approaches focuses on direct rule induction to form rule sets. Popular methods of this category include sequential covering (Molnar, 2020) (e.g., CN2 (Clark and Niblett, 1989) and RIPPER (Cohen, 1995)) and association rule mining (Agrawal et al., 1993). Recently there is another line of research that focuses on the diversity of rule sets (Lakkaraju et al., 2016; Zhang and Gionis, 2020).

In practice, a two-stage framework of rule set mining is used in Fintech institutions such as Alipay (Li et al., 2022). A variant of tree ensemble is employed to generate an initial rule set (Stage 1), followed by a rule subset selection procedure that produces a refined rule subset according to some criteria (Stage 2). Stage 1 in (Li et al., 2022) initially generates a large pool of rules, and therefore various filters are needed to reduce the number of rules for better efficiency and effectiveness. In addition, since Stage 2 directly produces a refined rule subset, multiple trials of Stage 2 are necessary as one rarely knows the selection criteria beforehand, which is both time consuming and human labor intensive.

2.2. Evolutionary Multi-objective Optimization

The evolutionary multi-objective optimization (EMO) algorithm is a popular choice for solving multi-objective optimization problems (Li et al., 2015; Tanabe et al., 2017). EMO algorithms can be roughly classified into three categories; dominance-based approach, decomposition-based approach and indicator-based approach. Dominance based EMO algorithms commonly use Pareto dominance relationship and distance-based density estimation in the objective space for offspring generation and environmental selections. NSGA-II (Deb et al., 2002) and SPEA2 (Zitzler et al., 2001) are well-known and widely used dominance based EMO algorithms, which are believed to be very suitable for problems under 4 objectives (Tanabe et al., 2017). Decomposition based approach decomposes a given multi-objective problem into single-objective sub-problems. MOEA/D is a representative decomposition based EMO algorithm (Zhang and Li, 2007). Indicator based approaches employ a quantity indicator to evaluate or rank solutions. Popular approaches in this category include SMS-EMOA (Beume et al., 2007), HypE (Bader and Zitzler, 2011), etc. EMO algorithms are, however, typically inefficient on large problems. This paper employs a heuristic-based approach that achieves higher efficiency with better Pareto fronts.

2.3. Subset Selection of Pareto-optimal Solutions

Since the number of Pareto-optimal solutions can be very large for combinatorial optimization problems and infinity for continuous optimization problems, subset selection of Pareto-optimal solutions is usually an essential step. It is regarded as one of the most important topics in EMO domain, since it is involved in many phases of EMO algorithms (Chen et al., 2021a, b). It is also studied in the context of discrete approximation to the Pareto front for continuous optimization problems (Pereyra et al., 2013). Some previous studies favor uniform sampling of the Pareto front (Pereyra et al., 2013) while others favor non-uniform sampling (Chen et al., 2021a, b; Guerreiro et al., 2020).

In this work, we employ existing algorithms as SSF methods in our PORS framework and further extend this categorization into 4 categories as listed in Table 1, which is not revealed in existing literature. Under this view, we present 4 new methods (one for each category) and perform a thorough empirical evaluation on both public and proprietary datasets in the context of fraud prevention rule set mining for Fintech applications.

3. Preliminaries

Let 𝒟={(𝒙i,yi)}i=1N𝒟superscriptsubscriptsubscript𝒙𝑖subscript𝑦𝑖𝑖1𝑁\mathcal{D}=\{(\boldsymbol{x}_{i},y_{i})\}_{i=1}^{N}caligraphic_D = { ( bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) } start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT denote a dataset of size N𝑁Nitalic_N, where 𝒙i=(xi1,,\boldsymbol{x}_{i}=(x_{i1},...,bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ( italic_x start_POSTSUBSCRIPT italic_i 1 end_POSTSUBSCRIPT , … , xip)x_{ip})italic_x start_POSTSUBSCRIPT italic_i italic_p end_POSTSUBSCRIPT ) is a feature vector with p𝑝pitalic_p features for a transaction, and yi{0,1}subscript𝑦𝑖01y_{i}\in\{0,1\}italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ { 0 , 1 } indicates whether the corresponding transaction is reported fraud or not. We use 𝒫={i|yi=1}𝒫conditional-set𝑖subscript𝑦𝑖1\mathcal{P}=\{i|y_{i}=1\}caligraphic_P = { italic_i | italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = 1 } to denote the set of points with positive labels. We use δ=|𝒫|/N𝛿𝒫𝑁\delta=|\mathcal{P}|/Nitalic_δ = | caligraphic_P | / italic_N to denote the positive ratio of 𝒟𝒟\mathcal{D}caligraphic_D.

A rule r𝑟ritalic_r has two parts; a conjunction of conditions and a prediction. A condition is of the form (feature, operator, value), e.g., age > 50. A rule makes a certain prediction when all conditions are satisfied for a given 𝒙isubscript𝒙𝑖\boldsymbol{x}_{i}bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. In this case, we say the rule covers 𝒙isubscript𝒙𝑖\boldsymbol{x}_{i}bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Since typically the positive ratio δ𝛿\deltaitalic_δ for fraud in Fintech applications is very low, we only consider positive-class rules. Hence, r(𝒙i)=1𝑟subscript𝒙𝑖1r(\boldsymbol{x}_{i})=1italic_r ( bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) = 1 iff r𝑟ritalic_r covers 𝒙isubscript𝒙𝑖\boldsymbol{x}_{i}bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. A rule set \mathcal{R}caligraphic_R makes a positive prediction on 𝒙isubscript𝒙𝑖\boldsymbol{x}_{i}bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT if there exists a rule r𝑟r\in\mathcal{R}italic_r ∈ caligraphic_R such that r(𝒙i)=1𝑟subscript𝒙𝑖1r(\boldsymbol{x}_{i})=1italic_r ( bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) = 1. We use 𝒟()={i|(𝒙i)=1}𝒟conditional-set𝑖subscript𝒙𝑖1\mathcal{D}(\mathcal{R})=\{i|\mathcal{R}(\boldsymbol{x}_{i})=1\}caligraphic_D ( caligraphic_R ) = { italic_i | caligraphic_R ( bold_italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) = 1 } to denote the set of data points covered by \mathcal{R}caligraphic_R.

PrecisionRecall(0,0)00(0,0)( 0 , 0 )
Figure 1. Illustration of Pareto dominance. A set of 5 non-dominated solutions (green square) constitutes the Pareto front (red line). Hypervolume of those 5 solutions is the size of the light yellow region. The hypervolume contribution of the solution (red square) to those 5 solutions is the size of the light grey region.
Definition 3.1 (Precision).

We define the precision of a rule set \mathcal{R}caligraphic_R as the percentage that \mathcal{R}caligraphic_R correctly finds a fraud,

(1) Prec()=|𝒟()𝒫|/|𝒟()|.Prec𝒟𝒫𝒟\displaystyle\mbox{Prec}(\mathcal{R})=|\mathcal{D}(\mathcal{R})\cap\mathcal{P}% |/|\mathcal{D}(\mathcal{R})|.Prec ( caligraphic_R ) = | caligraphic_D ( caligraphic_R ) ∩ caligraphic_P | / | caligraphic_D ( caligraphic_R ) | .
Definition 3.2 (Recall).

We define the recall of a rule set \mathcal{R}caligraphic_R as the ratio of the frauds covered by \mathcal{R}caligraphic_R among all fraudulent transactions,

(2) Rec()=|𝒟()𝒫|/|𝒫|.Rec𝒟𝒫𝒫\displaystyle\mbox{Rec}(\mathcal{R})=|\mathcal{D}(\mathcal{R})\cap\mathcal{P}|% /|\mathcal{P}|.Rec ( caligraphic_R ) = | caligraphic_D ( caligraphic_R ) ∩ caligraphic_P | / | caligraphic_P | .
Definition 3.3 (Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT score).

The general form of Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT score for precision and recall is defined as,

(3) Fβ=(1+β2)precision×recall(β2×precision)+recall.subscript𝐹𝛽1superscript𝛽2precisionrecallsuperscript𝛽2precisionrecall\displaystyle F_{\beta}=(1+\beta^{2})\frac{\mbox{precision}\times\mbox{recall}% }{(\beta^{2}\times\mbox{precision})+\mbox{recall}}.italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT = ( 1 + italic_β start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) divide start_ARG precision × recall end_ARG start_ARG ( italic_β start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT × precision ) + recall end_ARG .

A large β𝛽\betaitalic_β weighs recall higher than precision, and a small β𝛽\betaitalic_β weighs precision higher than recall. For fraud prevention problems in Fintech applications, typically a small β𝛽\betaitalic_β is used to give more weights on precision, since usually the positive (fraudulent) ratio is low.

For Stage 2, given an initial rule set \mathcal{R}caligraphic_R, we mainly aim to find high-quality rule subsets of \mathcal{R}caligraphic_R in this bi-objective space of precision and recall.333Nevertheless, our methodology can be easily extended to metrics other than precision and recall. To this end, we introduce the concept of Pareto dominance.

Definition 3.4 (Pareto Dominance).

A rule subset 1subscript1\mathcal{R}_{1}caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT is Pareto-dominated by another rule subset 2subscript2\mathcal{R}_{2}caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT if Prec(1)Prec(2)Rec(1)Rec(2)Precsubscript1Precsubscript2Recsubscript1Recsubscript2\mbox{Prec}(\mathcal{R}_{1})\leq\mbox{Prec}(\mathcal{R}_{2})\wedge\mbox{Rec}(% \mathcal{R}_{1})\leq\mbox{Rec}(\mathcal{R}_{2})Prec ( caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ≤ Prec ( caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) ∧ Rec ( caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ≤ Rec ( caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) with at least one objective dimension (precision or recall) is strictly better. Under the context of Pareto dominance, we use rule subset and solution interchangeably.

Definition 3.5 (Pareto Optimality).

A set of solutions (rule subsets) is called Pareto-optimal if no solution Pareto-dominates another.

Definition 3.6 (Hypervolume Indicator).

Given a solution set 𝒮𝒮\mathcal{S}caligraphic_S in a bi-objective space of precision and recall, the hypervolume indicator HV(𝒮)𝒮(\mathcal{S})( caligraphic_S ) is the measure of region dominated by 𝒮𝒮\mathcal{S}caligraphic_S, referenced by (0, 0).

Note that Pareto optimality only defines the situation where no solution can Pareto-dominate another within a solution set. One can, nevertheless, compare two sets of solutions that are both Pareto-optimal (via HV).

Definition 3.7 (Hypervolume Contribution).

Given two solution sets 𝒮𝒮\mathcal{S}caligraphic_S and 𝒯𝒯\mathcal{T}caligraphic_T in a bi-objective space of precision and recall, the hypervolume contribution of 𝒯𝒯\mathcal{T}caligraphic_T to 𝒮𝒮\mathcal{S}caligraphic_S referenced by (0, 0) is,

(4) HVC(𝒯,𝒮)=HV(𝒯𝒮)HV(𝒮𝒯).HVC𝒯𝒮HV𝒯𝒮HV𝒮𝒯\displaystyle\mbox{HVC}(\mathcal{T},\mathcal{S})=\mbox{HV}(\mathcal{T}\cup% \mathcal{S})-\mbox{HV}(\mathcal{S}\setminus\mathcal{T}).HVC ( caligraphic_T , caligraphic_S ) = HV ( caligraphic_T ∪ caligraphic_S ) - HV ( caligraphic_S ∖ caligraphic_T ) .

Figure 1 illustrates a set of 5 non-dominated solutions (green square) in a precision-recall space, which constitutes the Pareto front (red line). Hypervolume of those 5 solutions is the size of the light yellow region. The hypervolume contribution of a new solution (red square) to those 5 solutions is the size of the light grey region.

4. Our Approach

In this section, we describe our methodology for finding high-quality rule subsets under the two-stage framework. We first introduce a novel algorithm called SpectralRules that generates a compact initial pool of rules \mathcal{R}caligraphic_R with high diversity for Stage 1 in Section 4.1. Given a rule set \mathcal{R}caligraphic_R, we present a heuristic-based framework called PORS that iteratively “expands” the Pareto front in Section 4.2 for finding high-quality rule subsets. We identify solution selection on the front (SSF) as the core problem of this framework, and provide a systematic categorization of this problem. In Section 4.3, we map existing work into different categories, and present new methods in each category.

4.1. SpectralRules

The quality of initial rule set from Stage 1 can largely impact the efficiency and efficacy of the rule subset selection. (Li et al., 2022) employs a variant of tree ensemble to extract the initial rule set, which may generate an unnecessarily large set of “homogeneous” rules that look alike each other in terms of precision and recall (See Section 5.3.1 for details). As noted in  (Li et al., 2022), various filters are needed to reduce the number of rules produced in this stage for better efficiency and effectiveness. Therefore, we introduce a novel variant of sequential covering algorithm called SpectralRules that promotes the diversity (in terms of precision and recall) of the initial pool of rules for Stage 1. By design, SpectralRules directly generates a much smaller rule set (with no post-filtering needed) in Stage 1 with high diversity, and benefits Stage 2 accordingly with final rule subsets of higher quality.

We first review the classic sequential covering algorithm (SCA). SCA is a “separate-and-conquer” procedure that repeatedly learns a single rule to form a rule set that covers the entire dataset rule by rule (Lakkaraju et al., 2016). Algorithm 1 summarizes the sequential covering algorithm. We start with empty rule set \mathcal{R}caligraphic_R and whole dataset 𝒟𝒟\mathcal{D}caligraphic_D (Line 2-3). We iteratively learn a rule r𝑟ritalic_r using standard rule induction procedure that employs Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT as the evaluation metric to grow a rule up to a pre-specified length len𝑙𝑒𝑛lenitalic_l italic_e italic_n, and then remove all points covered by r𝑟ritalic_r from the remaining dataset, until we find n𝑛nitalic_n rules (Line 4-7).

Algorithm 1 Sequential Covering
1:procedure SequentialCovering(𝒟𝒟\mathcal{D}caligraphic_D, n𝑛nitalic_n, len𝑙𝑒𝑛lenitalic_l italic_e italic_n, β𝛽\betaitalic_β)
2:     \mathcal{R}\leftarrow\emptysetcaligraphic_R ← ∅
3:     𝒟𝒟superscript𝒟𝒟\mathcal{D}^{\prime}\leftarrow\mathcal{D}caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ← caligraphic_D
4:     for i=1𝑖1i=1italic_i = 1 to n𝑛nitalic_n do
5:         rRuleInduction(len,β,𝒟)𝑟RuleInduction𝑙𝑒𝑛𝛽superscript𝒟r\leftarrow\textsc{RuleInduction}(len,\beta,\mathcal{D}^{\prime})italic_r ← RuleInduction ( italic_l italic_e italic_n , italic_β , caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT )
6:         𝒟𝒟{𝒙|rcovers𝒙,𝒙𝒟}superscript𝒟superscript𝒟conditional-set𝒙𝑟covers𝒙𝒙superscript𝒟\mathcal{D}^{\prime}\leftarrow\mathcal{D}^{\prime}\setminus\{\boldsymbol{x}~{}% |~{}r~{}\mbox{covers}~{}\boldsymbol{x},\boldsymbol{x}\in\mathcal{D}^{\prime}\}caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ← caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∖ { bold_italic_x | italic_r covers bold_italic_x , bold_italic_x ∈ caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT }
7:         {r}𝑟\mathcal{R}\leftarrow\mathcal{R}\cup\{r\}caligraphic_R ← caligraphic_R ∪ { italic_r }      return \mathcal{R}caligraphic_R
Algorithm 2 SpectralRules
1:procedure SpectralRules(𝒟𝒟\mathcal{D}caligraphic_D, n𝑛nitalic_n, len𝑙𝑒𝑛lenitalic_l italic_e italic_n, \mathcal{B}caligraphic_B)
2:     \mathcal{R}\leftarrow\emptysetcaligraphic_R ← ∅
3:     for β𝛽\beta\in\mathcal{B}italic_β ∈ caligraphic_B do
4:         SequentialCovering(𝒟,n||,len,β)SequentialCovering𝒟𝑛𝑙𝑒𝑛𝛽\mathcal{R}\leftarrow\mathcal{R}\cup\textsc{SequentialCovering}(\mathcal{D},% \left\lceil\frac{n}{|\mathcal{B}|}\right\rceil,len,\beta)caligraphic_R ← caligraphic_R ∪ SequentialCovering ( caligraphic_D , ⌈ divide start_ARG italic_n end_ARG start_ARG | caligraphic_B | end_ARG ⌉ , italic_l italic_e italic_n , italic_β )      return \mathcal{R}caligraphic_R

A very small β𝛽\betaitalic_β (such as 0.1) can be employed to focus on mining high precision rules. However, recall of the rules produced by SCA might be quite limited. As a result, we may end up with many rules of high precision and low recall, leading to a suboptimal rule set. To this end, we propose SpectralRules to encourage the diversity among rules (i.e., rules with different levels of precision and recall). This is achieved through multiple trials of Algorithm 1 with β𝛽\betaitalic_β ranging from small number (such as 0.01) to large number (such as 1).

Algorithm 2 summarizes the SpectralRules procedure. We are given a set \mathcal{B}caligraphic_B with multiple β𝛽\betaitalic_β’s. For each β𝛽\beta\in\mathcal{B}italic_β ∈ caligraphic_B, we run Algorithm 1 with this specific β𝛽\betaitalic_β to generate at most n||𝑛\left\lceil\frac{n}{|\mathcal{B}|}\right\rceil⌈ divide start_ARG italic_n end_ARG start_ARG | caligraphic_B | end_ARG ⌉ rules (Line 3-4). The resulting rule set \mathcal{R}caligraphic_R is composed of rules with different levels of precision and recall. In this paper, we fix ={0.01,0.02,0.04,0.06,0.08,0.10,0.20,0.40,0.60,0.80}0.010.020.040.060.080.100.200.400.600.80\mathcal{B}=\{0.01,0.02,0.04,0.06,0.08,0.10,0.20,0.40,0.60,0.80\}caligraphic_B = { 0.01 , 0.02 , 0.04 , 0.06 , 0.08 , 0.10 , 0.20 , 0.40 , 0.60 , 0.80 }. As we will see in our experiments, SpectralRules usually leads to Pareto fronts with higher HV (Section 5.2), and benefits Stage 2 accordingly with final rule subsets of higher quality (Section 5.4).

4.2. The PORS Framework

Given an initial rule set \mathcal{R}caligraphic_R from Stage 1, PORS iteratively “expands” the current Pareto front by adding one rule to a solution (rule subset) on the front to form a new set of solutions. Due to the combinatorial nature of this problem, naïve implementation takes O(||n+c)𝑂superscript𝑛𝑐O(|\mathcal{R}|^{n}+c)italic_O ( | caligraphic_R | start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT + italic_c ) time for the n𝑛nitalic_n-th iteration (where c𝑐citalic_c denotes the complexity of computing Pareto front on the newly formed set of solutions), it is computationally prohibitive to enumerate all rule subsets on the current Pareto front, and therefore we aim to select a set of representative solutions on the current front as candidates for expansion. We refer to this problem as solution selection on the front (SSF).

Algorithm 3 summarizes the proposed PORS framework. The framework starts with singleton sets for each rule in \mathcal{R}caligraphic_R, and then makes them a Pareto front via makePF procedure by retaining only non-dominated solutions (Line 1). PORS applies some SSF method to sample k𝑘kitalic_k solutions on the current front in order to avoid exponential growth (Line 5). Those k𝑘kitalic_k solutions are then expanded by adding one rule from the initial pool of rules \mathcal{R}caligraphic_R to form new solutions (Line 6-10). The expanded solutions are then put together with the solutions from last front to form a new Pareto front by retaining only non-dominated solutions (Line 11). The framework terminates when the current Pareto front does not change after expansion (Line 12), otherwise the current front is ready for the next iteration (Line 13).

The time complexity per iteration of PORS now becomes O(k||+c)𝑂𝑘𝑐O(k|\mathcal{R}|+c)italic_O ( italic_k | caligraphic_R | + italic_c ), which is much more computationally affordable compared to naive implementation. In addition, we empirically found all SSF methods are very efficient for different values of k𝑘kitalic_k (Appendix A). It is obvious that the performance of PORS is largely affected by the efficacy of the SSF method, and therefore we discuss different candidate SSF methods in the next section.

Algorithm 3 The Pareto Optimal Rule Subset Selection Framework
1:makePF({{r}|r})makePFconditional-set𝑟𝑟\mathcal{F}\leftarrow\textsc{makePF}(\{\{r\}|r\in\mathcal{R}\})caligraphic_F ← makePF ( { { italic_r } | italic_r ∈ caligraphic_R } )
2:convergedfalseconvergedfalse\texttt{converged}\leftarrow\texttt{false}converged ← false
3:while not converged do
4:     convergedtrueconvergedtrue\texttt{converged}\leftarrow\texttt{true}converged ← true
5:     0SSF(,k)subscript0SSF𝑘\mathcal{F}_{0}\leftarrow\textsc{SSF}(\mathcal{F},k)caligraphic_F start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT ← SSF ( caligraphic_F , italic_k )
6:     superscript\mathcal{F}^{\prime}\leftarrow\emptysetcaligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ← ∅
7:     for S0𝑆subscript0S\in\mathcal{F}_{0}italic_S ∈ caligraphic_F start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT do
8:         for r𝑟r\in\mathcal{R}italic_r ∈ caligraphic_R do
9:              SS{r}superscript𝑆𝑆𝑟S^{\prime}\leftarrow S\cup\{r\}italic_S start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ← italic_S ∪ { italic_r }
10:              {S}superscriptsuperscriptsuperscript𝑆\mathcal{F}^{\prime}\leftarrow\mathcal{F}^{\prime}\cup\{S^{\prime}\}caligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ← caligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∪ { italic_S start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT }               
11:     makePF()superscriptmakePFsuperscript\mathcal{F}^{\prime}\leftarrow\textsc{makePF}(\mathcal{F}^{\prime}\cup\mathcal% {F})caligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ← makePF ( caligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∪ caligraphic_F )
12:     converged==\texttt{converged}\leftarrow\mathcal{F}^{\prime}==\mathcal{F}converged ← caligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = = caligraphic_F
13:     superscript\mathcal{F}\leftarrow\mathcal{F}^{\prime}caligraphic_F ← caligraphic_F start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT return \mathcal{F}caligraphic_F

4.3. SSF Methods

We broadly classify SSF methods into two categories; uniform or non-uniform sampling on the “curve” of a Pareto front. Under each category, we identify two sub-categories depending on whether the “distance measure” is in the original objective space or not.

4.3.1. Uniform Sampling

We first discuss methods by uniform sampling in the objective space. We consider two methods as follows.

  • equi-spaced (Pereyra et al., 2013). (Pereyra et al., 2013) considers uniform sampling of the Pareto front in the objective space on continuous problems. In our problem, it is equivalent to uniform sampling of k𝑘kitalic_k solutions by walking along a Pareto front curve with roughly the same Manhattan distance for two consecutive samples.

  • equi-dist. Following the same idea, we propose uniform sampling of k𝑘kitalic_k solutions on a Pareto front with roughly the same Euclidean distance for two consecutive samples.

The main difference between these two methods is whether the distance is measured on curve (Manhattan) or not (Euclidean).

We now describe a method called equi-jaccard that performs uniform sampling in non-objective space. We employ Jaccard distance to measure the dissimilarity between the coverage of two rule subsets. Formally, for two rule subsets 1subscript1\mathcal{R}_{1}caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT and 2subscript2\mathcal{R}_{2}caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT, their Jaccard distance is defined as Jaccard(1,2)=1|𝒟(1)𝒟(2)||𝒟(1)𝒟(2)|Jaccardsubscript1subscript21𝒟subscript1𝒟subscript2𝒟subscript1𝒟subscript2\texttt{Jaccard}(\mathcal{R}_{1},\mathcal{R}_{2})=1-\frac{|\mathcal{D}(% \mathcal{R}_{1})\cap\mathcal{D}(\mathcal{R}_{2})|}{|\mathcal{D}(\mathcal{R}_{1% })\cup\mathcal{D}(\mathcal{R}_{2})|}Jaccard ( caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) = 1 - divide start_ARG | caligraphic_D ( caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ∩ caligraphic_D ( caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) | end_ARG start_ARG | caligraphic_D ( caligraphic_R start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ∪ caligraphic_D ( caligraphic_R start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) | end_ARG.

Since this is a non-coordinate system, we think of all solutions on a Pareto front as a clique where edges between two solutions are weighed by their Jaccard distance. Now we can generate a traversal of all solutions on this graph to form a “curve” in this space, and then apply the same idea of equi-spaced so that Jaccard distance is roughly the same for two consecutive samples. There are many ways to perform a traversal. We can perform depth-first search on this graph to minimize or maximize the Jaccard distance of the overall path. We can also search for minimum sum of Jaccard distance of the traversal using the travelling salesperson (TSP) algorithm.444TSP generates a loop with minimized overall distance. We cut the edge with the largest Jaccard distance on the loop to form a traversal path. During our early investigation, we found that different methods lead to the final Pareto fronts of similar HV. Therefore, we only report results of equi-jaccard on a traversal generated by TSP algorithm.

4.3.2. Non-uniform Sampling

We consider the following methods of non-uniform sampling in the objective space.

  • hv-ss (Chen et al., 2021b). hv-ss aims to select k𝑘kitalic_k solutions so that their hypervolume is maximized.

  • igd/igd+-ss (Chen et al., 2021b). igd/igd+-ss aims to select k𝑘kitalic_k solutions so that their Inverted Generational Distance (IGD) or Inverted Generational Distance plus (IGD+) is minimized.

  • hvc-ss. We propose in this work to select k𝑘kitalic_k solutions so that their HVC to the last Pareto front is maximized. This is achieved using a greedy forward stepwise approach.

  • k-medoids-pr (Chen et al., 2021a) (or k-med.-pr for short). This is the standard k𝑘kitalic_k-medoids clustering performed in the objective space, with distance measured by Euclidean distance.

We also consider k𝑘kitalic_k-medoids clustering performed on Jaccard distance measure, and introduce a non-uniform sampling in non-objective space method called k-medoids-jaccard (or k-med.-j. for short).

Some of the aforementioned methods are studied in previous research in the context of EMO on continuous problems (Shang et al., 2022), but there is little research of all those 9 methods (covering 4 categories of the SSF problem) for combinatorial problems of finding Pareto-optimal rule subsets considered in this paper. To this end, we provide a thorough evaluation of those 9 methods in Section 5.

5. Experiments

We report our results on both public datasets and proprietary datasets from Alipay. We mainly compare our approach with (Li et al., 2022) under the same two-stage framework for the same application domain. Note that (Li et al., 2022) directly outputs a refined rule subset according to a given precision threshold (measured using the final objective, i.e., the recall) while we aim to generate a set of non-dominated solutions (to simply the rule subset selection in Stage 2) and therefore an intermediate metric HV is introduced. The experiments in this section are designed with care to answer the following research questions.

  • Q1

    Whether SpectralRules and PORS improve HV?

  • Q2

    Which SSF method achieves the highest HV in PORS?

  • Q3

    Whether large HV suggests high quality (final objective) of the refined rule subsets?

We release a repository of code that can fully reproduce the results (including tables and figures) in this section on public datasets (git, 2024).

Dataset Size Attributes Pos. Ratio
Default 30,000 24 22.12%
Credit 150,000 11 6.68%
Fraud 284,807 31 0.17%
Bank 45,211 17 11.70%
A1 6,609,266 731 δ1subscript𝛿1\delta_{1}italic_δ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT
A2 990,798 210 δ2subscript𝛿2\delta_{2}italic_δ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT
A3 9,837,541 176 δ3subscript𝛿3\delta_{3}italic_δ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT
Table 2. Datasets.
Type Method Default Credit Fraud Bank A1 A2 A3
EMO NSGA-II (Deb et al., 2002) 0.524±plus-or-minus\pm±0.013 0.322±plus-or-minus\pm±0.023 0.786±plus-or-minus\pm±0.027 0.533±plus-or-minus\pm±0.018 0.296±plus-or-minus\pm±0.010 0.169±plus-or-minus\pm±0.006 0.032±plus-or-minus\pm±0.006
unif. obj. equi-spaced (Pereyra et al., 2013) 0.515±plus-or-minus\pm±0.008 0.323±plus-or-minus\pm±0.021 0.783±plus-or-minus\pm±0.020 0.517±plus-or-minus\pm±0.020 0.299±plus-or-minus\pm±0.011 0.172±plus-or-minus\pm±0.006 0.033±plus-or-minus\pm±0.006
equi-dist 0.517±plus-or-minus\pm±0.010 0.324±plus-or-minus\pm±0.022 0.786±plus-or-minus\pm±0.021 0.528±plus-or-minus\pm±0.014 0.298±plus-or-minus\pm±0.010 0.173±plus-or-minus\pm±0.006 0.034±plus-or-minus\pm±0.006
non-obj. equi-jaccard 0.509±plus-or-minus\pm±0.007 0.308±plus-or-minus\pm±0.018 0.789±plus-or-minus\pm±0.032 0.516±plus-or-minus\pm±0.019 0.296±plus-or-minus\pm±0.012 0.166±plus-or-minus\pm±0.009 0.033±plus-or-minus\pm±0.006
non- unif. obj. hv-ss (Chen et al., 2021b) 0.519±plus-or-minus\pm±0.009 0.325±plus-or-minus\pm±0.022 0.783±plus-or-minus\pm±0.037 0.530±plus-or-minus\pm±0.021 0.298±plus-or-minus\pm±0.007 0.165±plus-or-minus\pm±0.007 0.034±plus-or-minus\pm±0.005
igd-ss (Chen et al., 2021b) 0.496±plus-or-minus\pm±0.012 0.297±plus-or-minus\pm±0.023 0.790±plus-or-minus\pm±0.038 0.499±plus-or-minus\pm±0.021 0.297±plus-or-minus\pm±0.012 0.163±plus-or-minus\pm±0.006 0.031±plus-or-minus\pm±0.007
igd+-ss (Chen et al., 2021b) 0.491±plus-or-minus\pm±0.010 0.281±plus-or-minus\pm±0.018 0.789±plus-or-minus\pm±0.031 0.480±plus-or-minus\pm±0.025 0.289±plus-or-minus\pm±0.011 0.147±plus-or-minus\pm±0.008 0.027±plus-or-minus\pm±0.004
hvc-ss 0.524±plus-or-minus\pm±0.011 0.325±plus-or-minus\pm±0.022 0.798±plus-or-minus\pm±0.040 0.533±plus-or-minus\pm±0.015 0.301±plus-or-minus\pm±0.012 0.176±plus-or-minus\pm±0.006 0.036±plus-or-minus\pm±0.006
k-medoids-pr (Chen et al., 2021a) 0.501±plus-or-minus\pm±0.013 0.303±plus-or-minus\pm±0.025 0.785±plus-or-minus\pm±0.027 0.511±plus-or-minus\pm±0.020 0.296±plus-or-minus\pm±0.014 0.170±plus-or-minus\pm±0.005 0.031±plus-or-minus\pm±0.007
non-obj. k-medoids-jaccard 0.472±plus-or-minus\pm±0.016 0.258±plus-or-minus\pm±0.035 0.792±plus-or-minus\pm±0.034 0.479±plus-or-minus\pm±0.026 0.284±plus-or-minus\pm±0.012 0.142±plus-or-minus\pm±0.006 0.024±plus-or-minus\pm±0.010
Table 3. The hypervolume (HV) performance (mean±plus-or-minus\pm±std) of the Pareto front for different methods on test set of each problem. Higher HV is better and best method for each dataset is marked in bold. TreeEns (Li et al., 2022) is employed in Stage 1 to produce the initial 500 rules.
Type Method Default Credit Fraud Bank A1 A2 A3
EMO NSGA-II (Deb et al., 2002) 0.526±plus-or-minus\pm±0.013 0.350±plus-or-minus\pm±0.011 0.789±plus-or-minus\pm±0.036 0.585±plus-or-minus\pm±0.011 0.313±plus-or-minus\pm±0.004 0.188±plus-or-minus\pm±0.005 0.033±plus-or-minus\pm±0.004
unif. obj. equi-spaced (Pereyra et al., 2013) 0.534±plus-or-minus\pm±0.012 0.350±plus-or-minus\pm±0.014 0.796±plus-or-minus\pm±0.037 0.570±plus-or-minus\pm±0.009 0.313±plus-or-minus\pm±0.006 0.183±plus-or-minus\pm±0.007 0.035±plus-or-minus\pm±0.006
equi-dist 0.535±plus-or-minus\pm±0.011 0.352±plus-or-minus\pm±0.015 0.805±plus-or-minus\pm±0.025 0.575±plus-or-minus\pm±0.009 0.315±plus-or-minus\pm±0.005 0.180±plus-or-minus\pm±0.008 0.034±plus-or-minus\pm±0.006
non-obj. equi-jaccard 0.535±plus-or-minus\pm±0.014 0.357±plus-or-minus\pm±0.014 0.803±plus-or-minus\pm±0.028 0.577±plus-or-minus\pm±0.013 0.314±plus-or-minus\pm±0.009 0.176±plus-or-minus\pm±0.008 0.034±plus-or-minus\pm±0.007
non- unif. obj. hv-ss (Chen et al., 2021b) 0.534±plus-or-minus\pm±0.011 0.357±plus-or-minus\pm±0.016 0.801±plus-or-minus\pm±0.033 0.582±plus-or-minus\pm±0.008 0.318±plus-or-minus\pm±0.004 0.184±plus-or-minus\pm±0.006 0.035±plus-or-minus\pm±0.005
igd-ss (Chen et al., 2021b) 0.516±plus-or-minus\pm±0.015 0.346±plus-or-minus\pm±0.016 0.798±plus-or-minus\pm±0.045 0.560±plus-or-minus\pm±0.012 0.317±plus-or-minus\pm±0.006 0.185±plus-or-minus\pm±0.006 0.033±plus-or-minus\pm±0.007
igd+-ss (Chen et al., 2021b) 0.515±plus-or-minus\pm±0.016 0.338±plus-or-minus\pm±0.012 0.793±plus-or-minus\pm±0.024 0.553±plus-or-minus\pm±0.017 0.308±plus-or-minus\pm±0.005 0.160±plus-or-minus\pm±0.007 0.029±plus-or-minus\pm±0.004
hvc-ss 0.540±plus-or-minus\pm±0.012 0.359±plus-or-minus\pm±0.013 0.808±plus-or-minus\pm±0.030 0.593±plus-or-minus\pm±0.012 0.319±plus-or-minus\pm±0.006 0.192±plus-or-minus\pm±0.007 0.036±plus-or-minus\pm±0.005
k-medoids-pr (Chen et al., 2021a) 0.515±plus-or-minus\pm±0.013 0.343±plus-or-minus\pm±0.014 0.801±plus-or-minus\pm±0.033 0.563±plus-or-minus\pm±0.009 0.317±plus-or-minus\pm±0.004 0.184±plus-or-minus\pm±0.005 0.033±plus-or-minus\pm±0.006
non-obj. k-medoids-jaccard 0.507±plus-or-minus\pm±0.016 0.333±plus-or-minus\pm±0.011 0.791±plus-or-minus\pm±0.030 0.521±plus-or-minus\pm±0.014 0.301±plus-or-minus\pm±0.011 0.151±plus-or-minus\pm±0.006 0.028±plus-or-minus\pm±0.008
Table 4. The hypervolume (HV) performance (mean±plus-or-minus\pm±std) of the Pareto front for different methods on test set of each problem. Higher HV is better and best method for each dataset is marked in bold. SpectralRules is employed in Stage 1 to produce the initial 500 rules.

5.1. Datasets

Table 2 summarizes the datasets used in our experiments. We use 4 public Fintech-related datasets in this paper. “Default” and “Bank” are from the UCI repository.555http://archive.ics.uci.edu/ml/ “Credit” is a binary classification problem that predicts the probability that somebody will experience financial distress in the next two years.666https://www.kaggle.com/c/GiveMeSomeCredit/data “Fraud” is a Kaggle competition problem that aims to recognize fraudulent credit card transactions.777https://www.kaggle.com/mlg-ulb/creditcardfraud

“A1”, “A2” and “A3” are three proprietary fraud prevention problems inside Alipay, representing three different fraudulent activities such as fraudulent payment transactions, identity theft, etc. Those datasets are large in scale and we do not reveal the positive ratio of each proprietary dataset by using δ𝛿\deltaitalic_δ to symbolize the actual number.

5.2. Pareto-optimal Rule Subsets (Q1 & Q2)

We first conduct a thorough evaluation of finding Pareto-optimal rule subsets. We consider the classic EMO algorithm NSGA-II (Deb et al., 2002) which is believed to perform well for bi-objective optimization problems (Tanabe et al., 2017).888We use pyMultiobjective package at https://github.com/Valdecy/pyMultiobjective. We also experimented HypE (Bader and Zitzler, 2011) and MOEA/D (Zhang and Li, 2007) during our early investigation, but we found NSGA-II is more efficient and achieves higher HV. Following standard practice (Chen et al., 2021b), we equip NSGA-II with an unbounded external archive (UEA) to store all non-dominated solutions examined during the execution of the algorithm. We found that NSGA-II with UEA consistently achieves higher performance. We set the parameter mutation_rate𝑚𝑢𝑡𝑎𝑡𝑖𝑜𝑛_𝑟𝑎𝑡𝑒mutation\_rateitalic_m italic_u italic_t italic_a italic_t italic_i italic_o italic_n _ italic_r italic_a italic_t italic_e to 0.02 and generations𝑔𝑒𝑛𝑒𝑟𝑎𝑡𝑖𝑜𝑛𝑠generationsitalic_g italic_e italic_n italic_e italic_r italic_a italic_t italic_i italic_o italic_n italic_s to 1000 while using default values for other parameters. We observe this parameter setup often achieves the best results for NSGA-II. For PORS framework, we consider all SSF methods listed in Section 4.3 to implement the framework. We use k=10𝑘10k=10italic_k = 10 as the number of samples for SSF, which is the only parameter to set for SSF methods.

We consider two candidates for generating the initial rule set in Stage 1. We follow the same approach in (Li et al., 2022) that uses a variant of tree ensemble (called TreeEns), and compare that with SpectralRules for generating the initial set of rules. For both methods, maximum rule length is fixed to 6 and we generate (up to) 500 rules from each method to form the initial rule set \mathcal{R}caligraphic_R (same setting as in (Li et al., 2022)).999For TreeEns, we first generate a large pool of rules and then apply the filter provided in (Li et al., 2022) to reduce the size of rule set to pre-specified number as the output of Stage 1.

We use hypervolume indicator (HV) to measure the quality of Pareto-optimal rule subsets. For all experiments, we randomly partition the dataset into training (60% of the data), validation (20% of the data) and test sets (20% of the data). We generate the initial rule set in Stage 1 using training set. We then apply our 9 PORS algorithms and NSGA-II on the training set, select the best Pareto front with highest HV on the validation set and collect its HV on test set. All experiments are repeated 5 times and we report mean and standard deviation of the evaluation results on test sets.

Table 3 and 4 shows the HV results on test set for each dataset when the initial rule set is generated by TreeEns and SpectralRules, respectively. We first observe that PORS with hvc-ss as its SSF method consistently achieves the highest HV for both cases. Therefore, we recommend implementing PORS framework with hvc-ss as its SSF method, and we now refer to this particular combination as the PORS algorithm. In addition, we also observe that employing SpectralRules in Stage 1 leads to higher HV of the final Pareto front by comparing the best values in Table 3 and 4.

Intuitive explanation of why hvc-ss performs the best. PORS framework can be viewed as a greedy forward stagewise algorithm, with maximizing HV as its objective, by iteratively expanding Pareto fronts. Among all SSF methods, hvc-ss achieves the largest HV increase (by definition) for each iteration (Pareto front expansion), and therefore it should work well inside PORS framework. Because of the greedy nature of the framework, other SSF methods might also work well. Our empirical study complements the picture and shows hvc-ss indeed achieves the best results on most cases.

5.3. Discussion

In this section, we provide more experimental results to shed light on properties of different combinations of methods.

5.3.1. Comparison of SpectralRules and TreeEns (Stage 1)

It is apparent that the quality of the initial rule set \mathcal{R}caligraphic_R from Stage 1 can significantly impact the final Pareto front; it is impossible to find high-quality rule subsets when some key rules are not present in \mathcal{R}caligraphic_R in the first place. Section 5.2 demonstrates that SpectralRules outperforms TreeEns when the size of \mathcal{R}caligraphic_R is set to 500. In this section, we provide further investigation on the effects of SpectralRules and TreeEns when the size of \mathcal{R}caligraphic_R varies. In this experiment, we use PORS algorithm as our method to find Pareto-optimal rule subsets.

Refer to caption
Figure 2. HV of PORS algorithm on Bank dataset when using SpectralRules or TreeEns to produce rule set in Stage 1.

Figure 2 illustrates the HV performance on Bank dataset when the size of \mathcal{R}caligraphic_R increases. Results are aggregated over 5 trials of random partitioning of the dataset. We observe that SpectralRules outperforms TreeEns for all ||500500|\mathcal{R}|\leq 500| caligraphic_R | ≤ 500. SpectralRules cannot produce a rule set large enough to reach at size of 1000 since all positive points are already covered. We also observe that even if we give more budget on the number of rules to TreeEns, it cannot catch up with the level of HV achieved by SpectralRules. Similar patterns are observed on other datasets.

There exist some key differences between SpectralRules and TreeEns. TreeEns extracts rules from a tree ensemble, and therefore we expect that there are many “homogeneous” rules (in terms of the distribution of precision and recall) that look alike each other. This not only hurts the efficiency of the subsequent subset selection (for there is now a large initial set to select from) but the efficacy of Stage 2 also takes a hit. As noted in  (Li et al., 2022), various filters are needed for TreeEns to reduce the number of rules produced in this stage for better efficiency and effectiveness. On the other hand, SpectralRules employs direct rule induction and focuses on promoting the diversity of \mathcal{R}caligraphic_R, leading to a more compact rule set of higher quality.

On Bank dataset, for ||=500500|\mathcal{R}|=500| caligraphic_R | = 500, we observe the mean and standard deviation for precision (recall) of TreeEns and SpectralRules is 0.5461±0.1604plus-or-minus0.54610.16040.5461\pm 0.16040.5461 ± 0.1604 (0.0225±0.0330plus-or-minus0.02250.03300.0225\pm 0.03300.0225 ± 0.0330) and 0.6376±0.1823plus-or-minus0.63760.18230.6376\pm 0.18230.6376 ± 0.1823 (0.0381±0.0699plus-or-minus0.03810.06990.0381\pm 0.06990.0381 ± 0.0699), respectively. We see that not only the mean of precision (recall) from SpectralRules is higher, its standard deviation is larger as well; SpectralRules does generate rule set with high diversity. Combined with results in Section 5.2, we conclude that high diversity in Stage 1 improves HV. Hence, for the rest of this paper, we use SpectralRules for Stage 1 by default unless otherwise mentioned.

Refer to caption
Figure 3. Efficiency of NSGA-II vs. PORS on Bank dataset.

5.3.2. Efficiency Evaluation for EMO and PORS Algorithm

From Section 5.2 we observe that NSGA-II as an EMO algorithm is very competitive to PORS algorithm (as a heuristic-based algorithm). In this section, we conduct efficiency evaluation for these two methods. We run both algorithms on a standard server with 16GB memory using 4 threads.

Figure 3 shows how HV changes on train, validation and test sets of Bank dataset over wall clock time for NSGA-II and PORS algorithm. We can see that PORS algorithm quickly converges while NSGA-II is less efficient. Similar patterns are observed on other datasets. In particular, on our largest dataset “A3,” PORS only takes 146 seconds to finish while NSGA-II needs 1610 seconds on the same server with 16GB using 4 threads. This suggests a heuristic-based algorithm can be highly efficient.

5.4. Case Study (Q3)

In this section, we provide two case studies within Alipay where the requirement of the final rule subset of Stage 2 differs, and demonstrate how finding Pareto-optimal rule sets as an intermediate stage between Stage 1 and Stage 2 can benefit the eventual result.

To study the relationship of HV (as an intermediate evaluation metric) and final objective, we consider three implementations of PORS framework in this section; hvc-ss for high HV, equi-spaced for medium HV, and k-med.-j. for low HV.

5.4.1. Confidence-Constrained Rule Set Learning

The first case study focuses on applications that prioritize recall over precision. We compare PORS with confidence-constrained rule set learning (CRSL) (Li et al., 2022). Note that CRSL only works on TreeEns as it needs a large candidate set to select from, and we compare it with PORS algorithms (with different SSF implementations) using SpectralRules for Stage 1 (other settings are the same with Section 5.2).

Dataset Prec CRSL (Li et al., 2022) PORS
hvc-ss equi-spaced k-med.-j.
(High HV) (Med. HV) (Low HV)
Default 0.3 0.765±plus-or-minus\pm±0.025 0.854±plus-or-minus\pm±0.010 0.853±plus-or-minus\pm±0.013 0.835±plus-or-minus\pm±0.014
0.5 0.519±plus-or-minus\pm±0.012 0.557±plus-or-minus\pm±0.020 0.564±plus-or-minus\pm±0.005 0.543±plus-or-minus\pm±0.017
0.7 0.238±plus-or-minus\pm±0.038 0.260±plus-or-minus\pm±0.040 0.262±plus-or-minus\pm±0.052 0.257±plus-or-minus\pm±0.045
Credit 0.3 0.555±plus-or-minus\pm±0.030 0.584±plus-or-minus\pm±0.013 0.581±plus-or-minus\pm±0.015 0.538±plus-or-minus\pm±0.012
0.5 0.269±plus-or-minus\pm±0.059 0.289±plus-or-minus\pm±0.017 0.279±plus-or-minus\pm±0.037 0.273±plus-or-minus\pm±0.030
0.7 0.038±plus-or-minus\pm±0.021 0.041±plus-or-minus\pm±0.013 0.025±plus-or-minus\pm±0.023 0.024±plus-or-minus\pm±0.023
Fraud 0.3 0.840±plus-or-minus\pm±0.038 0.851±plus-or-minus\pm±0.045 0.847±plus-or-minus\pm±0.035 0.836±plus-or-minus\pm±0.037
0.5 0.816±plus-or-minus\pm±0.024 0.822±plus-or-minus\pm±0.035 0.822±plus-or-minus\pm±0.038 0.822±plus-or-minus\pm±0.024
0.7 0.812±plus-or-minus\pm±0.032 0.814±plus-or-minus\pm±0.021 0.818±plus-or-minus\pm±0.033 0.808±plus-or-minus\pm±0.034
Bank 0.3 0.907±plus-or-minus\pm±0.015 0.951±plus-or-minus\pm±0.007 0.945±plus-or-minus\pm±0.009 0.813±plus-or-minus\pm±0.034
0.5 0.630±plus-or-minus\pm±0.075 0.781±plus-or-minus\pm±0.018 0.764±plus-or-minus\pm±0.034 0.679±plus-or-minus\pm±0.050
0.7 0.337±plus-or-minus\pm±0.044 0.264±plus-or-minus\pm±0.044 0.243±plus-or-minus\pm±0.038 0.253±plus-or-minus\pm±0.055
A1 5δ1subscript𝛿1\delta_{1}italic_δ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT 0.789±plus-or-minus\pm±0.023 0.824±plus-or-minus\pm±0.013 0.794±plus-or-minus\pm±0.016 0.775±plus-or-minus\pm±0.021
10δ1subscript𝛿1\delta_{1}italic_δ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT 0.624±plus-or-minus\pm±0.016 0.657±plus-or-minus\pm±0.011 0.640±plus-or-minus\pm±0.012 0.614±plus-or-minus\pm±0.018
20δ1subscript𝛿1\delta_{1}italic_δ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT 0.499±plus-or-minus\pm±0.008 0.510±plus-or-minus\pm±0.009 0.501±plus-or-minus\pm±0.006 0.487±plus-or-minus\pm±0.009
A2 5δ2subscript𝛿2\delta_{2}italic_δ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT 0.828±plus-or-minus\pm±0.019 0.831±plus-or-minus\pm±0.007 0.767±plus-or-minus\pm±0.012 0.726±plus-or-minus\pm±0.009
10δ2subscript𝛿2\delta_{2}italic_δ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT 0.483±plus-or-minus\pm±0.072 0.593±plus-or-minus\pm±0.008 0.578±plus-or-minus\pm±0.008 0.545±plus-or-minus\pm±0.009
20δ2subscript𝛿2\delta_{2}italic_δ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT 0.263±plus-or-minus\pm±0.079 0.324±plus-or-minus\pm±0.017 0.326±plus-or-minus\pm±0.006 0.292±plus-or-minus\pm±0.006
A3 5δ3subscript𝛿3\delta_{3}italic_δ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT 0.581±plus-or-minus\pm±0.022 0.563±plus-or-minus\pm±0.019 0.543±plus-or-minus\pm±0.054 0.483±plus-or-minus\pm±0.034
10δ3subscript𝛿3\delta_{3}italic_δ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT 0.531±plus-or-minus\pm±0.028 0.560±plus-or-minus\pm±0.021 0.526±plus-or-minus\pm±0.037 0.453±plus-or-minus\pm±0.034
20δ3subscript𝛿3\delta_{3}italic_δ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT 0.387±plus-or-minus\pm±0.033 0.414±plus-or-minus\pm±0.011 0.402±plus-or-minus\pm±0.023 0.381±plus-or-minus\pm±0.021
Table 5. CRSL vs PORS. Each cell represents the recall on test set (mean±plus-or-minus\pm± std) under a corresponding precision threshold. For propriety datasets, we use the precision threshold of 5×\times×, 10×\times×, 20×\times× of the positive rate of the dataset. The best method is marked in bold for each case.

Table 5 summarizes results on both public and propriety datasets for CRSL and PORS algorithms. We observe that on both public and propriety datasets, PORS with hvc-ss outperforms CRSL on most cases. In addition, we observe that there is a positive correlation between HV (as an intermediate evaluation metric) and recall (as a final objective).

Note that CRSL needs to run on each precision threshold to produce a rule subset, while PORS algorithm only needs to run once to generate a set of rule subsets that can be readily picked up for different precision thresholds. Such flexibility is usually appreciated in real development of rule subsets as rule mining in practice is typically an explorative and iterative process.

Online Evaluation and Deployment. We perform an online A/B testing for PORS algorithm (with hvc-ss) and CRSL (Li et al., 2022) from 12/06/2023 to 12/27/2023. These two algorithms are trained on a same anti-money laundering dataset with 5,532,623 points and 717 features. The precision threshold has been set to 0.8 and the goal is to maximize recall. These two algorithms both produce rule subsets of 22 rules.

In accordance with Alipay’s non-disclosure policy, we only report the relative increase of recall rather than the actual number in this paper. PORS achieved 1.56% increase of recall while CRSL achieved 1.49% increase of recall; significant with p𝑝pitalic_p-value = 0 from two-tailed paired t𝑡titalic_t-test on 59 million samples. We have deployed our PORS algorithm in our internal Fanglue system (Qian et al., 2023) and it has been serving our internal users since May 2023. We have in total about 23,000 jobs up to March 2024, with an average of about 2,000 jobs per month.

5.4.2. Rule Set Learning Using Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT Score

As our second case study, we focus on applications that prioritize precision over recall and we use Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT score to select the final rule subsets for Stage 2 (which is also widely used inside Alipay). Note that for Fintech applications, a small β𝛽\betaitalic_β is usually favored so that the metric is more biased towards precision. We compare PORS with standard greedy forward stepwise algorithm for subset selection (Greedy), both using SpectralRules to produce a initial rule set of 500 rules in Stage 1. The greedy algorithm iteratively adds one rule from the initial rule set so as to achieve the highest metric value. To avoid running into local optima, we equip Greedy with beam search of width 10.

Table 6 summarizes results on both public and propriety datasets for Greedy and PORS algorithms. We can see that PORS with hvc-ss outperforms Greedy by finding rule subsets with higher Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT on most cases. We again observe that the positive correlation between HV (as an intermediate evaluation metric) and Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT (as a final objective). Note that Greedy needs to run multiple times (one for each β𝛽\betaitalic_β) while PORS only needs to run once and it generates a set of Pareto-optimal rule subsets. It gives more flexibility for human to quickly experiment different β𝛽\betaitalic_βs without additional efforts.

We note that both Greedy and PORS adds one rule for each iteration, and therefore we can compare the running time in a relatively fair fashion. Hence, we run both Greedy and PORS (with hvc-ss) algorithm on a standard server with 16GB memory using 4 threads. Figure 4 illustrates the running time for PORS and Greedy F0.1subscript𝐹0.1F_{0.1}italic_F start_POSTSUBSCRIPT 0.1 end_POSTSUBSCRIPT, F0.2subscript𝐹0.2F_{0.2}italic_F start_POSTSUBSCRIPT 0.2 end_POSTSUBSCRIPT, and F0.5subscript𝐹0.5F_{0.5}italic_F start_POSTSUBSCRIPT 0.5 end_POSTSUBSCRIPT on Bank dataset. As expected, β𝛽\betaitalic_β has little impact on the running time for Greedy. Since PORS aims to generate a set of rule subsets while Greedy only focuses on one single metric, PORS needs to do more work for each iteration and we empirically observe PORS takes 2x to 3x more time than single run of Greedy for each iteration. This is acceptable in practice given the flexibility offered by PORS.

Dataset β𝛽\betaitalic_β Greedy PORS
hvc-ss equi-spaced k-med.-j.
(High HV) (Med. HV) (Low HV)
Default 0.1 0.743±plus-or-minus\pm±0.039 0.762±plus-or-minus\pm±0.033 0.747±plus-or-minus\pm±0.022 0.732±plus-or-minus\pm±0.007
0.2 0.685±plus-or-minus\pm±0.015 0.687±plus-or-minus\pm±0.015 0.692±plus-or-minus\pm±0.019 0.685±plus-or-minus\pm±0.012
0.5 0.573±plus-or-minus\pm±0.014 0.578±plus-or-minus\pm±0.008 0.577±plus-or-minus\pm±0.011 0.582±plus-or-minus\pm±0.014
Credit 0.1 0.608±plus-or-minus\pm±0.043 0.616±plus-or-minus\pm±0.035 0.608±plus-or-minus\pm±0.039 0.611±plus-or-minus\pm±0.034
0.2 0.523±plus-or-minus\pm±0.020 0.536±plus-or-minus\pm±0.015 0.540±plus-or-minus\pm±0.025 0.534±plus-or-minus\pm±0.025
0.5 0.431±plus-or-minus\pm±0.011 0.433±plus-or-minus\pm±0.009 0.434±plus-or-minus\pm±0.007 0.426±plus-or-minus\pm±0.011
Fraud 0.1 0.973±plus-or-minus\pm±0.006 0.968±plus-or-minus\pm±0.013 0.959±plus-or-minus\pm±0.023 0.957±plus-or-minus\pm±0.011
0.2 0.935±plus-or-minus\pm±0.029 0.950±plus-or-minus\pm±0.007 0.941±plus-or-minus\pm±0.016 0.946±plus-or-minus\pm±0.008
0.5 0.838±plus-or-minus\pm±0.032 0.888±plus-or-minus\pm±0.021 0.887±plus-or-minus\pm±0.021 0.873±plus-or-minus\pm±0.019
Bank 0.1 0.755±plus-or-minus\pm±0.017 0.763±plus-or-minus\pm±0.020 0.709±plus-or-minus\pm±0.016 0.729±plus-or-minus\pm±0.016
0.2 0.652±plus-or-minus\pm±0.017 0.682±plus-or-minus\pm±0.015 0.666±plus-or-minus\pm±0.018 0.656±plus-or-minus\pm±0.017
0.5 0.596±plus-or-minus\pm±0.009 0.603±plus-or-minus\pm±0.010 0.596±plus-or-minus\pm±0.012 0.586±plus-or-minus\pm±0.010
A1 0.1 0.689±plus-or-minus\pm±0.011 0.695±plus-or-minus\pm±0.009 0.682±plus-or-minus\pm±0.009 0.674±plus-or-minus\pm±0.010
0.2 0.592±plus-or-minus\pm±0.010 0.599±plus-or-minus\pm±0.006 0.599±plus-or-minus\pm±0.009 0.590±plus-or-minus\pm±0.010
0.5 0.446±plus-or-minus\pm±0.004 0.451±plus-or-minus\pm±0.006 0.443±plus-or-minus\pm±0.003 0.439±plus-or-minus\pm±0.007
A2 0.1 0.543±plus-or-minus\pm±0.045 0.547±plus-or-minus\pm±0.039 0.543±plus-or-minus\pm±0.044 0.535±plus-or-minus\pm±0.020
0.2 0.443±plus-or-minus\pm±0.018 0.446±plus-or-minus\pm±0.025 0.438±plus-or-minus\pm±0.024 0.429±plus-or-minus\pm±0.017
0.5 0.290±plus-or-minus\pm±0.012 0.290±plus-or-minus\pm±0.012 0.304±plus-or-minus\pm±0.011 0.289±plus-or-minus\pm±0.009
A3 0.1 0.257±plus-or-minus\pm±0.183 0.250±plus-or-minus\pm±0.114 0.240±plus-or-minus\pm±0.119 0.222±plus-or-minus\pm±0.139
0.2 0.119±plus-or-minus\pm±0.076 0.127±plus-or-minus\pm±0.062 0.126±plus-or-minus\pm±0.060 0.119±plus-or-minus\pm±0.068
0.5 0.067±plus-or-minus\pm±0.029 0.074±plus-or-minus\pm±0.019 0.065±plus-or-minus\pm±0.017 0.063±plus-or-minus\pm±0.009
Table 6. Greedy vs PORS. Each cell represents the Fβsubscript𝐹𝛽F_{\beta}italic_F start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT score on test set (mean±plus-or-minus\pm± std) under a particular β𝛽\betaitalic_β. The best method is marked in bold for each case.
Refer to caption
Figure 4. Running time for Greedy and PORS on Bank dataset.

6. Conclusion

The two-stage framework of fraud prevention decision rule set mining is usually employed in large Fintech institutions. This paper focuses on improving the flexibility and efficacy of this two-stage framework and is concerned with finding high-quality rule subsets in a bi-objective space. We first introduce a novel algorithm called SpectralRules for Stage 1 that encourages the diversity of rules. We empirically find such diversity improves the final quality of rule subset. We also introduce an intermediate stage between Stage 1 and 2 that adopts the concept of Pareto optimality and aims to find a set of non-dominated rule subsets, which constitutes a Pareto front. This intermediate stage greatly simplifies the selection criteria and increases the flexibility for Stage 2. We propose a heuristic-based framework called PORS and we identify that the core of PORS is the problem of solution selection on the front (SSF). We provide a thorough empirical evaluation of various SSF methods on both public and proprietary datasets. On two real application scenarios within Alipay, we demonstrate the advantages of our proposed methodology compared to existing work.

References

  • (1)
  • git (2024) 2024. Github repo. https://github.com/ChengyaoWen/Pareto-Optimal-Rule-Subset-Selection
  • Agrawal et al. (1993) R. Agrawal, T. Imieliński, and A. Swami. 1993. Mining association rules between sets of items in large databases. In SIGMOD.
  • Bader and Zitzler (2011) J. Bader and E. Zitzler. 2011. HypE: An algorithm for fast hypervolume-based many-objective optimization. Evolutionary computation 19, 1 (2011), 45–76.
  • Beume et al. (2007) N. Beume, B. Naujoks, and M. Emmerich. 2007. SMS-EMOA: Multiobjective selection based on dominated hypervolume. European Journal of Operational Research 181, 3 (2007), 1653–1669.
  • Breiman (2001) L. Breiman. 2001. Random forests. Machine learning 45, 1 (2001), 5–32.
  • Breiman et al. (1984) L. Breiman, J.H. Friedman, C.J. Stone, and R.A. Olshen. 1984. Classification and regression trees. Chapman and Hall/CRC.
  • Chen et al. (2021a) W. Chen, H. Ishibuchi, and K. Shang. 2021a. Clustering-based subset selection in evolutionary multiobjective optimization. In SMC.
  • Chen et al. (2021b) W. Chen, H. Ishibuchi, and K. Shang. 2021b. Fast Greedy Subset Selection From Large Candidate Solution Sets in Evolutionary Multiobjective Optimization. IEEE Transactions on Evolutionary Computation 26, 4 (2021), 750–764.
  • Clark and Niblett (1989) P. Clark and T. Niblett. 1989. The CN2 induction algorithm. Machine learning 3, 4 (1989), 261–283.
  • Cohen (1995) W.W. Cohen. 1995. Fast effective rule induction. In ICML.
  • Deb et al. (2002) K. Deb, A. Pratap, S. Agarwal, and T Meyarivan. 2002. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation 6, 2 (2002), 182–197.
  • Guerreiro et al. (2020) A.P. Guerreiro, C.M. Fonseca, and L. Paquete. 2020. The Hypervolume Indicator: Problems and Algorithms. arXiv preprint arXiv:2005.00515 (2020).
  • Lakkaraju et al. (2016) H. Lakkaraju, S.H. Bach, and J. Leskovec. 2016. Interpretable decision sets: A joint framework for description and prediction. In KDD.
  • Li et al. (2015) B. Li, J. Li, K. Tang, and X. Yao. 2015. Many-objective evolutionary algorithms: A survey. ACM Computing Surveys (CSUR) 48, 1 (2015), 1–35.
  • Li and Yao (2019) M. Li and X. Yao. 2019. Quality evaluation of solution sets in multiobjective optimisation: A survey. Comput. Surveys 52, 2 (2019), 1–38.
  • Li et al. (2022) M. Li, L. Yu, Y.-L. Zhang, X Huang, Q. Shi, Q. Cui, X. Yang, L. Li, W. Zhu, Y. Fang, and J. Zhou. 2022. An Adaptive Framework for Confidence-constraint Rule Set Learning Algorithm in Large Dataset. In CIKM.
  • Molnar (2020) C. Molnar. 2020. Interpretable Machine Learning. Lulu. com.
  • Pereyra et al. (2013) V. Pereyra, M. Saunders, and J. Castillo. 2013. Equispaced Pareto front construction for constrained bi-objective optimization. Mathematical and Computer Modelling 57, 9-10 (2013), 2122–2131.
  • Qian et al. (2023) C. Qian, S. Liang, Z. Wang, and Y. Lou. 2023. Fanglue: An Interactive System for Decision Rule Crafting. Proceedings of the VLDB Endowment 16, 12 (2023), 4062–4065.
  • Quinlan (1993) J.R. Quinlan. 1993. C4. 5: programs for machine learning. Morgan Kaufmann Publishers.
  • Shang et al. (2022) K. Shang, T. Shu, H. Ishibuchi, Y. Nan, and L.M. Pang. 2022. Benchmarking subset selection from large candidate solution sets in evolutionary multi-objective optimization. arXiv preprint arXiv:2201.06700 (2022).
  • Tanabe et al. (2017) R. Tanabe, H. Ishibuchi, and A. Oyama. 2017. Benchmarking multi-and many-objective evolutionary algorithms under two optimization scenarios. IEEE Access 5 (2017), 19597–19619.
  • Van Rijsbergen (1979) C.J. Van Rijsbergen. 1979. Information Retrieval. Butterworth-Heinemann.
  • Zhang and Gionis (2020) G. Zhang and A. Gionis. 2020. Diverse Rule Sets. In KDD.
  • Zhang and Li (2007) Q. Zhang and H. Li. 2007. MOEA/D: A multiobjective evolutionary algorithm based on decomposition. IEEE Transactions on evolutionary computation 11, 6 (2007), 712–731.
  • Zitzler (1999) E. Zitzler. 1999. Evolutionary algorithms for multiobjective optimization: Methods and applications. Ph. D. Dissertation. ETH Zurich, Switzerland.
  • Zitzler et al. (2001) E. Zitzler, M. Laumanns, and L. Thiele. 2001. SPEA2: Improving the strength Pareto evolutionary algorithm. Technical Report. ETHZ, Zürich, Switzerland.
Dataset k hvc-ss hv-ss igd-ss igd+-ss k-med.-pr k-med.-j. equi-j. equi-spaced equi-dist
Bank 5 0.575±plus-or-minus\pm±0.009 0.583±plus-or-minus\pm±0.011 0.531±plus-or-minus\pm±0.014 0.502±plus-or-minus\pm±0.025 0.549±plus-or-minus\pm±0.012 0.493±plus-or-minus\pm±0.022 0.552±plus-or-minus\pm±0.012 0.555±plus-or-minus\pm±0.009 0.561±plus-or-minus\pm±0.01
10 0.591±plus-or-minus\pm±0.012 0.580±plus-or-minus\pm±0.009 0.546±plus-or-minus\pm±0.017 0.539±plus-or-minus\pm±0.016 0.562±plus-or-minus\pm±0.010 0.512±plus-or-minus\pm±0.013 0.564±plus-or-minus\pm±0.015 0.571±plus-or-minus\pm±0.009 0.571±plus-or-minus\pm±0.010
15 0.596±plus-or-minus\pm±0.011 0.582±plus-or-minus\pm±0.010 0.564±plus-or-minus\pm±0.013 0.553±plus-or-minus\pm±0.014 0.566±plus-or-minus\pm±0.008 0.533±plus-or-minus\pm±0.018 0.567±plus-or-minus\pm±0.012 0.574±plus-or-minus\pm±0.006 0.577±plus-or-minus\pm±0.008
20 0.594±plus-or-minus\pm±0.011 0.583±plus-or-minus\pm±0.010 0.561±plus-or-minus\pm±0.011 0.554±plus-or-minus\pm±0.013 0.571±plus-or-minus\pm±0.011 0.531±plus-or-minus\pm±0.011 0.568±plus-or-minus\pm±0.014 0.574±plus-or-minus\pm±0.006 0.578±plus-or-minus\pm±0.008
Credit 5 0.347±plus-or-minus\pm±0.012 0.350±plus-or-minus\pm±0.011 0.333±plus-or-minus\pm±0.010 0.325±plus-or-minus\pm±0.012 0.337±plus-or-minus\pm±0.010 0.316±plus-or-minus\pm±0.008 0.342±plus-or-minus\pm±0.016 0.340±plus-or-minus\pm±0.016 0.341±plus-or-minus\pm±0.012
10 0.357±plus-or-minus\pm±0.012 0.356±plus-or-minus\pm±0.015 0.345±plus-or-minus\pm±0.014 0.336±plus-or-minus\pm±0.011 0.345±plus-or-minus\pm±0.011 0.331±plus-or-minus\pm±0.011 0.355±plus-or-minus\pm±0.013 0.350±plus-or-minus\pm±0.013 0.351±plus-or-minus\pm±0.015
15 0.359±plus-or-minus\pm±0.015 0.358±plus-or-minus\pm±0.014 0.348±plus-or-minus\pm±0.014 0.340±plus-or-minus\pm±0.012 0.349±plus-or-minus\pm±0.013 0.337±plus-or-minus\pm±0.011 0.356±plus-or-minus\pm±0.013 0.353±plus-or-minus\pm±0.013 0.356±plus-or-minus\pm±0.014
20 0.359±plus-or-minus\pm±0.015 0.358±plus-or-minus\pm±0.014 0.352±plus-or-minus\pm±0.014 0.342±plus-or-minus\pm±0.011 0.350±plus-or-minus\pm±0.014 0.341±plus-or-minus\pm±0.012 0.356±plus-or-minus\pm±0.013 0.355±plus-or-minus\pm±0.013 0.357±plus-or-minus\pm±0.013
Default 5 0.541±plus-or-minus\pm±0.014 0.532±plus-or-minus\pm±0.013 0.501±plus-or-minus\pm±0.021 0.509±plus-or-minus\pm±0.022 0.512±plus-or-minus\pm±0.014 0.495±plus-or-minus\pm±0.019 0.532±plus-or-minus\pm±0.010 0.529±plus-or-minus\pm±0.012 0.534±plus-or-minus\pm±0.012
10 0.540±plus-or-minus\pm±0.012 0.535±plus-or-minus\pm±0.010 0.517±plus-or-minus\pm±0.015 0.515±plus-or-minus\pm±0.016 0.515±plus-or-minus\pm±0.013 0.504±plus-or-minus\pm±0.021 0.535±plus-or-minus\pm±0.009 0.534±plus-or-minus\pm±0.012 0.535±plus-or-minus\pm±0.011
15 0.536±plus-or-minus\pm±0.012 0.535±plus-or-minus\pm±0.011 0.524±plus-or-minus\pm±0.016 0.525±plus-or-minus\pm±0.018 0.523±plus-or-minus\pm±0.015 0.510±plus-or-minus\pm±0.015 0.535±plus-or-minus\pm±0.010 0.536±plus-or-minus\pm±0.011 0.536±plus-or-minus\pm±0.010
20 0.533±plus-or-minus\pm±0.011 0.537±plus-or-minus\pm±0.010 0.525±plus-or-minus\pm±0.012 0.525±plus-or-minus\pm±0.013 0.527±plus-or-minus\pm±0.014 0.514±plus-or-minus\pm±0.015 0.534±plus-or-minus\pm±0.012 0.536±plus-or-minus\pm±0.011 0.537±plus-or-minus\pm±0.010
Fraud 5 0.805±plus-or-minus\pm±0.031 0.794±plus-or-minus\pm±0.034 0.801±plus-or-minus\pm±0.026 0.798±plus-or-minus\pm±0.024 0.802±plus-or-minus\pm±0.030 0.786±plus-or-minus\pm±0.035 0.794±plus-or-minus\pm±0.027 0.793±plus-or-minus\pm±0.039 0.790±plus-or-minus\pm±0.034
10 0.808±plus-or-minus\pm±0.030 0.801±plus-or-minus\pm±0.033 0.798±plus-or-minus\pm±0.045 0.794±plus-or-minus\pm±0.026 0.793±plus-or-minus\pm±0.032 0.800±plus-or-minus\pm±0.029 0.803±plus-or-minus\pm±0.028 0.796±plus-or-minus\pm±0.037 0.805±plus-or-minus\pm±0.025
15 0.806±plus-or-minus\pm±0.032 0.801±plus-or-minus\pm±0.032 0.809±plus-or-minus\pm±0.030 0.806±plus-or-minus\pm±0.032 0.802±plus-or-minus\pm±0.035 0.804±plus-or-minus\pm±0.029 0.808±plus-or-minus\pm±0.025 0.797±plus-or-minus\pm±0.036 0.807±plus-or-minus\pm±0.028
20 0.801±plus-or-minus\pm±0.037 0.797±plus-or-minus\pm±0.045 0.797±plus-or-minus\pm±0.048 0.807±plus-or-minus\pm±0.026 0.808±plus-or-minus\pm±0.033 0.797±plus-or-minus\pm±0.035 0.793±plus-or-minus\pm±0.047 0.806±plus-or-minus\pm±0.033 0.804±plus-or-minus\pm±0.040
Table 7. The hypervolume (HV) performance (mean±plus-or-minus\pm±std) of the Pareto front for different methods on test set of each problem. Higher HV is better. SpectralRules is employed in Stage 1 to produce the initial 500 rules. The maximum round running of PORS is set to 30 to avoid early stop**, i.e., each experiment trial fully completed 30 iterations.
Dataset k hvc-ss hv-ss igd-ss igd+-ss k-med.-pr k-med.-j. equi-j. equi-spaced equi-dist
Bank 5 47.36±plus-or-minus\pm±2.00 47.36±plus-or-minus\pm±2.00 46.71±plus-or-minus\pm±0.80 47.09±plus-or-minus\pm±2.13 44.85±plus-or-minus\pm±0.94 59.33±plus-or-minus\pm±3.25 48.10±plus-or-minus\pm±4.76 44.02±plus-or-minus\pm±1.68 44.65±plus-or-minus\pm±1.73
10 64.27±plus-or-minus\pm±4.08 53.61±plus-or-minus\pm±3.08 57.44±plus-or-minus\pm±2.16 58.02±plus-or-minus\pm±2.95 53.62±plus-or-minus\pm±3.05 73.65±plus-or-minus\pm±2.70 65.63±plus-or-minus\pm±2.55 52.64±plus-or-minus\pm±2.19 52.21±plus-or-minus\pm±2.59
15 83.45±plus-or-minus\pm±4.23 57.56±plus-or-minus\pm±1.82 69.57±plus-or-minus\pm±4.38 66.63±plus-or-minus\pm±3.65 60.31±plus-or-minus\pm±3.89 93.31±plus-or-minus\pm±3.93 73.08±plus-or-minus\pm±1.16 55.72±plus-or-minus\pm±1.29 56.26±plus-or-minus\pm±2.15
20 113.47±plus-or-minus\pm±4.22 62.71±plus-or-minus\pm±1.11 80.73±plus-or-minus\pm±4.80 75.91±plus-or-minus\pm±1.23 62.19±plus-or-minus\pm±2.07 110.80±plus-or-minus\pm±4.50 81.95±plus-or-minus\pm±4.08 62.28±plus-or-minus\pm±2.74 61.53±plus-or-minus\pm±2.47
Credit 5 57.45±plus-or-minus\pm±6.17 48.92±plus-or-minus\pm±5.83 58.95±plus-or-minus\pm±6.63 49.92±plus-or-minus\pm±2.17 48.03±plus-or-minus\pm±3.61 125.73±plus-or-minus\pm±15.02 68.48±plus-or-minus\pm±5.81 45.31±plus-or-minus\pm±1.19 48.92±plus-or-minus\pm±3.68
10 93.31±plus-or-minus\pm±9.57 63.53±plus-or-minus\pm±4.56 90.76±plus-or-minus\pm±6.50 73.82±plus-or-minus\pm±4.17 61.64±plus-or-minus\pm±4.28 238.02±plus-or-minus\pm±25.20 121.91±plus-or-minus\pm±12.10 57.66±plus-or-minus\pm±3.41 61.02±plus-or-minus\pm±8.11
15 140.18±plus-or-minus\pm±10.64 70.92±plus-or-minus\pm±4.03 121.71±plus-or-minus\pm±12.48 93.68±plus-or-minus\pm±2.77 68.72±plus-or-minus\pm±4.27 350.31±plus-or-minus\pm±22.91 161.11±plus-or-minus\pm±8.78 66.79±plus-or-minus\pm±2.86 71.79±plus-or-minus\pm±11.58
20 185.67±plus-or-minus\pm±8.33 81.91±plus-or-minus\pm±8.87 164.50±plus-or-minus\pm±13.35 119.50±plus-or-minus\pm±8.09 74.65±plus-or-minus\pm±4.09 512.19±plus-or-minus\pm±48.05 196.48±plus-or-minus\pm±18.93 76.58±plus-or-minus\pm±3.32 79.19±plus-or-minus\pm±7.05
Default 5 49.19±plus-or-minus\pm±2.19 43.57±plus-or-minus\pm±2.35 49.69±plus-or-minus\pm±2.29 47.44±plus-or-minus\pm±1.78 41.26±plus-or-minus\pm±1.07 53.80±plus-or-minus\pm±3.85 57.73±plus-or-minus\pm±2.32 41.82±plus-or-minus\pm±1.03 43.08±plus-or-minus\pm±1.74
10 71.33±plus-or-minus\pm±4.34 54.12±plus-or-minus\pm±5.40 66.04±plus-or-minus\pm±4.95 63.25±plus-or-minus\pm±3.70 49.20±plus-or-minus\pm±3.36 71.20±plus-or-minus\pm±2.21 79.19±plus-or-minus\pm±3.06 51.53±plus-or-minus\pm±2.41 49.99±plus-or-minus\pm±1.75
15 99.13±plus-or-minus\pm±3.36 60.22±plus-or-minus\pm±4.73 80.24±plus-or-minus\pm±1.89 79.72±plus-or-minus\pm±6.15 54.43±plus-or-minus\pm±2.38 93.06±plus-or-minus\pm±6.31 96.18±plus-or-minus\pm±4.66 56.71±plus-or-minus\pm±2.01 55.31±plus-or-minus\pm±1.72
20 133.09±plus-or-minus\pm±10.86 67.49±plus-or-minus\pm±5.00 101.47±plus-or-minus\pm±2.29 98.13±plus-or-minus\pm±3.53 61.73±plus-or-minus\pm±3.17 116.56±plus-or-minus\pm±4.28 113.25±plus-or-minus\pm±5.85 61.16±plus-or-minus\pm±1.81 61.50±plus-or-minus\pm±1.45
Fraud 5 40.42±plus-or-minus\pm±0.16 40.81±plus-or-minus\pm±1.03 41.35±plus-or-minus\pm±1.05 42.23±plus-or-minus\pm±0.81 41.15±plus-or-minus\pm±0.55 61.24±plus-or-minus\pm±1.63 42.40±plus-or-minus\pm±0.52 42.23±plus-or-minus\pm±0.54 42.20±plus-or-minus\pm±0.55
10 45.75±plus-or-minus\pm±1.00 45.62±plus-or-minus\pm±1.14 46.94±plus-or-minus\pm±0.74 47.88±plus-or-minus\pm±1.52 46.68±plus-or-minus\pm±0.81 74.92±plus-or-minus\pm±1.87 48.86±plus-or-minus\pm±1.23 47.35±plus-or-minus\pm±1.36 47.44±plus-or-minus\pm±1.85
15 50.88±plus-or-minus\pm±0.84 50.06±plus-or-minus\pm±0.43 51.90±plus-or-minus\pm±1.41 52.43±plus-or-minus\pm±0.80 50.34±plus-or-minus\pm±0.52 87.41±plus-or-minus\pm±2.18 51.62±plus-or-minus\pm±1.31 50.27±plus-or-minus\pm±0.31 50.49±plus-or-minus\pm±0.91
20 56.71±plus-or-minus\pm±2.46 53.91±plus-or-minus\pm±0.63 55.59±plus-or-minus\pm±1.22 56.99±plus-or-minus\pm±0.99 54.65±plus-or-minus\pm±0.68 100.30±plus-or-minus\pm±1.85 55.06±plus-or-minus\pm±1.58 54.12±plus-or-minus\pm±0.58 53.56±plus-or-minus\pm±0.41
Table 8. The running time in seconds (mean±plus-or-minus\pm±std) for different methods on test set of each problem. SpectralRules is employed in Stage 1 to produce the initial 500 rules. The maximum round running of PORS is set to 30 to avoid early stop**, i.e., each experiment trial fully completed 30 iterations.

Appendix A Impact of Different Values of k𝑘kitalic_k

To further evaluate the impact of different values of k𝑘kitalic_k on PORS with different SSF methods, including running time and HV, we set k𝑘kitalic_k to 5, 10, 15, 20 respectively and apply those 9 PORS algorithms on the 4 public datasets. According to previous sections, SpectralRules is employed in Stage 1 and the maximum round running of PORS is set to 30 to avoid early stop**, i.e., each experiment trial fully completed 30 iterations. All experiments are repeated 5 times.

Table 7 shows the HV results on test set of different PORS algorithms for each k𝑘kitalic_k. Once again, we observe that PORS with hvc-ss as its SSF method achieves the highest HV on most cases. For all SSF methods, a larger value of k𝑘kitalic_k usually leads to a higher HV as expected. However, once the k𝑘kitalic_k exceeds 10, we observe the standard diminishing returns phenomenon between k𝑘kitalic_k and HV.

The running time of PORS is positively correlated to the value of k𝑘kitalic_k as shown in Table 8. Considering the trade-off between performance and efficiency, we recommend using k=10𝑘10k=10italic_k = 10 in practice.