Honestly, if any big tech would implement it this way, it's likely Apple. Their image face recognition in Photos currently is fully on device from what I understand and it is set by who you associate it with locally.
Online comparison just adds latency.