FAST: An Optimization Framework for Fast Additive Segmentation in Transparent ML
산업용 섬유 · (8) HDPE 섬유(FORPE)
기본 정보
- 저자
- DOI
- 10.1145/3637528.3671996
- 저널
- –
- 발행년도
- 2024
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1145/3637528.3671996
- 토픽
- Advancements in Photolithography Techniques
- OpenAlex ID
- W4401863476
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (8) HDPE 섬유(FORPE)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > HDPE 섬유(FORPE)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 39,913자
본문 펼치기
섹션 본문 93문단 · 37,903자
(제목 없음)
1We present FAST, an optimization framework for fast additive segmentation.FAST segments piecewise constant shape functions for each feature in a dataset to produce transparent additive models.The framework leverages a novel optimization procedure to fit these models ∼2 orders of magnitude faster than existing state-of-the-art methods, such as explainable boosting machines[20].We also develop new feature selection algorithms in the FAST framework to fit parsimonious models that perform well.Through experiments and case studies, we show that FAST improves the computational efficiency and interpretability of additive models.
INTRODUCTION
2Additive models are popular in machine learning for balancing a high degree of explainability with good predictive performance [2,3].These models, when fit on a dataset with features, take the form =1 ( ).Each additive component is the shape function of feature , and since the contribution of each feature can be readily observed from its shape function, additive models are said to be inherently transparent.One such additive model, explainable boosting machines (EBMs), combines this inherent transparency with the powerful predictive performance of tree ensembles [20].EBMs use single-feature decision trees, fit via a cyclic boosting heuristic, to construct shape functions.As such, the shape functions built are piecewise constant, a departure from classical and popular smooth components such as those based on polynomials or splines [7].Using piecewise constant shape functions, EBMs can capture discontinuities in the underlying data, patterns that are unobserved by smooth additive models and which often have realworld significance [2,14].EBMs have also been shown to match the predictive performance of black box methods in various applications while preserving model transparency [3].Due to these advantages, EBMs are rapidly becoming ubiquitous in high-stakes applications of ML, such as criminal justice [3] and healthcare [2], where model explainability is critical.
3Inspired by the success of EBMs, and stemming from a reinterpretation of the method, we propose an alternative, FAST.FAST is a formal optimization-based procedure to fit piecewise constant additive models (PCAMs).Both methods construct piecewise constant shape functions, but FAST does so by minimizing a regularized optimization objective while EBMs use a cyclic boosting heuristic.
4Moreover, the main goal of FAST is to address the limitations of EBMs that result from this cyclic boosting heuristic.Starting from the null model, EBMs are fit by cycling round-robin over the features and building single-feature decision trees on the boosted residuals, which are dampened by a learning rate.To ensure that the ordering of the features is irrelevant, this learning rate must be kept small.As a result, many cyclic boosting iterations and trees are required to fit an EBM that performs well.This increases the complexity and computational cost of the algorithm and consequently, EBMs struggle to scale for larger datasets.As a motivating example, consider the UK Black Smoke dataset (9 million rows and 14 columns) used by [30] to test the computational feasibility of splines.It takes the InterpretML package [20] nearly 4 hours to fit an EBM using the default hyperparameters, which are optimized for computation time.FAST, on the other hand, leverages a specialized greedy optimization algorithm to fit a PCAM that performs the same in terms of accuracy in under 1 minute.The cyclic heuristic used to fit EBMs also produces feature-dense models by design.This may harm interpretability since an EBM fit on a high dimensional dataset ( > 50 features) will contain too many shape functions for a practitioner to explain.FAST introduces two novel feature selection algorithms to remedy this, and these new methods outperform existing feature-sparse PCAM algorithms by up to a 30% reduction in test error.We summarize the contributions of our paper below.
5Main Contributions • We introduce FAST, an efficient optimization framework to fit PCAMs that supports feature sparsity.• FAST uses a novel procedure to improve computational efficiency.
6To solve optimization problems in FAST, we apply a computationally cheap greedy block selection rule to an implicit reformulation of our original problem in order to guide a block coordinate descent algorithm.This procedure can fit PCAMs 2 orders of magnitude faster than existing SOTA methods.• We introduce 2 new feature selection algorithms to build sparse PCAMs, an iterative algorithm that relies on our greedy block selection rule and a group ℓ 0 -regularized optimization algorithm.• We investigate how correlated features impact feature selection and shape functions in PCAMs and discuss implications for model trustworthiness.
7We first discuss the advantages of PCAMs over smooth additive models and overview existing algorithms to build PCAMs.Following these preliminaries, we introduce the FAST optimization framework ( §2) and present its novelties: the greedy optimization procedure used to accelerate computation ( §3) and the feature selection algorithms used to support feature sparsity ( §4).
Why PCAMs?
8Compared to smooth additive models such as splines, PCAMs have the advantage that they are able to capture discontinuities in the Supplementary Material: github.com/brianliu12437/FAST_segmentationarXiv:2402.12630v2[stat.ML] 30 Jul 2025 shape functions.These discontinuities can reveal interesting insights about the underlying data.Consider the example shown in Figure 1.The scatterplot shows the daily number of car accidents in New York City over a 12-year period and there is a large jump discontinuity in early 2020 due to the COVID-19 pandemic [23].This discontinuity is captured by the shape function from a PCAM (in blue) but is interpolated and obscured by the smoothing spline (in orange).The discontinuities observed in PCAM shape functions have been used to uncover hidden patterns in mortality risk models for ICU patients [14] and patients with pneumonia [2].These patterns would have been difficult to detect with smooth additive models or black-box methods.PCAMs also have the advantage that fitted piecewise constant shape functions can be represented by a set of breakpoints.As a result, fitted PCAMs are straightforward to productionize and can be hard-coded into any language with conditional statements (e.g.SQL).Finally, PCAM predictions only require lookups and addition so PCAMs are extremely fast at inference [20].
Existing PCAM Algorithms:
9As mentioned earlier, EBMs use single-feature decision trees, fit via a cyclic boosting heuristic, to build PCAMs [18].EBMs are interpretable and perform well, but are slow to train and feature-dense by design [20].Besides EBMs, various methods have been used to construct PCAMs.Additive isotonic models use isotonic regression with backfitting to build PCAMs with monotonic shape functions [1].Spline-based frameworks can also fit PCAMs using zero-degree splines [27].More recently, the fused LASSO has been used to fit PCAMs via ADMM [4] or cyclic block coordinate descent [25].The latter approach is better known as the fused LASSO additive model (FLAM) and is considered a SOTA algorithm for building PCAMs.As such, we primarily compare FAST against FLAMs and EBMs for fitting feature-dense PCAMs.
FAST OPTIMIZATION FRAMEWORK
10We introduce FAST and outline the optimization algorithm used to solve problems in our framework.More importantly, we motivate why our greedy optimization procedure ( §3) improves efficiency.
11Given data matrix ∈ R × and target vector ∈ R , our goal is to fit additive model =1 ( ), where each shape function is piecewise constant.To accomplish this, we introduce a decision variable for each entry in .These decision variables are grouped into decision vectors ∈ R for ∈ [], where each decision vector represents the block of decision variables that correspond to feature .The decision variables in are ordered with respect to the sorted values of and the sum of decision vectors gives the prediction of our model.We fit this prediction to and recover shape functions from the fitted decision vectors * .
Optimization Problem
12Let denote the set of decision vectors { 1 . . . }.FAST minimizes the objective (, ) + () to fit PCAMs, where is a loss function that captures data fidelity and is a segmentation penalty that encourages piecewise constant segmentation in the fitted decision vectors.The optimization problem can be written as:
13The first term in the objective is quadratic loss, where ∈ {0, 1} × is the square sorting matrix for feature .In other words, returns the elements of sorted in ascending order and ⊺ ( ) = .Since each decision vector is ordered with respect to the sorted values of , =1 ⊺ gives the prediction of our model.The second term in the objective is the fused LASSO segmentation penalty, where is the parameter that controls the number of piecewise constant segments in the shape functions.Higher values of result in less flexible shape functions with fewer segments.Matrix ∈ {−1, 0, 1} (−1) × is the differencing matrix, where returns a vector of the successive differences of .
14Problem 1 fits feature-dense PCAMs.An optional group sparsity constraint can applied over the blocks to select features and we discuss this further in §4.
Optimization Algorithm
15Problem 1 is convex and separable over blocks ; we develop a block coordinate descent (BCD) algorithm to solve this problem to optimality.Our algorithm has two components: block selections and block updates, and starting with all blocks = 0 we alternate between the two until convergence.
16Block Updates: It is critical to note that block updates in FAST are expensive.For a selected block , let = {1 . . .} \ and define residual vector = − ∈ ⊺ .Each block update solves:
17which is equivalent to a fused LASSO signal approximation (FLSA) problem on .These FLSA problems are solved using dynamic programming [12] which is computationally expensive.Block Selections: Since block updates are expensive, improving the efficiency of our BCD algorithm relies on reducing the number of block updates that we conduct.To do so, we try to select the block that makes the most progress towards the optimal solution in each BCD iteration.Other selection rules, such as cyclic or randomized selection [22], bottleneck BCD with unnecessary updates.
18We also must select blocks cheaply since block selection would be ineffective if the cost of selecting the best block to update is similar to the cost of updating all blocks.One novelty in FAST is that we develop a greedy optimization procedure to select blocks extremely efficiently.We present this procedure below.
19Our greedy optimization procedure hinges on the fact that we can transform Problem 1 into an equivalent LASSO problem with rows and ( − 1) variables.While many LASSO algorithms exist [6], it is infeasible to solve this problem directly since there are too many variables when is large and the variables are heavily correlated by design [26].Rather, we use this LASSO reformulated problem to guide block selection when we apply BCD to Problem 1.
20Importantly, we exploit the structure of the design matrix in our LASSO reformulation to derive an extremely efficient block selection rule.In fact, our block selection rule only requires an implicit LASSO reformulation of the original problem (Problem 1), where the design matrix is not explicitly constructed.This is crucial since constructing the design matrix requires a space complexity of ( 2 ), which is infeasible for large data.For example, the design matrix for the UK Black Smoke problem (9 million rows and 14 columns) mentioned in the introduction would take over 10 9 TB of memory if explicitly constructed.
We define a new set of decision vectors 𝜃
21where each vector contains the successive differences of vector .Let ∈ {0, 1} × (−1) be a padded lower triangular matrix with zeros in the first row.We first reformulate Problem 1 as:
22Let ∈ R (−1) represent the decision vectors { 1 . . . } vertically stacked.Let ′ ∈ {0, 1} × (−1) be the matrix formed by stacking submatrices times along the main diagonal.Let ⊺ ∈ {0, 1} × be the matrix formed by stacking { ⊺ 1 . . . ⊺ } along the main diagonal.Finally, let ∈ {0, 1} × be the matrix formed by stacking identity matrices of dimension × horizontally.We show a visualization of these matrices in the appendix (suppl.A).Problem 3 and Problem 1 are equivalent to: min
23which is a block-separable LASSO problem with design matrix ⊺ ′ ∈ R × (−1) .We show in the next section that we do not need to construct this matrix for our greedy selection rule.
Block Selection Rule (BGS rule)
24Since Problem 4 is an equivalent LASSO reformulation of Problem 1, we use this reformulation to select which blocks to update when performing BCD on Problem 1.For each BCD iteration, we apply a block Gauss Southwell (BGS) greedy selection rule to Problem 4 to select the next block to update.BGS selection has been shown in theory and in practice to make more progress per iteration than cyclic or random selection [5,21], however, on many problems, BGS selection is prohibitively expensive [22].One critical aspect of our procedure is that we exploit problem structure to develop a BGS steepest direction (BGS-s) rule that is cheap to compute.
25Let
26For BGS-s selection, we first compute vector ∈ R which stores the magnitude of the most negative directional derivative for each coordinate.This vector is defined coordinate-wise by
27where is the soft-thresholding operator.Let ∈ R represent the elements in vector associated with block .We select the best block * to update via:
28Equations 5 and 6 form our BGS selection rule, which is computationally bottlenecked by the cost of computing the full gradient ∇ ( ).The LASSO design matrix ⊺ ′ is also only used to compute this gradient.Below, we show how to efficiently compute gradient ∇ ( ) without forming the LASSO design matrix.
29Fast Gradient Procedure: We have that ∇ ( ) = − ′ ⊺ ⊺ ′ , where ′ = − ⊺ ′ .Since our algorithm is zero-initialized, we can store ′ and update the residual vector at each BCD iteration to avoid multiplying the design matrix with .Matrix ⊺ consists of identity matrices stacked vertically which makes the gradient expression block-separable.For a fixed block ∈ [], we have that ∇ ( ) = − ⊺ ′ , where is the sorting matrix for feature .The matrix ⊺ is a padded upper triangular matrix, so computing the gradient for block simply involves ordering ′ with respect to the sorted values of and taking a rolling sum down the ordered vector, which is extremely efficient.Computing the full gradient can be embarrassingly parallelized across blocks.
30With this procedure, our BGS-s selection rule is efficient, parallelizable, and can be computed without constructing the LASSO design matrix.Below, we formalize our greedy block coordinate descent (GBCD) algorithm and analyze its convergence properties.
BGS-GBCD Algorithm
31To solve Problem 1, we use the following GBCD algorithm.Start with = 0 for all blocks ∈ [] and repeat until convergence: apply our BGS selection rule to Problem 4 (LASSO reformulation) to select a block to update and solve Problem 2 (original block update problem) with dynamic programming to update the block.This returns a sequence of solutions that correspond to a sequence of decreasing objective values.
Convergence Analysis.
32The sequence of solutions returned by BGS-GBCD converges to the minimizer for Problems 1 and 4.More generally, we show that BGS-GBCD converges to optimality when applied to block-separable LASSO problems.We prove the next proposition in the appendix (suppl.B.1).
33where is convex and coordinate-wise L-smooth and is both block and coordinate separable, every limit point of BGS-GBCD coincides with a minimizer for ( ).Any sequence of solutions generated by BGS-GBCD converges to a limit/minimum point.
34We prove for the first time that greedy block coordinate descent using block Gauss-Southwell-s selection converges to the minimum point when applied to ℓ 1 -composite problems.We also show that under certain conditions, BGS-GBCD updates make provably good progress towards the minimum.Proposition 2 states a property that we exploit in §4 when developing feature selection algorithms.Proposition 2. If block = 0 is selected via the BGS rule, the progress after one GBCD update is bound by:
35where snorm() sums the ℓ 2 -norm of each block in .
36Each block in our optimization problem corresponds to a feature; gives the contribution of feature to the additive model.Proposition 2 states that when the BGS rule is used to select a feature (block) to enter the support, the corresponding block update makes substantial progress towards the minimum.The proof for this proposition is also in the appendix (suppl.B.2).
Discussion
37In most LASSO problems, greedy selection offers little advantage over cyclic selection since the computational cost of selecting the block with the steepest directional derivatives is similar to the cost of updating all of the blocks [31].Greedy BCD is effective in FAST, however, since block selections, which involve embarrassingly parallel summations are much cheaper than block updates, which require expensive dynamic programming calls.
38We observe that BGS-GBCD greatly reduces the number of dynamic programming block updates (Problem 2) required to solve Problem 1, compared to cyclic block selection.For example, in Fig- ure 2, we use greedy and cyclic BCD to fit FAST on the Elevators dataset [29].The horizontal axis shows the number of dynamic programming block updates (log10) and the vertical axis shows training loss.We observe that BGS-GBCD requires nearly 100× fewer updates to converge.This corresponds to substantial computational speedups, which we show in our experiments in §5.1.
Binning
39FAST can also incorporate binning, a popular heuristic used by EBMs [20] and LightGBMs [13], to reduce computation time for a nominal cost in model expressiveness.FAST performs binning using a novel equivalent optimization formulation while existing methods, such as EBMs, pre-process the data.Given a set of bins for each feature , we add the constraints for all entries ( 1 , 2 ) ∈ [] that if entries ( ) 1 and ( ) 2 fall in the same bin, then ( ) 1 = ( ) 2 .We show in the appendix (suppl.C) that we can reformulate these constraints into a weighted smooth loss function in the objective and efficiently solve this unconstrained problem with BGS-GBCD.Binning directly reduces the number of decision variables in FAST by a factor of # bins over # rows and combining BGS-GBCD with binning further reduces computation time.
FEATURE-SPARSE FAST
40Our FAST framework is quite flexible; here we discuss an extension of the framework to explicitly account for variable selection.We add this group sparsity constraint to Problem 1:
41where is the maximum number of features to select.Problem 1 with this constraint is NP-hard and difficult to solve to optimality due to the large number of variables; we have a variable for each entry of .As such, we develop two approximate algorithms to find good solutions.These algorithms have different strengths in terms of solution quality and runtime, but both algorithms rely on the BGS rule presented in §3.2 and the fact that BGS selection makes provably good progress when selecting features to enter the support (Prop.2).
Approximate Greedy Iterative Selection
42For Approximate Greedy Iterative Selection (AGIS), we partition the blocks into the support = { ∈ [] | ≠ 0} and complement and start with all blocks equal to 0. We use the BGS rule to select the best block ∈ to update and we perform a block update by solving Problem 2 to add into .If | | > 1, we iterative through the blocks in and conduct block updates until convergences.We repeat this procedure, interlacing BGS selection with sweeps on the support until the condition | | = is reached.AGIS returns a sequence of PCAMs with every feature sparsity level from 1 . . ..To improve solution quality across all sparsity levels we apply this local search heuristic.
BGS Local Search:
43After each sweep of converges, use the BGS rule to select the best block to update in and denote that block * .This is the block that we will swap into the support.To find the best block to swap out of the support, iterate over ∈ .For each block, set = 0 and conduct a block update on * , and select the block in that when swapped improves the objective the most.After this swap, conduct another sweep over until convergence to obtain the final solution.We present our full AGIS algorithm, with local search, in Algorithm 1.
Group ℓ 0 -FAST
44In addition to AGIS, we can use a group ℓ 0 -sparsity penalty to select features in FAST.This approach often obtains better solutions at the cost of increased computation time, which we discuss in §5.2.
Algorithm 1: AGIS
45Use BGS rule to select ∈ .
46where is the sparsity hyperparameter.The group sparsity penalty is block-separable over so we can apply BCD methods to find good solutions to this problem.Given fixed block and residual vector , we can write each block update problem as:
47This problem can be solved by first setting = 0 and solving the FLSA for * .We then check the thresholding condition:
48and set * = 0 if the condition is satisfied.We show the derivation for this in the appendix (suppl.D).
49Since the group sparsity penalty is not continuous, it is not clear if BGS-GBCD can be extended here.To find high-quality solutions to Problem 7, we use cyclic block coordinate descent and apply our BGS local search heuristic ( §4.1.1)when CBCD converges.We interlace CBCD sweeps with local search steps until the objective no longer improves.
Discussion
50We show an example of the impact of local search on solution quality and discuss the strengths and weaknesses of both group ℓ 0 -FAST and AGIS.
Local Search Performance.
51We observe empirically that our BGS local search heuristic improves the out-of-sample performance of both feature selection algorithms.For example, in Figure 3, we use group ℓ 0 -FAST and AGIS to build feature-sparse PCAMs on the Elevators dataset (16500 rows and 16 columns) [29].We vary , the sparsity budget in the model from 1 to 10, and compare the test performance of the model measured via MSE.For both methods, the local search heuristic improves performance.4.3.2Group ℓ 0 -FAST vs. AGIS.In our experiments in §5.2, we observe that group ℓ 0 -FAST generally outperforms AGIS at building sparse PCAMs.AGIS, however, is computationally faster since the algorithm can leverage greedy block selection.Fitting group ℓ 0 -FAST requires CBCD updates due to the non-convexity of the group sparsity penalty.In addition, AGIS is easier to use since the algorithm by design outputs a sequence of PCAMs with with every support size from 1 to .The sparsity hyperparameter in group ℓ 0 -FAST must be tuned and the algorithm may skip certain support sizes due to non-convexity [9].
EXPERIMENTS
52We evaluate the computation time of FAST against existing algorithms and assess how well the framework performs at building feature-sparse PCAMs.
Computation Time Experiment
53We compare the computation time of FAST against existing SOTA algorithms for building feature-dense PCAMs: EBMs and FLAMs.
Experimental
54Procedure.On 10 large regression benchmark datasets from OpenML [29], we use FAST, EBM, and FLAM to fit PCAMs.For the competing methods, we use the InterpretML package [20] to fit EBMs in Python and the FLAM package in R [24].We use the default hyperparameters for InterpretML EBMs, which are optimized for fast runtime.For FLAM, we match the fusion hyperparameter with the value used in FAST.The test errors of the models fit using the 3 methods, under these configurations, are comparable (as intended).We conduct this experiment on a M2 Macbook Pro with 10 cores and match the number of cores used in the methods that support multiprocessing (FAST and EBMs).Additional details can be found in the appendix (suppl.E).
Results
55. Table 1 shows the results of our experiment.The leftmost column shows dataset names and dimensions: (, ).In each cell in the other columns, the top entry shows the computation time of the method averaged over runs along with the standard deviation.The bottom entry shows the test MSE of the model.The top 5 rows of this table show timing results on large datasets with more than 500000 rows.On these datasets, we are unable to apply FLAM due to problem scale so we compare FAST against EBMs.We observe that FAST fits PCAMs up to 2 orders of magnitude faster than EBMs.For example on an augmented version of the UK Black Smoke dataset, with 9 million rows and 41 columns, it takes over 15 hours to fit an EBM.FAST on the other hand can fit a PCAM that performs the same in around 5 minutes.The bottom 5 rows of Table 1 show results on large datasets with more than 50 columns, but less than 50,000 rows.We observe here that FAST fits PCAMs 2 orders of magnitude faster than FLAM and around 1 order of magnitude faster than EBMs.For example on the Slice Localization dataset, with over 300 columns, it takes nearly 15 minutes to fit a FLAM.FAST can fit a PCAM that performs the same in under 10 seconds.
56In all, we find that FAST substantially outperforms EBMs and FLAMs in terms of computation time across various large problems.Training Time (seconds)
57Figure 4: FAST can fit low optimization tolerance models that perform well extremely quickly.
Low Optimization Tolerance Models.
58As an aside, we note that we can leverage our greedy BCD algorithm to fit FAST with low optimization tolerances, in order to quickly produce a PCAM that still performs well out-of-sample.In Figure 4, we show the test error of FAST (vertical axes) plotted against the training time in seconds (horizontal axes) for the UK Black Smoke and Auto Horsepower [29] datasets.We vary the training time of FAST by early-stopping the optimization algorithm after a fixed number of iterations, the first 5 GBCD iterations are plotted in red.In both examples, the first 5 iterations greatly reduce the test error of the model.For the UK Black Smoke dataset, FAST can fit a low optimization tolerance model that performs well in less than 10 seconds.
Feature Selection Experiment
59Here we evaluate how well FAST performs at building featuresparse PCAMs.
Experimental Setup.
60We repeat this procedure on 20 regression datasets from OpenML and use a 10-fold CV on each dataset.
61The full list of datasets can be found in the appendix (suppl.E).On the training folds, we use group ℓ 0 -FAST and AGIS to fit featuresparse PCAMs by varying the sparsity budget ∈ {2, 4, 6, 8, 10}.
62We evaluate the MSE of each sparse model on the test fold.
63We compare the performance of these models against the following SOTA algorithms to construct feature-sparse PCAMs.
64• FLAM-GL (2016): In FLAM group LASSO [25], we fit a FLAM with a group LASSO penalty over the features.We tune the sparsity hyperparameter such that at most features are selected.• EBM-RS (2019): In EBM rank and select [20], we first fit an EBM on the training data and rank the features by importance scores; the contribution of each feature averaged over the training observations.We select the top features and refit an EBM.This method is computationally expensive since it fits two PCAMs.• ControlBurn (2021): ControlBurn [15] is a flexible framework for building feature-sparse nonlinear models.The feature selection algorithm in the framework first constructs a specialized tree ensemble that is diverse, where each tree in the ensemble uses a different subset of features.Then, the weighted LASSO is used to select feature-sparse subsets of trees that perform well.
65We refit the final model, in this case, an EBM, on the selected features.ControlBurn with an EBM has been used to construct high-performing, feature-sparse PCAMs for heart failure prediction in clinical machine learning [28].• FastSparseGAM (2022): FastSparseGAM [16] is a package for sparse regression built on top of the L0Learn framework [9,10].The package can be adapted to construct extremely sparse PCAMs by one-hot encoding the features and selecting a small subset of the resulting components [17].
66We also compare feature-sparse FAST against two traditional algorithms that produce non-piecewise constant additive models, Sparse Additive Models (SAM), which uses the group LASSO to sparsify splines, and the linear LASSO.Additional details on our experimental procedure can be found in the appendix (suppl.E). 5).Positive values indicate that feature-sparse FAST outperforms the competing algorithm.In each cell, the top value shows group ℓ 0 -FAST and the bottom value shows AGIS.
67folds in our experiment.In Figure 5, we show the full distributions of our results.In each plot, the horizontal axis shows the sparsity budget and the vertical axis shows the percent decrease in test error between feature-sparse FAST and the competing algorithm; the left plot shows group ℓ 0 -FAST and the right plot shows AGIS.The grouped violin plots show the distribution of the results for each sparsity budget and the averages of each distribution are marked by horizontal lines, which correspond to the averages in Table 2.
68From Figure 5, we see that group ℓ 0 -FAST and AGIS largely outperform all of our competing algorithms.The distributions of the percent decrease in test error between these two methods and our competing algorithms are nearly entirely positive across all sparsity budgets.We also observe that group ℓ 0 -FAST consistently performs slightly better than AGIS.In Table 2, the average percent decrease in test error for group ℓ 0 -FAST (top value) is always higher than that for AGIS (bottom value).However, as discussed in §4.3.2,AGIS also has several advantages in terms of speed and ease of use.
69For sparsity budget = 2, group ℓ 0 -FAST attains a 28% decrease in test error compared to the best competing algorithm, Control-Burn.Interestingly, the performance of ControlBurn degrades as increases.This is because the framework selects features independently of the final EBM that is refitted [15].While ControlBurn is useful for selecting a few important features, our results show that the framework fails at building sparse PCAMs for larger values of .For ∈ {4, 6, 8, 10}, group ℓ 0 -FAST attains up to a 30% decrease in test error compared to the best competing algorithm, EBM-RS.In all, we observe that group ℓ 0 -FAST consistently outperforms the best competing algorithm across all sparsities.
70In addition, feature-sparse FAST substantially outperforms FLAM-GL and FastSparseGAM, by over a 100% decrease in test error for some sparsities.FLAM-GL is affected by over-shrinkage from the group LASSO, which is especially pronounced since the FLAM formulation uses a large number of variables.The ℓ 0 -based penalties and constraints in feature-sparse FAST are shrinkage-free and robust to this effect.FastSparseGAM indirectly selects features by sparsifying piecewise segments in the additive model [17].Featuresparse FAST, on the other hand, directly accounts for feature sparsity in the optimization framework and outperforms this competing method.We also note that feature-sparse FAST substantially outperforms our competing algorithms that do not fit PCAMs: SAM, which also uses the group LASSO, and the linear LASSO.
71Finally, we observe that many distributions in Figure 5 have heavy positive tails, notably for the EBM-RS, FLAM-GL, and Con-trolBurn competing algorithms.These heavy tails typically contain the results from datasets with correlated features; we show correlation matrices and the distribution of errors in the appendix (suppl.F).In §6.1, we show through a semi-synthetic experiment that correlated features degrade the performance of EBM-RS, FLAM-GL, and ControlBurn.Group ℓ 0 -FAST and AGIS, on the other hand, can effectively build sparse PCAMs regardless of feature correlations.
72We conclude by investigating how correlated features impact the interpretability of PCAMs.
Correlated Feature Selection
73We present here a semi-synthetic example to investigate how correlated features affect our feature selection experiment ( §5.2).We start with the Houses dataset [29] and build feature-sparse PCAMs using FAST, EBM-RS, FLAM-GL, and ControlBurn by varying sparsity budget .The top left plot in Figure 6 shows the test performance of these sparse models.We then add 3, 6, and 9 correlated features to the data.As the other plots in Figure 6 show, the performances of EBM-RS, Control-Burn, and FLAM-GL degrade significantly with added correlations but the performances of group ℓ 0 -FAST and AGIS remain unaffected.
74EBM feature importance scores capture the contribution of each feature to the prediction of the model, averaged over all training observations.Given a pair of highly correlated features, the cyclic round-robin algorithm used to fit EBMs will split the contribution of the features evenly between the pair.As such, the average feature importance score/ranking of a group of correlated features will be suppressed, which degrades the performance of EBM-RS.This effect is analogous to the so-called correlation bias observed in random forest feature rankings by the ControlBurn paper [15].
75ControlBurn attempts to address correlation bias by using the weighted LASSO to select features and we indeed observe in Figure 6 that the algorithm is more robust than EBM-RS to added correlations.However, the LASSO penalty used in ControlBurn still imparts shrinkage which biases sparse selection in the presence of multicollinearity [8,11,19].Additionally, the group LASSO penalty in FLAM-GL is known to suffer from over-shrinkage and performs even worse at selecting sparse subsets of correlated groups [11].The penalties and constraints used to select features in FAST are shrinkage-free and, as a result, our algorithms are unaffected by the added correlated features.
Identifying Discontinuities
76One attractive property of PCAMs is their ability to capture discontinuous patterns in the underlying data.Here, we present a case study to demonstrate how correlated features can degrade the ability of EBMs to identify discontinuities.
77We use the Houses [29] dataset to build PCAMs to predict house prices using demographic features.Unsurprisingly, there is a nearly linear relationship between the median income of a district and the price of homes in that district.We add the following artificial discontinuity to the data: for all districts with a median income above $40,000 a year, we drop the price of homes by $20,000.We then fit feature-dense PCAMs using FAST and EBMs.Both methods capture the discontinuity in the shape function for median income, as shown in the left two plots in Figure 7. Next, we add 10 synthetic features that are correlated with median income and refit.
78The right two plots in Figure 7 show the new shape functions.The red lines show median income and the grey lines show the synthetic correlated features.We observe that for FAST (top right), the shape function of median income is preserved and that the discontinuous pattern can still be easily identified.The shape functions of the synthetic correlated features are reduced in magnitude and several are implicitly regularized to zero.The EBM shape functions (bottom right) tell a different story.Due to the cyclic algorithm used to fit EBMs, the contribution of median income is evenly distributed among the noisy correlated features.All the shape functions in this group are compressed and the discontinuity is difficult to detect.
79If a dataset contains a group of correlated features, and only one feature in that group contains an interesting discontinuity, FAST may be more likely to capture this pattern compared to EBMs.Also, consider the case where a dataset contains a sensitive attribute with a discontinuous pattern.A potential adversarial attack would be to add features correlated with this sensitive attribute to mask this discontinuous pattern from EBMs.Due to greedy model fitting, FAST again may be more robust to this attack.
80We emphasize that both FAST and EBMs produce transparent PCAMs, however, the interpretations of the models change depending on whether the PCAMs were fit greedily or cyclically.Model transparency does not guarantee trustworthiness and practitioners should still interpret transparent models cautiously.
81Conclusion: FAST is an optimization-based framework that leverages a novel greedy optimization procedure to fit PCAMs up to 2 orders of magnitude faster than SOTA methods.The framework also introduces two feature selection algorithms that significantly outperform existing methods at building sparse PCAMs.Using FAST, we investigate how correlated features impact the interpretability of PCAMs in terms of selecting important features and interpreting shape functions.These phenomena should be considered when evaluating the trustworthiness of additive models.
Figure 1 :
82Figure 1: PCAM shape functions can be used to uncover discontinuities in the underlying data.
Figure 2 :
83Figure 2: Greedy selection reduces the number of dynamic programming block updates by 2 orders of magnitude.
4
84Update block (Problem 2).
5 𝑆= 7
85∪ , = \ 6 repeat Sweep through and update blocks (Problem 2).
8 until converged 9 BGS local search. 10 𝑆
86= ∪ 11 until | | = Output: Sequence of models We use this Lagrangian formulation: min 1 2
Figure 3 :
87Figure 3: BGS local search improves the solution quality for both of our feature-sparse PCAM algorithms.
Auto
88Horsepower n ≈ 10 6
Figure 6 :
89Figure 6: Group ℓ 0 -FAST and AGIS perform well even after adding correlated features.
Figure 7 :
90Figure 7: Correlated features can mask discontinuities in PCAM shape functions.
Table 1 :
91Timing experiment results.FAST achieves 2 orders of magnitude speedups for large problems.
Table 2
92we report the average percent decrease in test error between group ℓ 0 -FAST and the competing algorithms (top values) and AGIS and the competing algorithms (bottom values) across all sparsity budgets.These averages are taken across all datasets and Distribution of results from our feature selection experiment (averages shown in Table2).The distributions are mostly entirely positive, which indicates that feature-sparse FAST outperforms our competing algorithms.
Table 2 :
93Average % decrease in test error between featuresparse FAST and our competing algorithms across sparsity budgets (distributions shown in Figure
참고문헌 24건
- Fused Lasso Additive Model Journal of Computational and Graphical Statistics · Taylor & Francis · 2015 10.1080/10618600.2015.1073155
- Coordinate Descent Converges Faster with the Gauss-Southwell Rule Than Random Selection arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1506.00552
- Intelligible Models for HealthCare 2015 10.1145/2783258.2788613
- A Dynamic Programming Algorithm for the Fused Lasso and<i>L</i><sub>0</sub>-Segmentation Journal of Computational and Graphical Statistics · Taylor & Francis · 2013 10.1080/10618600.2012.681238
- Coordinate descent algorithms for lasso penalized regression The Annals of Applied Statistics · Institute of Mathematical Statistics · 2008 10.1214/07-aoas147
- Pathwise coordinate optimization The Annals of Applied Statistics · Institute of Mathematical Statistics · 2007 10.1214/07-aoas131
- Nearest Neighbor based Greedy Coordinate Descent Neural Information Processing Systems · 2011
- OpenML ACM SIGKDD Explorations Newsletter · Association for Computing Machinery · 2014 10.1145/2641190.2641198
- A distributed algorithm for fitting generalized additive models Optimization and Engineering · Springer Science+Business Media · 2013 10.1007/s11081-013-9215-9
- Intelligible models for classification and regression 2012 10.1145/2339530.2339556
- Additive Isotonic Models Journal of the American Statistical Association · 1989 10.1080/01621459.1989.10478768
- On stepwise pattern recovery of the fused Lasso Computational Statistics & Data Analysis · Elsevier BV · 2015 10.1016/j.csda.2015.08.013
- Generalized Additive Models for Gigadata: Modeling the U.K. Black Smoke Network Daily Data Journal of the American Statistical Association · 2016 10.1080/01621459.2016.1195744
- LightGBM: A Highly Efficient Gradient Boosting Decision Tree 2017
- Efficient Greedy Coordinate Descent for Composite Problems 2019
- Fast Best Subset Selection: Coordinate Descent and Local Combinatorial Optimization Algorithms Operations Research · Institute for Operations Research and the Management Sciences · 2020 10.1287/opre.2019.1919
- A Selective Review of Group Selection in High-Dimensional Models Statistical Science · Institute of Mathematical Statistics · 2012 10.1214/12-sts392
- Coordinate descent algorithms for lasso penalized regression The Annals of Applied Statistics · Institute of Mathematical Statistics · 2008 10.1214/07-aoas147
- How Interpretable and Trustworthy are GAMs? 2021 10.1145/3447548.3467453
- ControlBurn 2021 10.1145/3447548.3467387
- Best Subset, Forward Stepwise or Lasso? Analysis and Recommendations Based on Extensive Comparisons Statistical Science · Institute of Mathematical Statistics · 2020 10.1214/19-sts733
- Fast Sparse Classification for Generalized Linear and Additive Models arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2202.11389
- Interpretable Survival Analysis for Heart Failure Risk Prediction arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2310.15472
- flam: Fits Piecewise Constant Models with Data-Adaptive Knots 2014 10.32614/cran.package.flam