US 11181988
Incorporating user feedback into text prediction models via joint reward planning
Granted 2021-11-23 · Filed 2020-08-31 · Application 17/008,265 · Utility · Kind B1
- Assignee as printed
- Apple Inc., Cupertino, CA (US)
- Inventors
- Jerome R. Bellegarda, Saratoga, CA (US); Akash Mehra, Belmont, CA (US)
- CPC, current
- G06F3/0237; G06F3/016; G06F3/0481; G06F3/04842; G06F3/04886; G06F40/274; G06F40/284; G06N3/006; G06N3/044; G06N3/0442; G06N3/084; G06N3/09; G06N3/092; G06N7/01; G06F3/0488; G06N3/048
Abstract
An example process includes: obtaining input token(s); determining, using a joint prediction model, based on the input token(s): a first predicted token following the input token(s) and a second predicted token following the first predicted token; and a first user action to be performed on the first predicted token, where determining the first user action includes: determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; outputting the first predicted token; detecting a user action performed on the first predicted token; and in accordance with a determination that the detected user action does not match the first user action: causing parameters of the joint prediction model to be updated, the parameters being configured to determine the first user action.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising
- Claim 1, element e1instructions, which when executed by one or more processors of an electronic device, cause the electronic device to: 119–234
- Claim 1, element e2obtain one or more input tokens; 236–267
- Claim 1, element e3determine, using a joint prediction model, based on the one or more input tokens: 269–349
- Claim 1, element e4a first predicted token following the one or more input tokens and a second predicted token following the first predicted token; and 351–478
- Claim 1, element e5a first user action to be performed on the first predicted token, 484–548
- Claim 1, element e6wherein determining the first user action includes: 550–600
- Claim 1, element e7determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; 602–838
- Claim 1, element e8output the first predicted token; 840–872
- Claim 1, element e9after outputting the first predicted token, detect a user action performed on the first predicted token; and 874–977
- Claim 1, element e10in accordance with a determination that the detected user action does not match the first user action: 983–1084
- Claim 1, element e11cause a first set of one or more parameters of the joint prediction model to be updated, 1086–1173
- Claim 1, element e12wherein the first set of one or more parameters is configured to determine the first user action.1175–1271
18 dependent claims: 2 to 19
Claim 2
Depends on claim 1.
2. The non-transitory computer-readable storage medium of claim 1 , wherein:
- Claim 2, element e1obtaining the one or more input tokens includes obtaining the one or more input tokens based on user input received at a keyboard of the electronic device; and 77–231
- Claim 2, element e2detecting the user action includes detecting the user action via the keyboard.237–314
Claim 3
Depends on claim 1.
3. The non-transitory computer-readable storage medium of claim 1 , wherein
- Claim 3, element e1outputting the first predicted token includes displaying, on a display of the electronic device, the first predicted token as a user-selectable suggestion.76–230
Claim 4
Depends on claim 1.
4. The non-transitory computer-readable storage medium of claim 1 , wherein
- Claim 4, element e1the one or more input tokens, the first predicted token, and the second predicted token each respectively include a character, a sequence of characters, a word fragment, a word, a sequence of words, or a sentence.76–288
Claim 5
Depends on claim 1.
5. The non-transitory computer-readable storage medium of claim 1 , wherein
- Claim 5, element e1determining the first user action further includes: 76–126
- Claim 5, element e2determining respective reward values for performing each of a plurality of possible user actions on the first predicted token, the plurality of possible user actions including the first user action; and 128–325
- Claim 5, element e3selecting the first user action from the plurality of possible user actions based on a determination that the first reward value is the highest reward value of the respective reward values.331–519
Claim 6
Depends on claim 5.
6. The non-transitory computer-readable storage medium of claim 5 , wherein
- Claim 6, element e1each of the respective reward values is a long-term reward value for performing the respective possible user action on the first predicted token.76–220
Claim 7
Depends on claim 1.
7. The non-transitory computer-readable storage medium of claim 1 , wherein:
- Claim 7, element e1the first user action corresponds to accepting the first predicted token or rejecting the first predicted token; and 77–188
- Claim 7, element e2the detected user action corresponds to accepting the first predicted token or rejecting the first predicted token.194–308
Claim 8
Depends on claim 1.
8. The non-transitory computer-readable storage medium of claim 1 , wherein
- Claim 8, element e1the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: 76–213
- Claim 8, element e2determine that the first user action does not match the detected user action, including determining a type of mismatch between the first user action and the detected user action; and 215–392
- Claim 8, element e3wherein causing the first set of one or more parameters of the joint prediction model to be updated is performed in accordance with a determination that the type of mismatch is a first type of mismatch.398–599
Claim 9
Depends on claim 8.
9. The non-transitory computer-readable storage medium of claim 8 , wherein
- Claim 9, element e1the first type of mismatch includes that the detected user action corresponds to confirming the first predicted token and the first user action corresponds to rejecting the first predicted token.76–270
Claim 10
Depends on claim 8.
10. The non-transitory computer-readable storage medium of claim 8 , wherein
- Claim 10, element e1the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: 77–214
- Claim 10, element e2in accordance with a determination that the type of mismatch is a second type of mismatch, cause a second set of one or more parameters of the joint prediction model to be updated, 216–395
- Claim 10, element e3wherein the second set of one or more parameters is configured to determine the first user action and the second user action.397–521
Claim 11
Depends on claim 10.
11. The non-transitory computer-readable storage medium of claim 10 , wherein
- Claim 11, element e1the second type of mismatch includes: 78–114
- Claim 11, element e2that the detected user action corresponds to rejecting the first predicted token by inputting a token not included in a vocabulary of the joint prediction model; and 116–276
- Claim 11, element e3that the first user action corresponds to accepting the first predicted token.282–359
Claim 12
Depends on claim 8.
12. The non-transitory computer-readable storage medium of claim 8 , wherein
- Claim 12, element e1the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: 77–214
- Claim 12, element e2in accordance with a determination that the type of mismatch is a third type of mismatch, cause a third set of one or more parameters of the joint prediction model to be updated, 216–393
- Claim 12, element e3wherein the third set of one or more parameters is configured to determine the first predicted token and the second predicted token.395–526
Claim 13
Depends on claim 12.
13. The non-transitory computer-readable storage medium of claim 12 , wherein
- Claim 13, element e1the third type of mismatch includes: 78–113
- Claim 13, element e2that the detected user action corresponds to rejecting the first predicted token by inputting a token included in a vocabulary of the joint prediction model; and 115–271
- Claim 13, element e3that the first user action corresponds to confirming the first predicted token.277–355
Claim 14
Depends on claim 13.
14. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 14, element e1causing the third set of one or more parameters of the joint prediction model to be updated includes updating the third set of one or more parameters to increase a probability of the token included in the vocabulary of the joint prediction model and to decrease a probability of the first predicted token.78–382
Claim 15
Depends on claim 1.
15. The non-transitory computer-readable storage medium of claim 1 , wherein
- Claim 15, element e1the joint prediction model includes a neural network comprising: 77–140
- Claim 15, element e2an encoding layer; 142–159
- Claim 15, element e3a token prediction layer; and 161–185
- Claim 15, element e4a user action prediction layer.191–221
Claim 16
Depends on claim 15.
16. The non-transitory computer-readable storage medium of claim 15 , wherein
- Claim 16, element e1determining the first predicted token and the second predicted token includes: 78–155
- Claim 16, element e2providing a representation of the one or more input tokens to the encoding layer to obtain a first encoding of the one or more input tokens; 157–296
- Claim 16, element e3providing the first encoding to the token prediction layer to obtain the first predicted token; 298–392
- Claim 16, element e4providing a representation of the first predicted token to the encoding layer to obtain a second encoding of the first predicted token; and 394–528
- Claim 16, element e5providing the second encoding to the token prediction layer to obtain the second predicted token.534–630
Claim 17
Depends on claim 16.
17. The non-transitory computer-readable storage medium of claim 16 , wherein
- Claim 17, element e1the user action prediction layer includes a current action prediction layer and a long-term action prediction layer, and wherein determining the first user action includes: 78–249
- Claim 17, element e2providing the first encoding to the current action prediction layer to obtain first respective current reward values for performing each of a plurality of possible user actions on the first predicted token, the first respective current reward values including the first current reward value; 251–541
- Claim 17, element e3providing the second encoding to the current action prediction layer to obtain second respective current reward values for performing each of the plurality of possible user actions on the second predicted token; 543–753
- Claim 17, element e4providing the second respective current reward values to the long-term action prediction layer to obtain third respective reward values for performing each of the plurality of possible user actions on the second predicted token, the third respective reward values including the second reward value; 755–1052
- Claim 17, element e5wherein determining the first reward value includes weighting, using the long-term action prediction layer, the first respective current reward values and the third respective reward values according to the first set of one or more parameters to obtain fourth respective reward values for performing each of the plurality of possible user actions on the first predicted token, the fourth plurality of respective reward values including the first reward value; and 1054–1512
- Claim 17, element e6selecting the first user action from the plurality of possible user actions based on the fourth respective reward values.1518–1638
Claim 18
Depends on claim 17.
18. The non-transitory computer-readable storage medium of claim 17 , wherein
- Claim 18, element e1the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: 78–215
- Claim 18, element e2train the joint prediction model using a corpus of training data, including: 217–292
- Claim 18, element e3determining the first set of one or more parameters corresponding to the long-term action prediction layer, 294–400
- Claim 18, element e4wherein the first set of one or more parameters is configured to determine long-term reward values for performing actions on predicted tokens.402–543
Claim 19
Depends on claim 18.
19. The non-transitory computer-readable storage medium of claim 18 , wherein
- Claim 19, element e1the corpus of training data includes a plurality of datasets each comprising: 78–154
- Claim 19, element e2a user inputted token; 156–177
- Claim 19, element e3a predicted token following the user inputted token; 179–230
- Claim 19, element e4a second detected user action performed on the predicted token to obtain an updated token; and 232–321
- Claim 19, element e5a confirmation of the updated token.327–362
Claim 20
Independent claim.
20. An electronic device, comprising:
- Claim 20, element e1one or more processors; 38–60
- Claim 20, element e2a memory; and 62–70
- Claim 20, element e3one or more programs, 76–96
- Claim 20, element e4wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: 98–268
- Claim 20, element e5obtaining one or more input tokens; 270–304
- Claim 20, element e6determining, using a joint prediction model, based on the one or more input tokens: 306–388
- Claim 20, element e7a first predicted token following the one or more input tokens and a second predicted token following the first predicted token; and 390–517
- Claim 20, element e8a first user action to be performed on the first predicted token, 523–587
- Claim 20, element e9wherein determining the first user action includes: 589–639
- Claim 20, element e10determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; 641–877
- Claim 20, element e11outputting the first predicted token; 879–915
- Claim 20, element e12after outputting the first predicted token, detecting a user action performed on the first predicted token; and 917–1023
- Claim 20, element e13in accordance with a determination that the detected user action does not match the first user action: 1029–1130
- Claim 20, element e14causing a first set of one or more parameters of the joint prediction model to be updated, 1132–1221
- Claim 20, element e15wherein the first set of one or more parameters is configured to determine the first user action.1223–1319
11 dependent claims: 21 to 26 and 34 to 38 (21, 22, 23, 24, 26, 34 on claim 20; 25 on 24; 35 on 34; 36 on 35; 37 on 36; 38 on 37)
Claim 21
Depends on claim 20.
21. The electronic device of claim 20 , wherein:
- Claim 21, element e1obtaining the one or more input tokens includes obtaining the one or more input tokens based on user input received at a keyboard of the electronic device; and 49–203
- Claim 21, element e2detecting the user action includes detecting the user action via the keyboard.209–286
Claim 22
Depends on claim 20.
22. The electronic device of claim 20 , wherein
- Claim 22, element e1outputting the first predicted token includes displaying, on a display of the electronic device, the first predicted token as a user-selectable suggestion.48–202
Claim 23
Depends on claim 20.
23. The electronic device of claim 20 , wherein
- Claim 23, element e1the one or more input tokens, the first predicted token, and the second predicted token each respectively include a character, a sequence of characters, a word fragment, a word, a sequence of words, or a sentence48–260
Claim 24
Depends on claim 20.
24. The electronic device of claim 20 , wherein
- Claim 24, element e1determining the first user action further includes: 48–98
- Claim 24, element e2determining respective reward values for performing each of a plurality of possible user actions on the first predicted token, the plurality of possible user actions including the first user action; and 100–297
- Claim 24, element e3selecting the first user action from the plurality of possible user actions based on a determination that the first reward value is the highest reward value of the respective reward values.303–491
Claim 25
Depends on claim 24.
25. The electronic device of claim 24 , wherein
- Claim 25, element e1each ofthe respective reward vaiues is a long-term reward value for performing the respective possible user action on the first predicted token.48–191
Claim 26
Depends on claim 20.
26. The electronic device of claim 20 , wherein:
- Claim 26, element e1the first user action corresponds to accepting the first predicted token or rejecting the first predicted token; and 49–160
- Claim 26, element e2the detected user action corresponds to accepting the first predicted token or rejecting the first predicted token.166–280
Claim 34
Depends on claim 20.
34. The electronic device of claim 20 , wherein
- Claim 34, element e1the joint prediction model includes a neural network comprising: 48–111
- Claim 34, element e2an encoding layer; 113–130
- Claim 34, element e3a token prediction layer; and 132–156
- Claim 34, element e4a user action prediction layer.162–192
Claim 35
Depends on claim 34.
35. The electronic device of claim 34 , wherein
- Claim 35, element e1determining the first predicted token and the second predicted token includes: 48–125
- Claim 35, element e2providing a representation of the one or more input tokens to the encoding layer to obtain a first encoding of the one or more input tokens; 127–266
- Claim 35, element e3providing the first encoding to the token prediction layer to obtain the first predicted token; 268–362
- Claim 35, element e4providing a representation of the first predicted token to the encoding layer to obtain a second encoding of the first predicted token; and 364–498
- Claim 35, element e5providing the second encoding to the token prediction layer to obtain the second predicted token.504–600
Claim 36
Depends on claim 35.
36. The electronic device of claim 35 , wherein
- Claim 36, element e1the user action prediction layer includes a current action prediction layer and a long-term action prediction layer, and wherein determining the first user action includes: 48–219
- Claim 36, element e2providing the first encoding to the current action prediction layer to obtain first respective current reward values for perfonning each of a plurality of possible user actions on the first predicted token, the first respective current reward values including the first current reward value; 221–511
- Claim 36, element e3providing the second encoding to the current action prediction layer to obtain second respective current reward values for performing each ofthe plurality of possible user actions on the second predicted token; 513–722
- Claim 36, element e4providing the second respective current reward values to the long-term action prediction layer to obtain third respective reward values for performing each of the plurality of possible user actions on the second predicted token, the third respective reward values including the second reward value; 724–1021
- Claim 36, element e5wherein determining the first reward value includes weighting, using the long-term action prediction layer, the first respective current reward values and the third respective reward values according to the first set of one or more parameters to obtain fourth respective reward values for performing each of the plurality of possible user actions on the first predicted token, the fourth plurality of respective reward values including the first reward value; and 1023–1481
- Claim 36, element e6selecting the first user action from the plurality of possible user actions based on the fourth respective reward values.1487–1607
Claim 37
Depends on claim 36.
37. The electronic device of claim 36 , wherein
- Claim 37, element e1the one or more programs further include instructions for: 48–105
- Claim 37, element e2training the joint prediction model using a corpus of training data, including: 107–185
- Claim 37, element e3determining the first set of one or more parameters corresponding to the long-term action prediction layer, 187–293
- Claim 37, element e4wherein the first set of one or more parameters is configured to determine long-term reward values for performing actions on predicted tokens.295–436
Claim 38
Depends on claim 37.
38. The electronic device of claim 37 , wherein
- Claim 38, element e1the corpus of training data includes a plurality of datasets each comprising: 48–124
- Claim 38, element e2a user inputted token; 126–147
- Claim 38, element e3a predicted token following the user inputted token; 149–200
- Claim 38, element e4a second detected user action pertornied on the predicted token to obtain an updated token; and 202–292
- Claim 38, element e5a confirmation of the updated token.298–333
Claim 27
Independent claim.
27. The electronic device of ciaim 20 , wherein
- Claim 27, element e1the one or more programs further include instructions for: 48–105
- Claim 27, element e2determining that the first user action does not match the detected user action, including determining a type of mismatch between the first user action and the detected user action; and 107–286
- Claim 27, element e3wherein causing the first set of one or more parameters of the joint prediction model to be updated is performed in accordance with a determination that the type of mismatch is a first type of mismatch.292–493
5 dependent claims: 28, 29 and 31 to 33 (28, 29, 31 on claim 27; 32 on 31; 33 on 32)
Claim 28
Depends on claim 27.
28. The eiectronic device of claim 27 , wherein
- Claim 28, element e1the tirst type of mismatch includes that the detected user action corresponds to confirming the first predicted token and the first user action corresponds to rejecting the first predicted token.48–242
Claim 29
Depends on claim 27.
29. The electronic device of claim 27 , wherein
- Claim 29, element e1the one or more programs further include instructions for: 48–105
- Claim 29, element e2in accordance with a determination that the type of mismatch is a second type of mismatch, causing a second set of one or more parameters of the joint prediction model to be updated, 107–288
- Claim 29, element e3wherein the second set of one or more parameters is configured to determine the first user action and the second user action.290–414
Claim 31
Depends on claim 27.
31. The electronic device of claim 27 , wherein
- Claim 31, element e1the one or more programs further include instructions for: 48–105
- Claim 31, element e2in accordance with a determination that the type of mismatch is a third type of mismatch causing a third set of one or more parameters of the joint prediction model to he updated, 107–285
- Claim 31, element e3wherein the third set of one or more parameters is configured to determine the first predicted token and the second predicted token.287–418
Claim 32
Depends on claim 31.
32. The electronic device of claim 31 , wherein
- Claim 32, element e1the third type of mismatch includes: 48–83
- Claim 32, element e2that the detected user action corresponds to rejecting the first predicted token by inputting a token included in a vocabulary of the joint prediction model; and 85–241
- Claim 32, element e3that the first user action corresponds to confirming the first predicted token.247–325
Claim 33
Depends on claim 32.
33. The electronic device of claim 32 , wherein
- Claim 33, element e1causing the third set of one or more parameters of the joint prediction model to be updated includes updating the third set of one or more parameters to increase a probability of the token included in the vocabulary of the joint prediction model and to decrease a probability of the first predicted token48–352
Claim 30
Independent claim.
30. The electronic device ofclaiin 29 , wherein the second type of mismatch includes:
- Claim 30, element e1that the detected user action corresponds to rejecting the first predicted token by inputting a token not included in a vocabulary of the joint prediction model; and 86–246
- Claim 30, element e2that the first user action corresponds to accepting the first predicted token.252–329
Claim 39
Independent claim.
39. A method, comprising:
- Claim 39, element e1at an electronic device with one or more processors and memory: 26–88
- Claim 39, element e2obtaining one or more input tokens; 90–124
- Claim 39, element e3determining, using a joint prediction model, based on the one or more input tokens: 126–208
- Claim 39, element e4a first predicted token following the one or more input tokens and a second predicted token following the first predicted token; and 210–337
- Claim 39, element e5a first user action to be performed on the first predicted token, 343–407
- Claim 39, element e6wherein determining the first user action includes: 409–459
- Claim 39, element e7determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; 461–697
- Claim 39, element e8outputting the first predicted token; 699–735
- Claim 39, element e9after outputting the first predicted token, detecting a user action performed on the first predicted token; and 737–843
- Claim 39, element e10in accordance with a determination that the detected user action does not match the first user action: 849–950
- Claim 39, element e11causing a first set of one or more parameters of the joint prediction model to be updated, 952–1041
- Claim 39, element e12wherein the first set of one or more parameters is configured to determine the first user action.1043–1139
16 dependent claims: 40 to 55
Claim 40
Depends on claim 39.
40. The method of claim 39 , wherein:
- Claim 40, element e1obtaining the one or more input tokens includes obtaining the one or more input tokens based on user input received at a keyboard of the electronic device; and 38–192
- Claim 40, element e2detecting the user action includes detecting the user action via the keyboard.198–275
Claim 41
Depends on claim 39.
41. The method of claim 39 , wherein
- Claim 41, element e1outputting the first predicted token includes displaying, on a display of the electronic device, the first predicted token as a user-selectable suggestion.37–191
Claim 42
Depends on claim 39.
42. The method of claim 39 , wherein
- Claim 42, element e1the one or more input tokens, the first predicted token, and the second predicted token each respectively include a character, a sequence of characters, a word fragment, a word, a sequence of words, or a sentence.37–249
Claim 43
Depends on claim 39.
43. The method of claim 39 , wherein
- Claim 43, element e1determining the first user action further includes: 37–87
- Claim 43, element e2determining respective reward values for performing each of a plurality of possible user actions on the first predicted token, the plurality of possible user actions including the first user action; and 89–286
- Claim 43, element e3selecting the first user action from the plurality of possible user actions based on a determination that the first reward value is the highest reward value of the respective reward values.292–480
Claim 44
Depends on claim 43.
44. The method of claim 43 , wherein
- Claim 44, element e1each of the respective reward values is a long-term reward value for performing the respective possible user action on the first predicted token.37–181
Claim 45
Depends on claim 39.
45. The method of claim 39 , wherein:
- Claim 45, element e1the first user action corresponds to accepting the first predicted token or rejecting the first predicted token; and 38–149
- Claim 45, element e2the detected user action corresponds to accepting the first predicted token or rejecting the first predicted token.155–269
Claim 46
Depends on claim 39.
46. The method of claim 39 , further comprising:
- Claim 46, element e1determining that the first user action does not match the detected user action, including determining a type of mismatch between the first user action and the detected user action; and 49–228
- Claim 46, element e2wherein causing the first set of one or more parameters of the joint, prediction model to be updated is performed in accordance with a determination that the type of mismatch is a first type of mismatch.234–436
Claim 47
Depends on claim 46.
47. The method of claim 46 , wherein
- Claim 47, element e1the first type of mismatch includes that the detected user action corresponds to confirming the first predicted token and the first user action corresponds to rejecting the first predicted token.37–231
Claim 48
Depends on claim 46.
48. The method of claim 46 , further comprising:
- Claim 48, element e1in accordance with a determination that the type of mismatch is a second type of mismatch, causing a second set of one or more parameters of the joint prediction model to be updated, 49–230
- Claim 48, element e2wherein the second set of one or more parameters is configured to determine the first user action and the second user action.232–356
Claim 49
Depends on claim 48.
49. The method of claim 48 , wherein
- Claim 49, element e1the second type of mismatch includes: 37–73
- Claim 49, element e2that the detected user action corresponds to rejecting the first predicted token by inputting a token not included in a vocabulary of the joint prediction model; and 75–235
- Claim 49, element e3that the first user action corresponds to accepting the first predicted token.241–318
Claim 50
Depends on claim 46.
50. The method of claim 46 , further comprising:
- Claim 50, element e1in accordance with a determination that the type of mismatch is a third type of mismatch causing a third set of one or more parameters of the joint prediction model to be updated wherein the third set of one or more parameters is configured to determine the first predicted token and the second predicted token.49–359
Claim 51
Depends on claim 50.
51. The method of claim 50 , wherein
- Claim 51, element e1the third type of mismatch inciudes: 37–72
- Claim 51, element e2that the detected user action corresponds to rejecting the tirst predicted token by inputting a token included in a vocabulary of the joint prediction model; and 74–230
- Claim 51, element e3that the first user action corresponds to confirming the fist predicted token.236–313
Claim 52
Depends on claim 51.
52. The method of claim 51 , wherein
- Claim 52, element e1causing the third set of one or more parameters of the joint prediction model to be updated includes updating the third set of one or more parameters to increase a probability of the token included in the vocabulary of the joint prediction model and to decrease a probability of the first predicted token.37–341
Claim 53
Depends on claim 39.
53. The method of claim 39 , wherein
- Claim 53, element e1the joint prediction model includes a neural network comprising: 37–100
- Claim 53, element e2an encoding layer; 102–119
- Claim 53, element e3a token prediction layer; and 121–145
- Claim 53, element e4a user action prediction layer.151–181
Claim 54
Depends on claim 53.
54. The method of claim 53 , wherein
- Claim 54, element e1determining the first predicted token and the second predicted token includes: 37–114
- Claim 54, element e2providing a representation of the one or more input tokens to the encoding layer to obtain a first encoding of the one or more input tokens; 116–255
- Claim 54, element e3providing the first encoding to the token prediction layer to obtain the first predicted token; 257–351
- Claim 54, element e4providing a representation of the first predicted token to the encoding layer to obtain a second encoding of the first predicted token; and 353–487
- Claim 54, element e5providing the second encoding to the token prediction layer to obtain the second predicted token.493–589
Claim 55
Depends on claim 54.
55. The method of claim 54 , wherein
- Claim 55, element e1the user action prediction layer includes a current action prediction layer and a long-term action prediction layer, and wherein determining the first user action includes: 37–208
- Claim 55, element e2providing the tirst encoding to the current action prediction layer to obtain first respective current reward values for performing each of a plurality of possible user actions on the first predicted token the first respective current reward values including the first current reward value; 210–499
- Claim 55, element e3providing the second encoding to the current action prediction layer to obtain second respective current reward values for performing each of the plurality of possible user actions on the second predicted token; 501–711
- Claim 55, element e4providing the second respective current reward values to the long-term action prediction layer to obtain third respective reward values for performing each of the plurality of possible user actions on the second predicted token the third respective reward values including the second reward value; 713–1009
- Claim 55, element e5wherein determining the first reward value includes weighting using the long-term action prediction layer, the first respective current reward values and the third respective reward values according to the first set of one or more parameters to obtain fourth respective reward values for performing each of the plurality of possible user actions on the first predicted token, the fourth plurality of respective reward values including the first reward value; and 1011–1468
- Claim 55, element e6selecting the first user action from the plurality of possible user actions based on the fourth respective reward values.1474–1594
Claim 56
Independent claim.
56. The method ofelairn 55 , further comprising: training the joint prediction model using a corpus of training data, including:
- Claim 56, element e1determining the first set of one or more parameters corresponding to the long-term action prediction layer, 129–235
- Claim 56, element e2wherein the first set of one or more parameters is configured to determine long-term reward values for performing actions on predicted tokens.237–378
1 dependent claim: 57 (57 on claim 56)
Claim 57
Depends on claim 56.
57. The method of claim 56 , wherein
- Claim 57, element e1the corpus of training data includes a plurality of datasets each comprising: 37–113
- Claim 57, element e2a user inputted token; 115–136
- Claim 57, element e3a predicted token following the user inputted token; 138–189
- Claim 57, element e4a second detected user action perihrnied on the predicted token to obtain an updated token; and 191–281
- Claim 57, element e5a confirmation of the updated token.287–322
1. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to: obtain one or more input tokens; determine, using a joint prediction model, based on the one or more input tokens: a first predicted token following the one or more input tokens and a second predicted token following the first predicted token; and a first user action to be performed on the first predicted token, wherein determining the first user action includes: determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; output the first predicted token; after outputting the first predicted token, detect a user action performed on the first predicted token; and in accordance with a determination that the detected user action does not match the first user action: cause a first set of one or more parameters of the joint prediction model to be updated, wherein the first set of one or more parameters is configured to determine the first user action.
2. The non-transitory computer-readable storage medium of claim 1 , wherein: obtaining the one or more input tokens includes obtaining the one or more input tokens based on user input received at a keyboard of the electronic device; and detecting the user action includes detecting the user action via the keyboard.
3. The non-transitory computer-readable storage medium of claim 1 , wherein outputting the first predicted token includes displaying, on a display of the electronic device, the first predicted token as a user-selectable suggestion.
4. The non-transitory computer-readable storage medium of claim 1 , wherein the one or more input tokens, the first predicted token, and the second predicted token each respectively include a character, a sequence of characters, a word fragment, a word, a sequence of words, or a sentence.
5. The non-transitory computer-readable storage medium of claim 1 , wherein determining the first user action further includes: determining respective reward values for performing each of a plurality of possible user actions on the first predicted token, the plurality of possible user actions including the first user action; and selecting the first user action from the plurality of possible user actions based on a determination that the first reward value is the highest reward value of the respective reward values.
6. The non-transitory computer-readable storage medium of claim 5 , wherein each of the respective reward values is a long-term reward value for performing the respective possible user action on the first predicted token.
7. The non-transitory computer-readable storage medium of claim 1 , wherein: the first user action corresponds to accepting the first predicted token or rejecting the first predicted token; and the detected user action corresponds to accepting the first predicted token or rejecting the first predicted token.
8. The non-transitory computer-readable storage medium of claim 1 , wherein the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: determine that the first user action does not match the detected user action, including determining a type of mismatch between the first user action and the detected user action; and wherein causing the first set of one or more parameters of the joint prediction model to be updated is performed in accordance with a determination that the type of mismatch is a first type of mismatch.
9. The non-transitory computer-readable storage medium of claim 8 , wherein the first type of mismatch includes that the detected user action corresponds to confirming the first predicted token and the first user action corresponds to rejecting the first predicted token.
10. The non-transitory computer-readable storage medium of claim 8 , wherein the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: in accordance with a determination that the type of mismatch is a second type of mismatch, cause a second set of one or more parameters of the joint prediction model to be updated, wherein the second set of one or more parameters is configured to determine the first user action and the second user action.
11. The non-transitory computer-readable storage medium of claim 10 , wherein the second type of mismatch includes: that the detected user action corresponds to rejecting the first predicted token by inputting a token not included in a vocabulary of the joint prediction model; and that the first user action corresponds to accepting the first predicted token.
12. The non-transitory computer-readable storage medium of claim 8 , wherein the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: in accordance with a determination that the type of mismatch is a third type of mismatch, cause a third set of one or more parameters of the joint prediction model to be updated, wherein the third set of one or more parameters is configured to determine the first predicted token and the second predicted token.
13. The non-transitory computer-readable storage medium of claim 12 , wherein the third type of mismatch includes: that the detected user action corresponds to rejecting the first predicted token by inputting a token included in a vocabulary of the joint prediction model; and that the first user action corresponds to confirming the first predicted token.
14. The non-transitory computer-readable storage medium of claim 13 , wherein causing the third set of one or more parameters of the joint prediction model to be updated includes updating the third set of one or more parameters to increase a probability of the token included in the vocabulary of the joint prediction model and to decrease a probability of the first predicted token.
15. The non-transitory computer-readable storage medium of claim 1 , wherein the joint prediction model includes a neural network comprising: an encoding layer; a token prediction layer; and a user action prediction layer.
16. The non-transitory computer-readable storage medium of claim 15 , wherein determining the first predicted token and the second predicted token includes: providing a representation of the one or more input tokens to the encoding layer to obtain a first encoding of the one or more input tokens; providing the first encoding to the token prediction layer to obtain the first predicted token; providing a representation of the first predicted token to the encoding layer to obtain a second encoding of the first predicted token; and providing the second encoding to the token prediction layer to obtain the second predicted token.
17. The non-transitory computer-readable storage medium of claim 16 , wherein the user action prediction layer includes a current action prediction layer and a long-term action prediction layer, and wherein determining the first user action includes: providing the first encoding to the current action prediction layer to obtain first respective current reward values for performing each of a plurality of possible user actions on the first predicted token, the first respective current reward values including the first current reward value; providing the second encoding to the current action prediction layer to obtain second respective current reward values for performing each of the plurality of possible user actions on the second predicted token; providing the second respective current reward values to the long-term action prediction layer to obtain third respective reward values for performing each of the plurality of possible user actions on the second predicted token, the third respective reward values including the second reward value; wherein determining the first reward value includes weighting, using the long-term action prediction layer, the first respective current reward values and the third respective reward values according to the first set of one or more parameters to obtain fourth respective reward values for performing each of the plurality of possible user actions on the first predicted token, the fourth plurality of respective reward values including the first reward value; and selecting the first user action from the plurality of possible user actions based on the fourth respective reward values.
18. The non-transitory computer-readable storage medium of claim 17 , wherein the one or more programs further comprise instructions, which when executed by the one or more processors, cause the electronic device to: train the joint prediction model using a corpus of training data, including: determining the first set of one or more parameters corresponding to the long-term action prediction layer, wherein the first set of one or more parameters is configured to determine long-term reward values for performing actions on predicted tokens.
19. The non-transitory computer-readable storage medium of claim 18 , wherein the corpus of training data includes a plurality of datasets each comprising: a user inputted token; a predicted token following the user inputted token; a second detected user action performed on the predicted token to obtain an updated token; and a confirmation of the updated token.
20. An electronic device, comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: obtaining one or more input tokens; determining, using a joint prediction model, based on the one or more input tokens: a first predicted token following the one or more input tokens and a second predicted token following the first predicted token; and a first user action to be performed on the first predicted token, wherein determining the first user action includes: determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; outputting the first predicted token; after outputting the first predicted token, detecting a user action performed on the first predicted token; and in accordance with a determination that the detected user action does not match the first user action: causing a first set of one or more parameters of the joint prediction model to be updated, wherein the first set of one or more parameters is configured to determine the first user action.
21. The electronic device of claim 20 , wherein: obtaining the one or more input tokens includes obtaining the one or more input tokens based on user input received at a keyboard of the electronic device; and detecting the user action includes detecting the user action via the keyboard.
22. The electronic device of claim 20 , wherein outputting the first predicted token includes displaying, on a display of the electronic device, the first predicted token as a user-selectable suggestion.
23. The electronic device of claim 20 , wherein the one or more input tokens, the first predicted token, and the second predicted token each respectively include a character, a sequence of characters, a word fragment, a word, a sequence of words, or a sentence
24. The electronic device of claim 20 , wherein determining the first user action further includes: determining respective reward values for performing each of a plurality of possible user actions on the first predicted token, the plurality of possible user actions including the first user action; and selecting the first user action from the plurality of possible user actions based on a determination that the first reward value is the highest reward value of the respective reward values.
25. The electronic device of claim 24 , wherein each ofthe respective reward vaiues is a long-term reward value for performing the respective possible user action on the first predicted token.
26. The electronic device of claim 20 , wherein: the first user action corresponds to accepting the first predicted token or rejecting the first predicted token; and the detected user action corresponds to accepting the first predicted token or rejecting the first predicted token.
27. The electronic device of ciaim 20 , wherein the one or more programs further include instructions for: determining that the first user action does not match the detected user action, including determining a type of mismatch between the first user action and the detected user action; and wherein causing the first set of one or more parameters of the joint prediction model to be updated is performed in accordance with a determination that the type of mismatch is a first type of mismatch.
28. The eiectronic device of claim 27 , wherein the tirst type of mismatch includes that the detected user action corresponds to confirming the first predicted token and the first user action corresponds to rejecting the first predicted token.
29. The electronic device of claim 27 , wherein the one or more programs further include instructions for: in accordance with a determination that the type of mismatch is a second type of mismatch, causing a second set of one or more parameters of the joint prediction model to be updated, wherein the second set of one or more parameters is configured to determine the first user action and the second user action.
30. The electronic device ofclaiin 29 , wherein the second type of mismatch includes: that the detected user action corresponds to rejecting the first predicted token by inputting a token not included in a vocabulary of the joint prediction model; and that the first user action corresponds to accepting the first predicted token.
31. The electronic device of claim 27 , wherein the one or more programs further include instructions for: in accordance with a determination that the type of mismatch is a third type of mismatch causing a third set of one or more parameters of the joint prediction model to he updated, wherein the third set of one or more parameters is configured to determine the first predicted token and the second predicted token.
32. The electronic device of claim 31 , wherein the third type of mismatch includes: that the detected user action corresponds to rejecting the first predicted token by inputting a token included in a vocabulary of the joint prediction model; and that the first user action corresponds to confirming the first predicted token.
33. The electronic device of claim 32 , wherein causing the third set of one or more parameters of the joint prediction model to be updated includes updating the third set of one or more parameters to increase a probability of the token included in the vocabulary of the joint prediction model and to decrease a probability of the first predicted token
34. The electronic device of claim 20 , wherein the joint prediction model includes a neural network comprising: an encoding layer; a token prediction layer; and a user action prediction layer.
35. The electronic device of claim 34 , wherein determining the first predicted token and the second predicted token includes: providing a representation of the one or more input tokens to the encoding layer to obtain a first encoding of the one or more input tokens; providing the first encoding to the token prediction layer to obtain the first predicted token; providing a representation of the first predicted token to the encoding layer to obtain a second encoding of the first predicted token; and providing the second encoding to the token prediction layer to obtain the second predicted token.
36. The electronic device of claim 35 , wherein the user action prediction layer includes a current action prediction layer and a long-term action prediction layer, and wherein determining the first user action includes: providing the first encoding to the current action prediction layer to obtain first respective current reward values for perfonning each of a plurality of possible user actions on the first predicted token, the first respective current reward values including the first current reward value; providing the second encoding to the current action prediction layer to obtain second respective current reward values for performing each ofthe plurality of possible user actions on the second predicted token; providing the second respective current reward values to the long-term action prediction layer to obtain third respective reward values for performing each of the plurality of possible user actions on the second predicted token, the third respective reward values including the second reward value; wherein determining the first reward value includes weighting, using the long-term action prediction layer, the first respective current reward values and the third respective reward values according to the first set of one or more parameters to obtain fourth respective reward values for performing each of the plurality of possible user actions on the first predicted token, the fourth plurality of respective reward values including the first reward value; and selecting the first user action from the plurality of possible user actions based on the fourth respective reward values.
37. The electronic device of claim 36 , wherein the one or more programs further include instructions for: training the joint prediction model using a corpus of training data, including: determining the first set of one or more parameters corresponding to the long-term action prediction layer, wherein the first set of one or more parameters is configured to determine long-term reward values for performing actions on predicted tokens.
38. The electronic device of claim 37 , wherein the corpus of training data includes a plurality of datasets each comprising: a user inputted token; a predicted token following the user inputted token; a second detected user action pertornied on the predicted token to obtain an updated token; and a confirmation of the updated token.
39. A method, comprising: at an electronic device with one or more processors and memory: obtaining one or more input tokens; determining, using a joint prediction model, based on the one or more input tokens: a first predicted token following the one or more input tokens and a second predicted token following the first predicted token; and a first user action to be performed on the first predicted token, wherein determining the first user action includes: determining a first reward value for performing the first user action based on a first current reward value for performing the first user action and a second reward value for performing a second user action on the second predicted token; outputting the first predicted token; after outputting the first predicted token, detecting a user action performed on the first predicted token; and in accordance with a determination that the detected user action does not match the first user action: causing a first set of one or more parameters of the joint prediction model to be updated, wherein the first set of one or more parameters is configured to determine the first user action.
40. The method of claim 39 , wherein: obtaining the one or more input tokens includes obtaining the one or more input tokens based on user input received at a keyboard of the electronic device; and detecting the user action includes detecting the user action via the keyboard.
41. The method of claim 39 , wherein outputting the first predicted token includes displaying, on a display of the electronic device, the first predicted token as a user-selectable suggestion.
42. The method of claim 39 , wherein the one or more input tokens, the first predicted token, and the second predicted token each respectively include a character, a sequence of characters, a word fragment, a word, a sequence of words, or a sentence.
43. The method of claim 39 , wherein determining the first user action further includes: determining respective reward values for performing each of a plurality of possible user actions on the first predicted token, the plurality of possible user actions including the first user action; and selecting the first user action from the plurality of possible user actions based on a determination that the first reward value is the highest reward value of the respective reward values.
44. The method of claim 43 , wherein each of the respective reward values is a long-term reward value for performing the respective possible user action on the first predicted token.
45. The method of claim 39 , wherein: the first user action corresponds to accepting the first predicted token or rejecting the first predicted token; and the detected user action corresponds to accepting the first predicted token or rejecting the first predicted token.
46. The method of claim 39 , further comprising: determining that the first user action does not match the detected user action, including determining a type of mismatch between the first user action and the detected user action; and wherein causing the first set of one or more parameters of the joint, prediction model to be updated is performed in accordance with a determination that the type of mismatch is a first type of mismatch.
47. The method of claim 46 , wherein the first type of mismatch includes that the detected user action corresponds to confirming the first predicted token and the first user action corresponds to rejecting the first predicted token.
48. The method of claim 46 , further comprising: in accordance with a determination that the type of mismatch is a second type of mismatch, causing a second set of one or more parameters of the joint prediction model to be updated, wherein the second set of one or more parameters is configured to determine the first user action and the second user action.
49. The method of claim 48 , wherein the second type of mismatch includes: that the detected user action corresponds to rejecting the first predicted token by inputting a token not included in a vocabulary of the joint prediction model; and that the first user action corresponds to accepting the first predicted token.
50. The method of claim 46 , further comprising: in accordance with a determination that the type of mismatch is a third type of mismatch causing a third set of one or more parameters of the joint prediction model to be updated wherein the third set of one or more parameters is configured to determine the first predicted token and the second predicted token.
51. The method of claim 50 , wherein the third type of mismatch inciudes: that the detected user action corresponds to rejecting the tirst predicted token by inputting a token included in a vocabulary of the joint prediction model; and that the first user action corresponds to confirming the fist predicted token.
52. The method of claim 51 , wherein causing the third set of one or more parameters of the joint prediction model to be updated includes updating the third set of one or more parameters to increase a probability of the token included in the vocabulary of the joint prediction model and to decrease a probability of the first predicted token.
53. The method of claim 39 , wherein the joint prediction model includes a neural network comprising: an encoding layer; a token prediction layer; and a user action prediction layer.
54. The method of claim 53 , wherein determining the first predicted token and the second predicted token includes: providing a representation of the one or more input tokens to the encoding layer to obtain a first encoding of the one or more input tokens; providing the first encoding to the token prediction layer to obtain the first predicted token; providing a representation of the first predicted token to the encoding layer to obtain a second encoding of the first predicted token; and providing the second encoding to the token prediction layer to obtain the second predicted token.
55. The method of claim 54 , wherein the user action prediction layer includes a current action prediction layer and a long-term action prediction layer, and wherein determining the first user action includes: providing the tirst encoding to the current action prediction layer to obtain first respective current reward values for performing each of a plurality of possible user actions on the first predicted token the first respective current reward values including the first current reward value; providing the second encoding to the current action prediction layer to obtain second respective current reward values for performing each of the plurality of possible user actions on the second predicted token; providing the second respective current reward values to the long-term action prediction layer to obtain third respective reward values for performing each of the plurality of possible user actions on the second predicted token the third respective reward values including the second reward value; wherein determining the first reward value includes weighting using the long-term action prediction layer, the first respective current reward values and the third respective reward values according to the first set of one or more parameters to obtain fourth respective reward values for performing each of the plurality of possible user actions on the first predicted token, the fourth plurality of respective reward values including the first reward value; and selecting the first user action from the plurality of possible user actions based on the fourth respective reward values.
56. The method ofelairn 55 , further comprising: training the joint prediction model using a corpus of training data, including: determining the first set of one or more parameters corresponding to the long-term action prediction layer, wherein the first set of one or more parameters is configured to determine long-term reward values for performing actions on predicted tokens.
57. The method of claim 56 , wherein the corpus of training data includes a plurality of datasets each comprising: a user inputted token; a predicted token following the user inputted token; a second detected user action perihrnied on the predicted token to obtain an updated token; and a confirmation of the updated token.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 11181988 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2040-08-31 (20 years from filing), a date not yet passed (data version 20261117.2).
- Basis
- term_20y (20 years from filing)
- Term end
- 2040-08-31 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 6 US patent documents · Cited by: 48 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11181988/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "11181988",
"status": "active",
"basis": [
"term_20y"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2040-08-31",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/11181988?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11181988?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11181988/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11181988",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11181988/ - Status record
/api/v1/lapse/status/11181988/ - Claim tree
/api/v1/structure/claims/11181988/ - Brief
/api/v1/structure/brief/11181988/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.