New technology makes artificial intelligence more private and portable