concept importance in category AI

appears as: importce, importce
Interpretable AI

This is an excerpt from Manning's book Interpretable AI.

Intrinsic interpretability techniques are related to machine learning models that are have a simple structure, also called white-box models. White-box models are inherently transparent, and it is straightforward to interpret the internals of the model. Interpretability comes right out of the box for such models. Post-hoc interpretability techniques are usually applied after model training and are used to interpret and understand the importance of certain inputs for the model prediction. Post-Hoc interpretability techniques are suited for white-box and black-box models, i.e. models that are not inherently transparent.

Figure 2.14: Diabetes feature importance for Decision Tree
A screenshot of a cell phone Description automatically generated

The weights of the linear regression model can be used to determine the importance of features for that picked example. The interpretation is obtained using a surrogate model that is locally faithful to the example that we wish to interpret. Now, how do we apply LIME to images? As with tabular data, we first need to pick an image that we wish to interpret. Next, we have to create a perturbed dataset. We cannot perturb the dataset the same way as tabular data by sampling from a Gaussian distribution. Instead, we randomly turn pixels off and on in the image. This is however computationally intensive as in order to come up with an interpretation that is locally faithful, we have to generate a lot of samples to run through the model. Moreover, pixels could be spatially correlated, and multiple pixels could contribute to one target class. We therefore segment the image into multiple segments or “super-pixels” and turn random super-pixels on and off. This is illustrated in Figure 5.14.

AI-Powered Search

This is an excerpt from Manning's book AI-Powered Search.

Your intuition is probably also screaming right now, "Yeah, but nobody really cares about the words the and in. It’s obvious that the words cat and hat should be given the most weight here instead!" And you would be right. Let’s modify our scoring calculation to fix this oversight by introducing a new variable that takes the importance of each term into consideration.