The Cactus Hybrid project has post-trained Gemma 4 to provide a confidence score for its responses, allowing developers to route queries to larger cloud models when confidence is low.
This development tackles a key limitation of on-device AI models: their potential for inaccuracy coupled with a lack of self-awareness. By equipping Gemma 4 with the ability to gauge its own confidence, Cactus Hybrid enables a hybrid approach where fast, private on-device models can be used for high-confidence tasks, while more resource-intensive cloud models handle complex or uncertain queries. The project claims this hybrid strategy can match the performance of larger models like Gemini 3.1 Flash-Lite for many benchmarks while routing only a fraction of queries externally. This approach offers a balance between efficiency, privacy, and accuracy for AI applications.
Sources
