On-Device Model for Smart Replies

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computing devices, especially mobile ones like smartphones and smartwatches, face challenges in providing efficient and power-conserving ways to respond to communications due to limited resources and the need for reliable, quick, and contextually relevant responses, especially in situations where typing or speaking is cumbersome or socially unacceptable.

Innovation Solution

Implementing an on-device machine-trained model that generates candidate responses based on user input, utilizing machine learning techniques to predict relevant replies without relying on external models or networks, thus enabling quick and inconspicuous responses while conserving battery life and ensuring end-to-end encryption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If an on-device machine-trained model is implemented, then response generation speed and battery conservation are improved, but device complexity increases

Engineering Contradiction:
Improveresponse generation speedVSAvoiddevice complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The machine-trained model is trained offline in advance and deployed to the device, so that during actual use the model can generate responses quickly without requiring real-time training or complex online computation, thus achieving fast response generation while keeping runtime device complexity manageable

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of implementing complex real-time natural language processing capabilities on the device, a pre-trained model (a copy of the intelligence) is deployed to the device, enabling fast local response generation without requiring the full complexity of training systems to be present during operation

Inventive Principle:
Principle #26Copying

2Use of energy by moving object

If local processing is used, then power consumption is reduced and security is improved, but response accuracy may worsen

Engineering Contradiction:
Improvepower consumptionVSAvoidresponse accuracy
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The model is optimized for mobile devices by adjusting parameters such as model size, complexity, and computation depth to suit the constraints of mobile hardware, enabling accurate enough responses to be generated locally with acceptable power consumption while maintaining sufficient accuracy for the application context

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If on-device model is used, then network dependency is reduced, but model size and memory requirements increase

Engineering Contradiction:
Improvenetwork independenceVSAvoidmodel size
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The essential response generation capability is extracted from the cloud and placed locally on the device in the form of a compact model, enabling the device to function independently of network connectivity while the model size is kept manageable through optimization techniques

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10846618B2Smart replies using an on-device model
Publication Date: 2020.11.24 GOOGLE LLC
  • US10846618B2 patent drawing
  • US10846618B2 patent drawing
  • US10846618B2 patent drawing

AI summary

A computing device may receive a communication sent from an external computing device. At least one processor of the computing device may determine, using an on-device machine-trained model and based at least in part on the communication, one or more candidate responses to the communication. The at least one processor may receive an indication of a user input that selects a candidate response from the one or more candidate responses. Responsive to receiving the indication of the user input that selects the candidate response, the at least one processor may send the candidate response to the external computing device.