What Kaimei can and can't explain
A plain list of the models Kaimei explains, the ones it explains only through your own scoring endpoint, and the ones it does not support.
#Explained today
Kaimei explains models that make one prediction from a fixed set of inputs. Each input is a number, a category, a yes/no flag, an image, a text, a series or a tensor. It runs most of them itself, within a time and memory budget for each request; a model too large for that is run by its agent, on your own hardware.
| Kind of model | Examples | How it connects |
|---|---|---|
| Yes/no and multi-class decisions on structured data | Credit approval, fraud flags, churn, claims triage | Upload it from scikit-learn, Keras or PyTorch, or connect a scoring endpoint. |
| Numeric predictions on structured data | Demand forecasts from features, pricing, loss estimates | The same. |
| Image classification | Defect detection, document type from a scan, species | Upload a convolutional network, or connect a scoring endpoint. |
| Text classifiers | Sentiment, topic and document type from raw text | Upload the network with its tokenizer, from PyTorch or as an ONNX file. Each prediction is attributed to the tokens that made it. See text and sequence models. |
| Language models | Next-word prediction and writing | Upload it: Kaimei explains the next token by the prompt's tokens and writes with it token by token. A large one runs through its agent. See generative models. |
| Series and sequences | Recurrent networks and temporal models that read a history step by step | Upload it; each prediction is attributed to stretches of the series. |
| Generators and embedding models | Decoders, GANs, diffusion models, embeddings | Upload it: Kaimei runs it, draws it and shows what every step computes. A whole picture or vector has no single number to attribute, so these are not explained. |
| Any network, through ONNX | Transformers and attention, recurrent and upsampling layers, non-linear SVMs, nearest neighbours, naive Bayes, Gaussian processes | The Python client converts the model to ONNX on your machine, or you upload an ONNX file, and Kaimei runs it. See models of any kind. |
| Models Kaimei cannot run itself, on the same kinds of input | Tree models with categorical splits, your own Python classes, models written in other languages that do not export to ONNX | A scoring endpoint you host, an agent, or attributions you compute. |
#Not supported
- Several outputs at once. Kaimei explains one label or one number per prediction. Register one model per output instead.
- Boxes, masks and rankings. Object detection, image segmentation, recommendation and search ranking.
- Audio and video.
- Clustering and reinforcement learning. A model that outputs a single anomaly score can be registered as a numeric prediction.
#Partly supported
- Large networks. Kaimei runs every model on its own processors, with no GPU, and one request may run a model for 90 seconds in all. A large language model, a diffusion model at full size, or any network too slow or too large for that is drawn in full and run by its agent on your hardware.
- Text, series and tensors are explained by their parts with occlusion and Shapley values: up to 256 tokens (the last 256 of a longer text), a series in at most 64 stretches. LIME and counterfactuals do not apply to them, and their analyses are output behaviour and performance only.
- Custom models. Kaimei itself runs tree ensembles of any size, linear models, neural networks, combinations of those, and any model that converts to ONNX; anything else, such as your own Python classes, needs a scoring endpoint or an agent.
- Very wide inputs. Above 96 inputs, the Shapley methods first find the inputs that matter and report the rest as one remainder. LIME and KernelSHAP stop at 4,096 inputs.
- Grad-CAM needs an image model whose layers were uploaded. Occlusion and LIME work for any image model.
#What Kaimei does not do
- Measure fairness or disparate impact.
- Establish cause and effect.
- Serve your model to customers. It calls your model, or runs an uploaded copy, to explain and analyse it.
- Check your data beyond comparing live traffic with the reference data.
- Delete records on a schedule. Records are kept until you delete them.
If your model is not covered here, tell us about it.