Google DeepMind and GovTech Singapore's on-device scam detection system uses a two-stage inference pipeline where a lightweight classifier screens incoming messages before engaging a fine-tuned Gemma 4 model for multi-turn conversational analysis