We want to design a system for training SLMs for almost realtime evaluation of traces from GenAI applications which generate multimodal traces (sample use cases in Appendix). These evaluations serve as guardrail metrics which can monitor application performance and even trigger failsafe mechanisms
We focus on extending common guardrail metrics to work in a multimodal setting. (Definitions in Appendix) The list is not exhaustive, but is representative of the kind of metrics we need to compute over the multimodal traces. Broadly, there are two different kind of metrics
As discussed above, the metrics of interest can be viewed as either defined over an (image,text) pair or (audio,text) pair (correspondence metrics) or they can jus be defined over an image/audio.
In order to construct these inputs we need to pre-process traces and extract these. We will discuss this later in the doc and assume we we have the pre-processing done.
Encoder + learned similarity baseline (baseline1)
A simple baseline approach is training metric specific similarity models on top of frozen embeddings. For correspondence metrics, the simplest method would be to compute fixed dimension embedding (CLIP or SigCLIP for images, CLAP for audio and Qwen3 for text embedding) and concatenate them and pass it to a MLP with classification/regression objective.