File size: 134,905 Bytes
03185c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
[
    {
        "type": "text",
        "text": "SELF-CONSISTENCY IMPROVES CHAIN OF THOUGHT REASONING IN LANGUAGE MODELS ",
        "text_level": 1,
        "bbox": [
            176,
            98,
            821,
            146
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "Xuezhi Wang†‡, Jason Wei†, Dale Schuurmans†, Quoc Le†, Ed H. Chi†, Sharan Narang†, Aakanksha Chowdhery†, Denny Zhou†§ ",
        "bbox": [
            183,
            167,
            681,
            199
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "†Google Research, Brain Team ‡xuezhiw@google.com, §dennyzhou@google.com ",
        "bbox": [
            184,
            200,
            580,
            228
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "ABSTRACT ",
        "text_level": 1,
        "bbox": [
            454,
            265,
            544,
            281
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "Chain-of-thought prompting combined with pre-trained large language models has achieved encouraging results on complex reasoning tasks. In this paper, we propose a new decoding strategy, self-consistency, to replace the naive greedy decoding used in chain-of-thought prompting. It first samples a diverse set of reasoning paths instead of only taking the greedy one, and then selects the most consistent answer by marginalizing out the sampled reasoning paths. Self-consistency leverages the intuition that a complex reasoning problem typically admits multiple different ways of thinking leading to its unique correct answer. Our extensive empirical evaluation shows that self-consistency boosts the performance of chain-of-thought prompting with a striking margin on a range of popular arithmetic and commonsense reasoning benchmarks, including GSM8K $( + 1 7 . 9 \\% )$ , SVAMP $( + 1 1 . 0 \\% )$ , AQuA $( + 1 2 . 2 \\% )$ , StrategyQA $( + 6 . 4 \\% )$ and ARC-challenge $( + 3 . 9 \\% )$ . ",
        "bbox": [
            233,
            299,
            766,
            467
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "1 INTRODUCTION ",
        "text_level": 1,
        "bbox": [
            176,
            500,
            336,
            516
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "Although language models have demonstrated remarkable success across a range of NLP tasks, their ability to demonstrate reasoning is often seen as a limitation, which cannot be overcome solely by increasing model scale (Rae et al., 2021; BIG-bench collaboration, 2021, inter alia). In an effort to address this shortcoming, Wei et al. (2022) have proposed chain-of-thought prompting, where a language model is prompted to generate a series of short sentences that mimic the reasoning process a person might employ in solving a task. For example, given the question “If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot?”, instead of directly responding with “5”, a language model would be prompted to respond with the entire chain-of-thought: “There are 3 cars in the parking lot already. 2 more arrive. Now there are $3 +$ $2 = 5$ cars. The answer is 5.”. It has been observed that chain-of-thought prompting significantly improves model performance across a variety of multi-step reasoning tasks (Wei et al., 2022). ",
        "bbox": [
            174,
            535,
            825,
            686
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "In this paper, we introduce a novel decoding strategy called self-consistency to replace the greedy decoding strategy used in chain-of-thought prompting (Wei et al., 2022), that further improves language models’ reasoning performance by a significant margin. Self-consistency leverages the intuition that complex reasoning tasks typically admit multiple reasoning paths that reach a correct answer (Stanovich & West, 2000). The more that deliberate thinking and analysis is required for a problem (Evans, 2010), the greater the diversity of reasoning paths that can recover the answer. ",
        "bbox": [
            174,
            694,
            825,
            777
        ],
        "page_idx": 0
    },
    {
        "type": "text",
        "text": "Figure 1 illustrates the self-consistency method with an example. We first prompt the language model with chain-of-thought prompting, then instead of greedily decoding the optimal reasoning path, we propose a “sample-and-marginalize” decoding procedure: we first sample from the language model’s decoder to generate a diverse set of reasoning paths; each reasoning path might lead to a different final answer, so we determine the optimal answer by marginalizing out the sampled reasoning paths to find the most consistent answer in the final answer set. Such an approach is analogous to the human experience that if multiple different ways of thinking lead to the same answer, one has greater confidence that the final answer is correct. Compared to other decoding methods, self-consistency avoids the repetitiveness and local-optimality that plague greedy decoding, while mitigating the stochasticity of a single sampled generation. ",
        "bbox": [
            174,
            785,
            825,
            924
        ],
        "page_idx": 0
    },
    {
        "type": "image",
        "img_path": "images/e52f9a62e8d5a9a773304db1105dd4959b748fa605157f43d522da76b851f3c2.jpg",
        "image_caption": [
            "Figure 1: The self-consistency method contains three steps: (1) prompt a language model using chain-of-thought (CoT) prompting; (2) replace the “greedy decode” in CoT prompting by sampling from the language model’s decoder to generate a diverse set of reasoning paths; and (3) marginalize out the reasoning paths and aggregate by choosing the most consistent answer in the final answer set. "
        ],
        "image_footnote": [],
        "bbox": [
            173,
            94,
            823,
            325
        ],
        "page_idx": 1
    },
    {
        "type": "text",
        "text": "Self-consistency is far simpler than prior approaches that either train an additional verifier (Cobbe et al., 2021) or train a re-ranker given additional human annotations to improve generation quality (Thoppilan et al., 2022). Instead, self-consistency is entirely unsupervised, works off-the-shelf with pre-trained language models, requires no additional human annotation, and avoids any additional training, auxiliary models or fine-tuning. Self-consistency also differs from a typical ensemble approach where multiple models are trained and the outputs from each model are aggregated, it acts more like a “self-ensemble” that works on top of a single language model. ",
        "bbox": [
            174,
            412,
            825,
            511
        ],
        "page_idx": 1
    },
    {
        "type": "text",
        "text": "We evaluate self-consistency on a wide range of arithmetic and commonsense reasoning tasks over four language models with varying scales: the public UL2-20B (Tay et al., 2022) and GPT-3-175B (Brown et al., 2020), and two densely-activated decoder-only language models: LaMDA-137B (Thoppilan et al., 2022) and PaLM-540B (Chowdhery et al., 2022). On all four language models, self-consistency improves over chain-of-thought prompting by a striking margin across all tasks. In particular, when used with PaLM-540B or GPT-3, self-consistency achieves new state-of-the-art levels of performance across arithmetic reasoning tasks, including GSM8K (Cobbe et al., 2021) $( + 1 7 . 9 \\%$ absolute accuracy gains), SVAMP (Patel et al., 2021) $( + 1 1 . 0 \\% )$ , AQuA (Ling et al., 2017) $( + 1 2 . 2 \\% )$ , and across commonsense reasoning tasks such as StrategyQA (Geva et al., 2021) $( + 6 . 4 \\% )$ and ARCchallenge (Clark et al., 2018) $( + 3 . 9 \\% )$ . In additional experiments, we show self-consistency can robustly boost performance on NLP tasks where adding a chain-of-thought might hurt performance compared to standard prompting (Ye & Durrett, 2022). We also show self-consistency significantly outperforms sample-and-rank, beam search, ensemble-based approaches, and is robust to sampling strategies and imperfect prompts. ",
        "bbox": [
            173,
            517,
            826,
            712
        ],
        "page_idx": 1
    },
    {
        "type": "text",
        "text": "2 SELF-CONSISTENCY OVER DIVERSE REASONING PATHS ",
        "text_level": 1,
        "bbox": [
            176,
            732,
            671,
            748
        ],
        "page_idx": 1
    },
    {
        "type": "text",
        "text": "A salient aspect of humanity is that people think differently. It is natural to suppose that in tasks requiring deliberate thinking, there are likely several ways to attack the problem. We propose that such a process can be simulated in language models via sampling from the language model’s decoder. For instance, as shown in Figure 1, a model can generate several plausible responses to a math question that all arrive at the same correct answer (Outputs 1 and 3). Since language models are not perfect reasoners, the model might also produce an incorrect reasoning path or make a mistake in one of the reasoning steps (e.g., in Output 2), but such solutions are less likely to arrive at the same answer. That is, we hypothesize that correct reasoning processes, even if they are diverse, tend to have greater agreement in their final answer than incorrect processes. ",
        "bbox": [
            174,
            762,
            825,
            888
        ],
        "page_idx": 1
    },
    {
        "type": "text",
        "text": "We leverage this intuition by proposing the following self-consistency method. First, a language model is prompted with a set of manually written chain-of-thought exemplars (Wei et al., 2022). Next, we sample a set of candidate outputs from the language model’s decoder, generating a diverse set of candidate reasoning paths. Self-consistency is compatible with most existing sampling algorithms, including temperature sampling (Ackley et al., 1985; Ficler & Goldberg, 2017), top- $k$ sampling (Fan et al., 2018; Holtzman et al., 2018; Radford et al., 2019), and nucleus sampling (Holtzman et al., 2020). Finally, we aggregate the answers by marginalizing out the sampled reasoning paths and choosing the answer that is the most consistent among the generated answers. ",
        "bbox": [
            174,
            895,
            823,
            924
        ],
        "page_idx": 1
    },
    {
        "type": "table",
        "img_path": "images/3b2cd57e585e6cd3793712104f9213ec2320764940344dadad4a68a3bafaa8d5.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 1: Accuracy comparison of different answer aggregation strategies on PaLM-540B. "
        ],
        "table_body": "<table><tr><td></td><td>GSM8K</td><td>MultiArith</td><td>AQuA</td><td>SVAMP</td><td>CSQA</td><td>ARC-c</td></tr><tr><td>Greedy decode</td><td>56.5</td><td>94.7</td><td>35.8</td><td>79.0</td><td>79.0</td><td>85.2</td></tr><tr><td>Weighted avg (unnormalized)</td><td>56.3±0.0</td><td>90.5±0.0</td><td>35.8±0.0</td><td>73.0±0.0</td><td>74.8±0.0</td><td>82.3 ±0.0</td></tr><tr><td>Weighted avg (normalized)</td><td>22.1 ± 0.0</td><td>59.7 ± 0.0</td><td>15.7 ± 0.0</td><td>40.5± 0.0</td><td>52.1±0.0</td><td>51.7 ± 0.0</td></tr><tr><td>Weighted sum (unnormalized)</td><td>59.9 ± 0.0</td><td>92.2 ± 0.0</td><td>38.2 ± 0.0</td><td>76.2 ± 0.0</td><td>76.2 ± 0.0</td><td>83.5± 0.0</td></tr><tr><td>Weighted sum (normalized)</td><td>74.1 ± 0.0</td><td>99.3 ± 0.0</td><td>48.0± 0.0</td><td>86.8± 0.0</td><td>80.7± 0.0</td><td>88.7 ±0.0</td></tr><tr><td>Unweighted sum (majority vote)</td><td>)74.4 ±0.1</td><td>99.3 ± 0.0</td><td>48.3 ± 0.5</td><td>86.6 ± 0.1</td><td>80.7 ± 0.1</td><td>88.7 ± 0.1</td></tr></table>",
        "bbox": [
            179,
            92,
            813,
            215
        ],
        "page_idx": 2
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            173,
            248,
            825,
            332
        ],
        "page_idx": 2
    },
    {
        "type": "text",
        "text": "In more detail, assume the generated answers ${ \\bf a } _ { i }$ are from a fixed answer set, $\\mathbf { a } _ { i } \\in \\mathbb { A }$ , where $i = 1 , \\ldots , m$ indexes the $m$ candidate outputs sampled from the decoder. Given a prompt and a question, self-consistency introduces an additional latent variable $\\mathbf { r } _ { i }$ , which is a sequence of tokens representing the reasoning path in the $i$ -th output, then couples the generation of $( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } )$ where $\\mathbf { r } _ { i }  \\mathbf { a } _ { i }$ , i.e., generating a reasoning path $\\mathbf { r } _ { i }$ is optional and only used to reach the final answer ${ \\bf a } _ { i }$ . As an example, consider Output 3 from Figure 1: the first few sentences “She eats 3 for breakfast ... So she has $9 e g g s * \\mathbb { S } 2 = \\mathbb { S } I \\mathbb { S } .$ ” constitutes $\\mathbf { r } _ { i }$ , while the answer 18 from the last sentence, “The answer is $\\$ 18$ , is parsed as ${ \\bf a } _ { i }$ .1 After sampling multiple $\\left( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } \\right)$ from the model’s decoder, self-consistency applies a marginalization over $\\mathbf { r } _ { i }$ by taking a majority vote over ${ \\bf a } _ { i }$ , i.e., arg maxa $\\begin{array} { r } { \\sum _ { i = 1 } ^ { m } \\mathbb { 1 } ( \\mathbf { a } _ { i } = a ) } \\end{array}$ or as we defined as the most “consistent” answer among the final answer set. ",
        "bbox": [
            173,
            339,
            825,
            478
        ],
        "page_idx": 2
    },
    {
        "type": "text",
        "text": "In Table 1, we show the test accuracy over a set of reasoning tasks by using different answer aggregation strategies. In addition to majority vote, one can also weight each $( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } )$ by $P ( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } \\mid$ prompt, question) when aggregating the answers. Note to compute $P ( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } \\mid$ prompt, question), we can either take the unnormalized probability of the model generating $( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } )$ given (prompt, question), or we can normalize the conditional probability by the output length (Brown et al., 2020), i.e., ",
        "bbox": [
            174,
            484,
            825,
            555
        ],
        "page_idx": 2
    },
    {
        "type": "equation",
        "img_path": "images/0c8616227ad4905d31563f061c91a6070732dfd0a9e07d3c31723b8da05aed58.jpg",
        "text": "$$\n\\begin{array} { r } { P ( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } \\mid \\mathrm { p r o m p t } , \\mathbf { q u e s t i o n } ) = \\exp ^ { \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\log P ( t _ { k } | \\mathrm { p r o m p t } , \\mathbf { q u e s t i o n } , t _ { 1 } , \\dots , t _ { k - 1 } ) } , } \\end{array}\n$$",
        "text_format": "latex",
        "bbox": [
            256,
            563,
            740,
            583
        ],
        "page_idx": 2
    },
    {
        "type": "text",
        "text": "where $\\log { P ( t _ { k } \\ | }$ prompt, question, $t _ { 1 } , \\ldots , t _ { k - 1 } )$ ) is the log probability of generating the $k$ -th token $t _ { k }$ in $\\left( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } \\right)$ conditioned on the previous tokens, and $K$ is the total number of tokens in $( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } )$ . In Table 1, we show that taking the “unweighted sum”, i.e., taking a majority vote directly over ${ \\bf a } _ { i }$ yields a very similar accuracy as aggregating using the “normalized weighted sum”. We took a closer look at the model’s output probabilities and found this is because for each $( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } )$ , the normalized conditional probabilities $P ( \\mathbf { r } _ { i } , \\mathbf { a } _ { i } \\mid$ prompt, question) are quite close to each other, i.e., the language model regards those generations as “similarly likely”.2 Additionally, when aggregating the answers, the results in Table 1 show that the “normalized” weighted sum (i.e., Equation 1) yields a much higher accuracy compared to its unnormalized counterpart. For completeness, in Table 1 we also report the results by taking a “weighted average”, i.e., each $a$ gets a score of its weighted sum divided by $\\Sigma _ { i = 1 } ^ { m } \\mathbb { 1 } ( \\mathbf { a } _ { i } = \\bar { a } )$ , which results in a much worse performance. ",
        "bbox": [
            174,
            590,
            825,
            744
        ],
        "page_idx": 2
    },
    {
        "type": "text",
        "text": "Self-consistency explores an interesting space between open-ended text generation and optimal text generation with a fixed answer. Reasoning tasks typically have fixed answers, which is why researchers have generally considered greedy decoding approaches (Radford et al., 2019; Wei et al., 2022; Chowdhery et al., 2022). However, we have found that even when the desired answer is fixed, introducing diversity in the reasoning processes can be highly beneficial; therefore we leverage sampling, as commonly used for open-ended text generation (Radford et al., 2019; Brown et al., 2020; Thoppilan et al., 2022), to achieve this goal. One should note that self-consistency can be applied only to problems where the final answer is from a fixed answer set, but in principle this approach can be extended to open-text generation problems if a good metric of consistency can be defined between multiple generations, e.g., whether two answers agree or contradict each other. ",
        "bbox": [
            173,
            751,
            825,
            820
        ],
        "page_idx": 2
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            174,
            103,
            825,
            174
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "3 EXPERIMENTS ",
        "text_level": 1,
        "bbox": [
            176,
            194,
            326,
            209
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "We conducted a series of experiments to compare the proposed self-consistency method with existing approaches on a range of reasoning benchmarks. We find that self-consistency robustly improves reasoning accuracy for every language model considered, spanning a wide range of model scales. ",
        "bbox": [
            174,
            224,
            825,
            267
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "3.1 EXPERIMENT SETUP ",
        "text_level": 1,
        "bbox": [
            176,
            284,
            354,
            297
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "Tasks and datasets. We evaluate self-consistency on the following reasoning benchmarks.3 • Arithmetic reasoning. For these tasks, we used the Math Word Problem Repository (KoncelKedziorski et al., 2016), including AddSub (Hosseini et al., 2014), MultiArith (Roy & Roth, 2015), and ASDiv (Miao et al., 2020). We also included AQUA-RAT (Ling et al., 2017), a recently published benchmark of grade-school-math problems (GSM8K; Cobbe et al., 2021), and a challenge dataset over math word problems (SVAMP; Patel et al., 2021). • Commonsense reasoning. For these tasks, we used CommonsenseQA (Talmor et al., 2019), StrategyQA (Geva et al., 2021), and the AI2 Reasoning Challenge (ARC) (Clark et al., 2018). • Symbolic Reasoning. We evaluate two symbolic reasoning tasks: last letter concatenation (e.g., the input is “Elon Musk” and the output should be “nk”), and Coinflip (e.g., a coin is heads-up, after a few flips is the coin still heads-up?) from Wei et al. (2022). ",
        "bbox": [
            173,
            309,
            785,
            324
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            184,
            330,
            826,
            479
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "Language models and prompts. We evaluate self-consistency over four transformer-based language models with varying scales: ",
        "bbox": [
            176,
            489,
            825,
            518
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "• UL2 (Tay et al., 2022) is an encoder-decoder model trained on a mixture of denoisers with 20- billion parameters. UL2 is completely open-sourced4 and has similar or better performance than GPT-3 on zero-shot SuperGLUE, with only 20B parameters and thus is more compute-friendly; • GPT-3 (Brown et al., 2020) with 175-billion parameters. We use two public engines code-davinci001 and code-davinci-002 from the Codex series (Chen et al., 2021) to aid reproducibility;5 • LaMDA-137B (Thoppilan et al., 2022) is a dense left-to-right, decoder-only language model with 137-billion parameters, pre-trained on a mixture of web documents, dialog data and Wikipedia; • PaLM-540B (Chowdhery et al., 2022) is a dense left-to-right, decoder-only language model with 540-billion parameters, pre-trained on a high quality corpus of 780 billion tokens with filtered webpages, books, Wikipedia, news articles, source code, and social media conversations. ",
        "bbox": [
            184,
            525,
            826,
            678
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "We perform all experiments in the few-shot setting, without training or fine-tuning the language models. For a fair comparison we use the same prompts as in Wei et al. (2022): for all arithmetic reasoning tasks we use the same set of 8 manually written exemplars; for each commonsense reasoning task, 4-7 exemplars are randomly chosen from the training set with manually composed chain-of-thought prompts.6 Full details on the prompts used are given in Appendix A.3. ",
        "bbox": [
            174,
            681,
            825,
            751
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "Sampling scheme. To sample diverse reasoning paths, we followed similar settings to those suggested in Radford et al. (2019); Holtzman et al. (2020) for open-text generation. In particular, for UL2-20B and LaMDA-137B we applied temperature sampling with $T = 0 . 5$ and truncated at the top- $k$ $k = 4 0$ ) tokens with the highest probability, for PaLM-540B we applied $T = 0 . 7 , k = 4 0$ , and for GPT-3 we use $T = 0 . 7$ without top- $k$ truncation. We provide an ablation study in Section 3.5 to show that self-consistency is generally robust to sampling strategies and parameters. ",
        "bbox": [
            173,
            757,
            825,
            840
        ],
        "page_idx": 3
    },
    {
        "type": "text",
        "text": "3.2 MAIN RESULTS ",
        "text_level": 1,
        "bbox": [
            174,
            103,
            323,
            117
        ],
        "page_idx": 4
    },
    {
        "type": "text",
        "text": "We report the results of self-consistency averaged over 10 runs, where we sampled 40 outputs independently from the decoder in each run. The baseline we compare to is chain-of-thought prompting with greedy decoding (Wei et al., 2022), referred to as CoT-prompting, which has been previously used for decoding in large language models (Chowdhery et al., 2022). ",
        "bbox": [
            174,
            131,
            825,
            186
        ],
        "page_idx": 4
    },
    {
        "type": "text",
        "text": "Arithmetic Reasoning The results are shown in Table 2.7 Self-consistency improves the arithmetic reasoning performance over all four language models significantly over chain-of-thought prompting. More surprisingly, the gains become more significant when the language model’s scale increases, e.g., we see $+ 3 \\% { - } 6 \\%$ absolute accuracy improvement over UL2-20B but $+ 9 \\% - 2 3 \\%$ for LaMDA137B and GPT-3. For larger models that already achieve high accuracy on most tasks (e.g., GPT-3 and PaLM-540B), self-consistency still contributes significant additional gains with $+ 1 2 \\% - 1 8 \\%$ absolute accuracy on tasks like AQuA and GSM8K, and $+ 7 \\% - 1 1 \\%$ on SVAMP and ASDiv. With self-consistency, we achieve new state-of-the-art results on almost all tasks: despite the fact that selfconsistency is unsupervised and task-agnostic, these results compare favorably to existing approaches that require task-specific training, or fine-tuning with thousands of examples (e.g., on GSM8K). ",
        "bbox": [
            174,
            194,
            826,
            334
        ],
        "page_idx": 4
    },
    {
        "type": "table",
        "img_path": "images/ad8eb7a4ba458e81dd1393b4cc37e53d9b422e624fa5920be835dfb93ed951ad.jpg",
        "table_caption": [
            "Table 2: Arithmetic reasoning accuracy by self-consistency compared to chain-of-thought prompting (Wei et al., 2022). The previous SoTA baselines are obtained from: a: Relevance and LCA operation classifier (Roy & Roth, 2015), b: Lan et al. (2021), c: Amini et al. (2019), d: Pi et al. (2022), e: GPT-3 175B finetuned with $7 . 5 \\mathrm { k }$ examples (Cobbe et al., 2021), $g$ : GPT-3 175B finetuned plus an additional 175B verifier (Cobbe et al., 2021). The best performance for each task is shown in bold. "
        ],
        "table_footnote": [],
        "table_body": "<table><tr><td></td><td>Method</td><td>AddSub</td><td>MultiArith</td><td>ASDiv</td><td>AQuA</td><td>SVAMP</td><td>GSM8K</td></tr><tr><td></td><td>Previous SoTA</td><td>94.9a</td><td>60.5a</td><td>75.36</td><td>37.9c</td><td>57.4d</td><td>35e / 55g</td></tr><tr><td>UL2-20B</td><td>CoT-prompting Self-consistency</td><td>18.2 24.8 (+6.6)</td><td>10.7 15.0 (+4.3)</td><td>16.9 21.5 (+4.6)</td><td>23.6 26.9 (+3.3)</td><td>12.6 19.4 (+6.8)</td><td>4.1 7.3 (+3.2)</td></tr><tr><td>LaMDA-137B</td><td>CoT-prompting Self-consistency</td><td>52.9 63.5 (+10.6)</td><td>51.8 75.7 (+23.9)</td><td>49.0 58.2 (+9.2)</td><td>17.7 26.8 (+9.1)</td><td>38.9 53.3 (+14.4)</td><td>17.1 27.7 (+10.6)</td></tr><tr><td>PaLM-540B</td><td>CoT-prompting Self-consistency</td><td>91.9 93.7 (+1.8)</td><td>94.7 99.3 (+4.6)</td><td>74.0 81.9 (+7.9)</td><td>35.8 48.3 (+12.5)</td><td>79.0 86.6 (+7.6)</td><td>56.5 74.4 (+17.9)</td></tr><tr><td>GPT-3 Code-davinci-001</td><td>CoT-prompting Self-consistency</td><td>57.2 67.8 (+10.6)</td><td>59.5 82.7 (+23.2)</td><td>52.7 61.9 (+9.2)</td><td>18.9 25.6 (+6.7)</td><td>39.8 54.5 (+14.7)</td><td>14.6 23.4 (+8.8)</td></tr><tr><td>GPT-3 Code-davinci-002</td><td>CoT-prompting Self-consistency</td><td>89.4 91.6 (+2.2)</td><td>96.2 100.0 (+3.8)</td><td>80.1 87.8 (+7.6)</td><td>39.8 52.0 (+12.2)</td><td>75.8 86.8 (+11.0)</td><td>60.1 78.0 (+17.9)</td></tr></table>",
        "bbox": [
            174,
            344,
            820,
            542
        ],
        "page_idx": 4
    },
    {
        "type": "table",
        "img_path": "images/980d8b4da019551486244a291a41567c364a9fecbc499f427ea0b504874f435b.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 3: Commonsense and symbolic reasoning accuracy by self-consistency compared to chainof-thought prompting (Wei et al., 2022). The previous SoTA baselines are obtained from: $a$ : DeBERTaV3-large $^ +$ KEAR ( $\\mathrm { { X u } }$ et al., 2021b), $b$ : Chowdhery et al. (2022), c: UnifiedQA-FT (Khashabi et al., 2020). The best performance for each task is shown in bold. "
        ],
        "table_body": "<table><tr><td></td><td>Method</td><td>CSQA</td><td>StrategyQA</td><td>ARC-e</td><td>ARC-c</td><td>Letter (4)</td><td>Coinflip (4)</td></tr><tr><td></td><td>Previous SoTA</td><td>91.2a</td><td>73.96</td><td>86.4℃</td><td>75.0℃</td><td>N/A</td><td>N/A</td></tr><tr><td>UL2-20B</td><td>CoT-prompting Self-consistency</td><td>51.4 55.7 (+4.3)</td><td>53.3 54.9 (+1.6)</td><td>61.6 69.8 (+8.2)</td><td>42.9 49.5 (+6.8)</td><td>0.0 0.0 (+0.0)</td><td>50.4 50.5 (+0.1)</td></tr><tr><td>LaMDA-137B</td><td>CoT-prompting Self-consistency</td><td>57.9 63.1 (+5.2)</td><td>65.4 67.8 (+2.4)</td><td>75.3 79.3 (+4.0)</td><td>55.1 59.8 (+4.7)</td><td>8.2 8.2 (+0.0)</td><td>72.4 73.5 (+1.1)</td></tr><tr><td>PaLM-540B</td><td>CoT-prompting Self-consistency</td><td>79.0 80.7 (+1.7)</td><td>75.3 81.6 (+6.3)</td><td>95.3 96.4 (+1.1)</td><td>85.2 88.7 (+3.5)</td><td>65.8 70.8 (+5.0)</td><td>88.2 91.2 (+3.0)</td></tr><tr><td>GPT-3 Code-davinci-001</td><td>CoT-prompting Self-consistency</td><td>46.6 54.9 (+8.3)</td><td>56.7 61.7 (+5.0)</td><td>63.1 72.1 (+9.0)</td><td>43.1</td><td>7.8 10.0 (+2.2)</td><td>71.4 75.9 (+4.5)</td></tr><tr><td>GPT-3</td><td>CoT-prompting</td><td>79.0</td><td>73.4</td><td>94.0</td><td>53.7 (+10.6) 83.6</td><td>70.4</td><td>99.0</td></tr></table>",
        "bbox": [
            176,
            626,
            818,
            825
        ],
        "page_idx": 4
    },
    {
        "type": "text",
        "text": "Commonsense and Symbolic Reasoning Table 3 shows the results on commonsense and symbolic reasoning tasks. Similarly, self-consistency yields large gains across all four language models, and obtained SoTA results on 5 out of 6 tasks. For symbolic reasoning, we test the out-of-distribution (OOD) setting where the input prompt contains examples of 2-letters or 2-flips but we test examples of 4-letters and 4-flips (this setting is more challenging as PaLM-540B or GPT-3 can already achieve perfect in-distribution accuracy). In this challenging OOD setting, the gain of self-consistency is still quite significant compared to CoT-prompting with sufficient model sizes. ",
        "bbox": [
            173,
            103,
            825,
            202
        ],
        "page_idx": 5
    },
    {
        "type": "text",
        "text": "To show the effect of the number of sampled reasoning paths, we plot the accuracy (mean and standard deviation over 10 runs) with respect to varying numbers of sampled paths (1, 5, 10, 20, 40) in Figure 2. The results show that sampling a higher number (e.g., 40) of reasoning paths leads to a consistently better performance, further emphasizing the importance of introducing diversity in the reasoning paths. In Table 4, we show self-consistency yields a richer set of reasoning paths compared to greedy decoding with a few example questions from two tasks. ",
        "bbox": [
            173,
            208,
            825,
            291
        ],
        "page_idx": 5
    },
    {
        "type": "image",
        "img_path": "images/91c0b57fce63bbd74bd5c37ac54affcd3ffead95ee070efede9bc60786bb0af7.jpg",
        "image_caption": [
            "Figure 2: Self-consistency (blue) significantly improves accuracy over CoT-prompting with greedy decoding (orange) across arithmetic and commonsense reasoning tasks, over LaMDA-137B. Sampling a higher number of diverse reasoning paths consistently improves reasoning accuracy. "
        ],
        "image_footnote": [],
        "bbox": [
            173,
            297,
            821,
            382
        ],
        "page_idx": 5
    },
    {
        "type": "table",
        "img_path": "images/18c41d5d71228a94608d14be0febdd6cf05d0aa079e6b2c0cae3cbc9617cea85.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 4: Examples where self-consistency helps repair the errors over greedy decode, on PaLM-540B. Two sampled reasoning paths that are consistent with the ground truth are shown. "
        ],
        "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>GSM8K                                                       StrategyQA</td></tr><tr><td rowspan=1 colspan=1>Question</td><td rowspan=1 colspan=1>Henry made two stops during his 6O-mile bike trip.Hefirst stopped after 20miles.His second stop was15 milesbefore the end of the trip.How many milesdid he travel between his first and second stops?</td><td rowspan=1 colspan=1>Yes or no:IsAlbany,Georgia the most populousUSAlbany?</td></tr><tr><td rowspan=1 colspan=1>GreedyDecode</td><td rowspan=1 colspan=1>He traveled 6O miles in total.He stopped after 20 miles,so he traveled 60 -20= 40 miles between the first and second stops. The answer is 40.</td><td rowspan=1 colspan=1>Albany, Georgia is the most populous US Al-bany. Thus,the answer is yes.</td></tr><tr><td rowspan=1 colspan=1>SampledPath 1</td><td rowspan=1 colspan=1>Henry travelled a total of 6O miles.His first stop was 2O miles in,and hissecond stop was 15 miles before the end. So between his first and second stopshe travelled 60 -20-15=25 miles. The answer is 25.</td><td rowspan=1 colspan=1>The most populous US Albany is Albany, NewYork.Thus,Albany,Georgia is not the mostpopulous US Albany. So the answer is no.</td></tr><tr><td rowspan=1 colspan=1>SampledPath 2</td><td rowspan=1 colspan=1>He made two stops during a 6O-mile trip. The first was 2O miles into the trip.The second was 15 miles before the end of the trip. This means the second stopWas 60 -15=45 miles into the trip. Since he made the stops in order,the second stop must have been 45 -20 = 25 miles after the first stop.The answer is 25.</td><td rowspan=1 colspan=1>Albany,Georgia has a population of about 88,000. Albany, New York has a population ofabout 95,Ooo. Thus,Albany, Georgia is not themost populous US Albany. So the answer is no.</td></tr></table>",
        "bbox": [
            173,
            443,
            838,
            604
        ],
        "page_idx": 5
    },
    {
        "type": "text",
        "text": "3.3 SELF-CONSISTENCY HELPS WHEN CHAIN-OF-THOUGHT HURTS PERFORMANCE ",
        "text_level": 1,
        "bbox": [
            171,
            659,
            772,
            672
        ],
        "page_idx": 5
    },
    {
        "type": "text",
        "text": "Ye & Durrett (2022) show that sometimes chain-of-thought prompting could hurt performance compared to standard prompting in few-shot in-context learning. Here we perform a study using self-consistency to see if it can help fill in the gap, over a set of common NLP tasks, including (1) Closed-Book Question Answering: BoolQ (Clark et al., 2019), HotpotQA (Yang et al., 2018), and (2) Natural Language Inference: e-SNLI (Camburu et al., 2018), ANLI (Nie et al., 2020) and RTE (Dagan et al., 2005; Bar-Haim et al., 2006; Giampiccolo et al., 2007; Bentivogli et al., 2009). ",
        "bbox": [
            173,
            684,
            825,
            768
        ],
        "page_idx": 5
    },
    {
        "type": "text",
        "text": "The results over PaLM-540B are shown in Table 5. For some tasks (e.g., ANLI-R1, e-SNLI, RTE), adding chain-of-thought does hurt performance compared to standard prompting (Brown et al., 2020), but self-consistency is able to robustly boost the performance and outperform standard prompting, making it a reliable way to add rationales in few-shot in-context learning for common NLP tasks. ",
        "bbox": [
            174,
            775,
            826,
            832
        ],
        "page_idx": 5
    },
    {
        "type": "table",
        "img_path": "images/7f85e50e4b2aded9ff56412f6edcc4084f0058d19aa551b00c9679744e41b05f.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 5: Compare Standard/CoT prompting with self-consistency on common NLP tasks. "
        ],
        "table_body": "<table><tr><td></td><td>ANLIR1/R2/R3</td><td>e-SNLI</td><td>RTE</td><td>BoolQ</td><td>HotpotQA (EM/F1)</td></tr><tr><td>Standard-prompting (no-rationale)</td><td>69.1 / 55.8 / 55.8</td><td>85.8</td><td>84.8</td><td>71.3</td><td>27.1/36.8</td></tr><tr><td>CoT-prompting (Wei et al.,2022)</td><td>68.8 / 58.9 / 60.6</td><td>81.0</td><td>79.1</td><td>74.2</td><td>28.9/39.8</td></tr><tr><td>Self-consistency</td><td>78.5 / 64.5 / 63.4</td><td>88.4</td><td>86.3</td><td>78.4</td><td>33.8 / 44.6</td></tr></table>",
        "bbox": [
            184,
            834,
            810,
            909
        ],
        "page_idx": 5
    },
    {
        "type": "text",
        "text": "3.4 COMPARE TO OTHER EXISTING APPROACHES",
        "text_level": 1,
        "bbox": [
            178,
            104,
            522,
            117
        ],
        "page_idx": 6
    },
    {
        "type": "text",
        "text": "We conduct a set of additional studies and show that self-consistency significantly outperforms existing methods including sample-and-rank, beam search, and ensemble-based approaches. ",
        "bbox": [
            171,
            130,
            823,
            159
        ],
        "page_idx": 6
    },
    {
        "type": "text",
        "text": "Comparison to Sample-and-Rank One commonly used approach to improve generation quality is sample-and-rank, where multiple sequences are sampled from the decoder and then ranked according to each sequence’s log probability (Adiwardana et al., 2020). We compare self-consistency with sample-and-rank on GPT-3 code-davinci-001, by sampling the same number of sequences from the decoder as self-consistency and taking the final answer from the top-ranked sequence. The results are shown in Figure 3. While sample-and-rank does improve the accuracy with additionally sampled sequences and ranking, the gain is much smaller compared to self-consistency. ",
        "bbox": [
            173,
            166,
            825,
            265
        ],
        "page_idx": 6
    },
    {
        "type": "image",
        "img_path": "images/211c58f5fc739ddbb34ca25bc8a91e11996e73243a0ad766cce0146bc55d347b.jpg",
        "image_caption": [
            "Figure 3: Self-consistency significantly outperforms sample-and-rank with the same # of samples. "
        ],
        "image_footnote": [],
        "bbox": [
            174,
            272,
            826,
            383
        ],
        "page_idx": 6
    },
    {
        "type": "text",
        "text": "Comparison to Beam Search In Table 6, we compare self-consistency with beam search decoding on the UL2-20B model. For a fair comparison we report the accuracy under the same number of beams and reasoning paths. On both tasks self-consistency outperforms beam search significantly. Note self-consistency can also adopt beam search to decode each reasoning path (results are shown as “Self-consistency using beam search”), but its performance is worse compared to self-consistency with sampling. The reason is that beam search yields a lower diversity in the outputs (Li & Jurafsky, 2016), while in self-consistency the diversity of the reasoning paths is the key to a better performance. ",
        "bbox": [
            173,
            410,
            825,
            508
        ],
        "page_idx": 6
    },
    {
        "type": "table",
        "img_path": "images/2f5cee305bdaee073493c2f77f89b50ba4dea4d12e343c21efb428a68744b14b.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 6: Compare self-consistency with beam search decoding on the UL2-20B model. "
        ],
        "table_body": "<table><tr><td></td><td>Beam size / Self-consistency paths</td><td>1</td><td>5</td><td>10</td><td>20</td><td>40</td></tr><tr><td rowspan=\"2\">AQuA</td><td>Beam search decoding (top beam)</td><td>23.6 23.6</td><td>19.3 19.8 ± 0.3</td><td>16.1</td><td>15.0</td><td>10.2</td></tr><tr><td>Self-consistency using beam search Self-consistency using sampling</td><td>19.7 ± 2.5</td><td>24.9 ± 2.6</td><td>21.2 ±0.7 25.3 ± 1.8</td><td>24.6 ± 0.4 26.7 ± 1.0</td><td>24.2 ±0.5 26.9 ± 0.5</td></tr><tr><td rowspan=\"2\">MultiArith</td><td></td><td>10.7</td><td>12.0</td><td>11.3</td><td></td><td></td></tr><tr><td>Beam search decoding (top beam)</td><td></td><td></td><td></td><td>11.0</td><td>10.5</td></tr><tr><td rowspan=\"2\"></td><td>Self-consistency using beam search</td><td>10.7</td><td>11.8 ± 0.0</td><td>11.4 ± 0.1</td><td>12.3 ± 0.1</td><td>10.8 ±0.1</td></tr><tr><td>Self-consistency using sampling</td><td>9.5 ± 1.2</td><td>11.3 ± 1.2</td><td>12.3 ± 0.8</td><td>13.7 ± 0.9</td><td>14.7 ± 0.3</td></tr></table>",
        "bbox": [
            183,
            513,
            812,
            625
        ],
        "page_idx": 6
    },
    {
        "type": "text",
        "text": "Comparison to Ensemble-based Approaches We further compare self-consistency to ensemblebased methods for few-shot learning. In particular, we consider ensembling by: (1) prompt order permutation: we randomly permute the exemplars in the prompt 40 times to mitigate model’s sensitivity to prompt order (Zhao et al., 2021; Lu et al., 2021); and (2) multiple sets of prompts (Gao et al., 2021): we manually write 3 different sets of prompts. We took majority vote of the answers from greedy decoding in both approaches as an ensemble. Table 7 shows that compared to self-consistency, existing ensemble-based approaches achieve a much smaller gain.8 In addition, note that self-consistency is different from a typical model-ensemble approach, where multiple models are trained and their outputs are aggregated. Self-consistency acts more like a “self-ensemble” on top of a single language model. We additionally show the results of ensembling multiple models in Appendix A.1.3 where the model-ensembles perform much worse compared to self-consistency. ",
        "bbox": [
            173,
            647,
            825,
            801
        ],
        "page_idx": 6
    },
    {
        "type": "table",
        "img_path": "images/9876a7a3a3c5dcbb9c5355c5a64451798259417d2dc8705c960ca8c4e6f7f6f6.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 7: Self-consistency outperforms prompt-order and multi-prompt ensembles on LaMDA-137B. "
        ],
        "table_body": "<table><tr><td></td><td>GSM8K</td><td>MultiArith</td><td>SVAMP</td><td>ARC-e</td><td>ARC-c</td></tr><tr><td>CoT (Wei et al., 2022)</td><td>17.1</td><td>51.8</td><td>38.9</td><td>75.3</td><td>55.1</td></tr><tr><td>Ensemble (3 sets of prompts)</td><td>18.6 ± 0.5</td><td>57.1 ± 0.7</td><td>42.1 ± 0.6</td><td>76.6 ± 0.1</td><td>57.0± 0.2</td></tr><tr><td>Ensemble (40 prompt permutations)</td><td>19.2 ± 0.1</td><td>60.9 ± 0.2</td><td>42.7 ± 0.1</td><td>76.9 ± 0.1</td><td>57.0 ±0.1</td></tr><tr><td>Self-Consistency (4O sampled paths)</td><td>27.7 ± 0.2</td><td>75.7 ± 0.3</td><td>53.3 ± 0.2</td><td>79.3 ± 0.3</td><td>59.8 ± 0.2</td></tr></table>",
        "bbox": [
            179,
            806,
            815,
            886
        ],
        "page_idx": 6
    },
    {
        "type": "text",
        "text": "8Self-consistency is compatible with both ensemble approaches and we show the results in Appendix A.1.4. ",
        "bbox": [
            184,
            910,
            821,
            924
        ],
        "page_idx": 6
    },
    {
        "type": "text",
        "text": "3.5 ADDITIONAL STUDIES ",
        "text_level": 1,
        "bbox": [
            176,
            103,
            370,
            117
        ],
        "page_idx": 7
    },
    {
        "type": "text",
        "text": "We conducted a number of additional experiments to analyze different aspects of the self-consistency method, including its robustness to sampling strategies and parameters, and how it works with imperfect prompts and non-natural-language reasoning paths. ",
        "bbox": [
            174,
            130,
            823,
            172
        ],
        "page_idx": 7
    },
    {
        "type": "text",
        "text": "Self-Consistency is Robust to Sampling Strategies and Scaling We show self-consistency is robust to sampling strategies and parameters, by varying $T$ in temperature sampling (Ackley et al., 1985; Ficler & Goldberg, 2017), $k$ in top- $k$ sampling (Fan et al., 2018; Holtzman et al., 2018; Radford et al., 2019), and $p$ in nucleus sampling (Holtzman et al., 2020), over PaLM-540B in Figure 4 (left). Figure 4 (right) shows that self-consistency robustly improves performance across all scales for the LaMDA-137B model series. The gain is relatively lower for smaller models due to certain abilities (e.g., arithmetic) only emerge when the model reaches a sufficient scale (Brown et al., 2020). ",
        "bbox": [
            173,
            178,
            825,
            275
        ],
        "page_idx": 7
    },
    {
        "type": "image",
        "img_path": "images/87a328209d36c386b2c5751a4a40e895999983a1e5c87663caac19ecc466a090.jpg",
        "image_caption": [
            "Figure 4: GSM8K accuracy. (Left) Self-consistency is robust to various sampling strategies and parameters. (Right) Self-consistency improves performance across language model scales. "
        ],
        "image_footnote": [],
        "bbox": [
            204,
            282,
            790,
            398
        ],
        "page_idx": 7
    },
    {
        "type": "text",
        "text": "Self-Consistency Improves Robustness to Imperfect Prompts For few-shot learning with manually constructed prompts, human annotators sometimes make minor mistakes when creating the prompts. We further study if self-consistency can help improve a language model’s robustness to imperfect prompts.9 We show the results in Table 8: while imperfect prompts decrease accuracy with greedy decoding $1 7 . 1  1 4 . 9$ ), self-consistency can fill in the gaps and robustly improve the results. ",
        "bbox": [
            174,
            444,
            825,
            515
        ],
        "page_idx": 7
    },
    {
        "type": "text",
        "text": "Additionally, we found that the consistency (in terms of $\\%$ of decodes agreeing with the final aggregated answer) is highly correlated with accuracy (Figure 5, over GSM8K). This suggests that one can use self-consistency to provide an uncertainty estimate of the model in its generated solutions. In other words, one can use low consistency as an indicator that the model has low confidence; i.e., self-consistency confers some ability for the model to “know when it doesn’t know”. ",
        "bbox": [
            173,
            520,
            825,
            590
        ],
        "page_idx": 7
    },
    {
        "type": "table",
        "img_path": "images/ecb7f6b029c81a0378defcf8e2c4cd9320bbe892964a7f730272470c12d1b1fc.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 8: Self-consistency works under imperfect prompts, equation prompts and zero-shot chain-of-thought for GSM8K. "
        ],
        "table_body": "<table><tr><td rowspan=\"3\">LaMDA-137B</td><td>Prompt with correct chain-of-thought</td><td>17.1</td></tr><tr><td>Prompt with imperfect chain-of-thought + Self-consistency (40 paths)</td><td>14.9 23.4</td></tr><tr><td>Prompt with equations + Self-consistency (40 paths)</td><td>5.0 6.5</td></tr><tr><td rowspan=\"2\">PaLM-540B</td><td>Zero-shot CoT (Kojima et al., 2022)</td><td>43.0</td></tr><tr><td>+ Self-consistency (40 paths)</td><td>69.2</td></tr></table>",
        "bbox": [
            176,
            598,
            570,
            714
        ],
        "page_idx": 7
    },
    {
        "type": "image",
        "img_path": "images/904d0744036049f41de9ff1b79bfb3e5c595bb15c1aa6fad815946070f5097c4.jpg",
        "image_caption": [
            "Figure 5: The consistency is correlated with model’s accuracy. "
        ],
        "image_footnote": [],
        "bbox": [
            607,
            602,
            812,
            710
        ],
        "page_idx": 7
    },
    {
        "type": "text",
        "text": "Self-Consistency Works for Non-Natural-Language Reasoning Paths and Zero-shot CoT We also tested the generality of the self-consistency concept to alternative forms of intermediate reasoning like equations (e.g., from “There are 3 cars in the parking lot already. 2 more arrive. Now there are $3 + 2 = 5$ cars.” to $\" 3 + 2 = 5 \"$ ). The results are shown in Table 8 (“Prompt with equations”): self-consistency still improves accuracy by generating intermediate equations; however, compared to generating natural language reasoning paths, the gain is smaller since the equations are much shorter and less opportunity remains for generating diversity in the decoding process. In addition, we tested self-consistency with zero-shot chain-of-thought (Kojima et al., 2022) and show that self-consistency works for zero-shot CoT as well and improves the results significantly $( + 2 6 . 2 \\% )$ in Table 8. ",
        "bbox": [
            173,
            751,
            825,
            876
        ],
        "page_idx": 7
    },
    {
        "type": "text",
        "text": "4 RELATED WORK ",
        "text_level": 1,
        "bbox": [
            176,
            102,
            339,
            117
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "Reasoning in language models. Language models are known to struggle in Type 2 tasks, such as arithmetic, logical and commonsense reasoning (Evans, 2010). Previous work has primarily focused on specialized approaches for improving reasoning (Andor et al., 2019; Ran et al., 2019; Geva et al., 2020; Pi˛ekos et al., 2021). Compared to prior work, self-consistency is applicable to a wide range of reasoning tasks without any additional supervision or fine-tuning, while still substantially improving the performance of the chain-of-thought prompting approach proposed in Wei et al. (2022). ",
        "bbox": [
            174,
            133,
            825,
            218
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "Sampling and re-ranking in language models. Multiple decoding strategies for language models have been proposed in the literature, e.g., temperature sampling (Ackley et al., 1985; Ficler & Goldberg, 2017), top- $k$ sampling (Fan et al., 2018; Holtzman et al., 2018; Radford et al., 2019), nucleus sampling (Holtzman et al., 2020), minimum Bayes risk decoding (Eikema & Aziz, 2020; Shi et al., 2022), and typical decoding (Meister et al., 2022). Other work has sought to explicitly promote diversity in the decoding process (Batra et al., 2012; Li et al., 2016; Vijayakumar et al., 2018). ",
        "bbox": [
            174,
            222,
            825,
            305
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "Re-ranking is another common approach to improve generation quality in language models (Adiwardana et al., 2020; Shen et al., 2021). Thoppilan et al. (2022) collect additional human annotations to train a re-ranker for response filtering. Cobbe et al. (2021) train a “verifier” to re-rank generated solutions, which substantially improves the solve rate on math tasks compared to just fine-tuning the language model. Elazar et al. (2021) improve the consistency of factual knowledge extraction by extending pre-training with an additional consistency loss. All these methods require either training an additional re-ranker or collecting additional human annotation, while self-consistency requires no additional training, fine-tuning, nor extra data collection. ",
        "bbox": [
            174,
            313,
            825,
            424
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "Extract reasoning paths. Some previous work has considered task-specific approaches for identifying reasoning paths, such as constructing semantic graphs (Xu et al., 2021a), learning an RNN to retrieve reasoning paths over the Wikipedia graph (Asai et al., 2020), fine-tuning with human annotated reasoning paths on math problems (Cobbe et al., 2021), or training an extractor with heuristic-based pseudo reasoning paths (Chen et al., 2019). More recently, the importance of diversity in the reasoning processes has been noticed, but only leveraged via task-specific training, either through an additional QA model over extracted reasoning paths (Chen et al., 2019), or by the introduction of latent variables in a commonsense knowledge graph (Yu et al., 2022). Compared to these approaches, self-consistency is far simpler and requires no additional training. The approach we propose simply couples the generation of reasoning paths and a final answer by sampling from the decoder, using aggregation to recover the most consistent answer without additional modules. ",
        "bbox": [
            174,
            428,
            825,
            580
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "Consistency in language models. Some prior work has shown that language models can suffer from inconsistency in conversation (Adiwardana et al., 2020), explanation generation (Camburu et al., 2020), and factual knowledge extraction (Elazar et al., 2021). Welleck et al. (2020) use “consistency” to refer to generating an infinite-length sequence in recurrent language models. Nye et al. (2021) improve the logical consistency of samples from a System 1 model by adding a System 2-inspired logical reasoning module. In this paper we focus on a slightly different notion of “consistency”, i.e., utilizing answer consistency among diverse reasoning paths to improve accuracy. ",
        "bbox": [
            174,
            585,
            826,
            683
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "5 CONCLUSION AND DISCUSSION ",
        "text_level": 1,
        "bbox": [
            176,
            703,
            468,
            719
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "We introduced a simple yet effective method called self-consistency, and observed that it significantly improves accuracy in a range of arithmetic and commonsense reasoning tasks, across four large language models with varying scales. Beyond accuracy gains, self-consistency is also useful for collecting rationales when performing reasoning tasks with language models, and for providing uncertainty estimates and improved calibration of language model outputs. ",
        "bbox": [
            174,
            734,
            825,
            804
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "One limitation of self-consistency is that it incurs more computation cost. In practice people can try a small number of paths (e.g., 5 or 10) as a starting point to realize most of the gains while not incurring too much cost, as in most cases the performance saturates quickly (Figure 2). As part of future work, one could use self-consistency to generate better supervised data to fine-tune the model, such that the model can give more accurate predictions in a single inference run after fine-tuning. In addition, we observed that language models can sometimes generate incorrect or nonsensical reasoning paths (e.g., the StrategyQA example in Table 4, the two population numbers are not exactly correct), and further work is needed to better ground models’ rationale generations. ",
        "bbox": [
            174,
            810,
            825,
            922
        ],
        "page_idx": 8
    },
    {
        "type": "text",
        "text": "REPRODUCIBILITY STATEMENT ",
        "text_level": 1,
        "bbox": [
            176,
            102,
            437,
            118
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "In experiments, we included four different language models with varying scales. Two of them are public models: UL2 is a completely open-sourced model with model checkpoints available at https:// github.com/google-research/google-research/tree/master/ul2; GPT-3 is also a public model with public API available at https://openai.com/api/. For GPT-3, we have included two public engines (“code-davinci-001” and “code-davinci-002”) to further aid reproducibility, as Codex is currently free so anyone can reproduce the results. In addition, as our results make use of LaMDA-137B and PaLM-540B that are not publicly available, we provide the exact input prompts for all tasks in Appendix A.3 (and note that we do not perform any finetuning and only apply prompting to off-the-shelf language models). ",
        "bbox": [
            174,
            135,
            825,
            260
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "ETHICS STATEMENT ",
        "text_level": 1,
        "bbox": [
            174,
            281,
            343,
            297
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "As we stated in the discussion, language models can sometimes generate nonsensical or non-factual reasoning paths, so one should use language models’ outputs with extra caution. We deal with reasoning tasks mostly and the generated rationales are only used for inspecting how a model reaches its answer. One could potentially use the generated rationales to further check why the model makes certain mistakes or whether the model contains any biases when performing a certain task. For language model in real-world use, further work is needed to better ground models’ predictions and improve model’s factuality and safety, to ensure the models do not cause harms to users. ",
        "bbox": [
            174,
            314,
            825,
            411
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "REFERENCES ",
        "text_level": 1,
        "bbox": [
            176,
            434,
            285,
            449
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "David H. Ackley, Geoffrey E. Hinton, and Terrence J. Sejnowski. A learning algorithm for boltzmann machines. Cognitive Science, 9(1):147–169, 1985. ISSN 0364-0213. URL https://www. sciencedirect.com/science/article/pii/S0364021385800124. ",
        "bbox": [
            174,
            458,
            826,
            501
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Daniel Adiwardana, Minh-Thang Luong, David R. So, Jamie Hall, Noah Fiedel, Romal Thoppilan, Zi Yang, Apoorv Kulshreshtha, Gaurav Nemade, Yifeng Lu, and Quoc V. Le. Towards a human-like open-domain chatbot, 2020. ",
        "bbox": [
            174,
            512,
            826,
            554
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. MathQA: Towards interpretable math word problem solving with operation-based formalisms. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2357–2367. Association for Computational Linguistics, June 2019. URL https://aclanthology.org/N19-1245. ",
        "bbox": [
            173,
            566,
            825,
            651
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Daniel Andor, Luheng He, Kenton Lee, and Emily Pitler. Giving BERT a calculator: Finding operations and arguments with reading comprehension. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 2019. URL https://aclanthology. org/D19-1609. ",
        "bbox": [
            174,
            662,
            826,
            733
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Akari Asai, Kazuma Hashimoto, Hannaneh Hajishirzi, Richard Socher, and Caiming Xiong. Learning to retrieve reasoning paths over wikipedia graph for question answering. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum? id $=$ SJgVHkrYDH. ",
        "bbox": [
            173,
            744,
            826,
            801
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Roy Bar-Haim, Ido Dagan, Bill Dolan, Lisa Ferro, Danilo Giampiccolo, Bernardo Magnini, and Idan Szpektor. The second pascal recognising textual entailment challenge. In Proceedings of the second PASCAL challenges workshop on recognising textual entailment, 2006. ",
        "bbox": [
            173,
            813,
            823,
            856
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Dhruv Batra, Payman Yadollahpour, Abner Guzman-Rivera, and Gregory Shakhnarovich. Diverse m-best solutions in markov random fields. In Proceedings of the 12th European Conference on Computer Vision - Volume Part V, ECCV’12, pp. 1–16, Berlin, Heidelberg, 2012. Springer-Verlag. ISBN 9783642337147. URL https://doi.org/10.1007/978-3-642-33715-4_1. ",
        "bbox": [
            174,
            867,
            825,
            924
        ],
        "page_idx": 9
    },
    {
        "type": "text",
        "text": "Luisa Bentivogli, Peter Clark, Ido Dagan, and Danilo Giampiccolo. The fifth pascal recognizing textual entailment challenge. In TAC, 2009. ",
        "bbox": [
            171,
            103,
            823,
            132
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "BIG-bench collaboration. Beyond the imitation game: Measuring and extrapolating the capabilities of language models. In preparation, 2021. URL https://github.com/google/ BIG-bench/. ",
        "bbox": [
            174,
            141,
            823,
            183
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In Advances in Neural Information Processing Systems, 2020. URL https://proceedings.neurips.cc/paper/2020/ file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf. ",
        "bbox": [
            174,
            193,
            826,
            304
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. esnli: Natural language inference with natural language explanations. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 9539–9549. Curran Associates, Inc., 2018. URL http://papers.nips.cc/paper/ 8163-e-snli-natural-language-inference-with-natural-language-explanations. pdf. ",
        "bbox": [
            173,
            314,
            918,
            411
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Oana-Maria Camburu, Brendan Shillingford, Pasquale Minervini, Thomas Lukasiewicz, and Phil Blunsom. Make up your mind! adversarial generation of inconsistent natural language explanations. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 4157–4165, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020. acl-main.382. URL https://aclanthology.org/2020.acl-main.382. ",
        "bbox": [
            173,
            420,
            826,
            491
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Jifan Chen, Shih-Ting Lin, and Greg Durrett. Multi-hop question answering via reasoning chains. CoRR, abs/1910.02610, 2019. URL http://arxiv.org/abs/1910.02610. ",
        "bbox": [
            174,
            500,
            825,
            529
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. ",
        "bbox": [
            174,
            537,
            826,
            579
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. Palm: Scaling language modeling with pathways, 2022. URL https://arxiv.org/abs/2204.02311. ",
        "bbox": [
            176,
            588,
            826,
            768
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. Boolq: Exploring the surprising difficulty of natural yes/no questions. In NAACL, 2019. ",
        "bbox": [
            174,
            779,
            823,
            820
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge. ArXiv, abs/1803.05457, 2018. ",
        "bbox": [
            174,
            829,
            823,
            872
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems, 2021. ",
        "bbox": [
            176,
            882,
            825,
            924
        ],
        "page_idx": 10
    },
    {
        "type": "text",
        "text": "Ido Dagan, Oren Glickman, and Bernardo Magnini. The pascal recognising textual entailment challenge. In Machine Learning Challenges Workshop, pp. 177–190. Springer, 2005. ",
        "bbox": [
            171,
            103,
            825,
            133
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Bryan Eikema and Wilker Aziz. Is MAP decoding all you need? the inadequacy of the mode in neural machine translation. In Proceedings of the 28th International Conference on Computational Linguistics, pp. 4506–4520, Barcelona, Spain (Online), December 2020. International Committee on Computational Linguistics. URL https://aclanthology.org/2020.coling-main. 398. ",
        "bbox": [
            174,
            141,
            826,
            212
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Yanai Elazar, Nora Kassner, Shauli Ravfogel, Abhilasha Ravichander, Eduard Hovy, Hinrich Schütze, and Yoav Goldberg. Measuring and improving consistency in pretrained language models. Transactions of the Association for Computational Linguistics, 9:1012–1031, 2021. doi: 10.1162/tacl_a_00410. URL https://aclanthology.org/2021.tacl-1.60. ",
        "bbox": [
            174,
            222,
            826,
            279
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Jonathan St BT Evans. Intuition and reasoning: A dual-process perspective. Psychological Inquiry, 21(4):313–326, 2010. ",
        "bbox": [
            171,
            287,
            823,
            316
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Angela Fan, Mike Lewis, and Yann Dauphin. Hierarchical neural story generation. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 889–898, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1082. URL https://aclanthology.org/P18-1082. ",
        "bbox": [
            173,
            325,
            826,
            382
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Jessica Ficler and Yoav Goldberg. Controlling linguistic style aspects in neural language generation. In Proceedings of the Workshop on Stylistic Variation, pp. 94–104, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. doi: 10.18653/v1/W17-4912. URL https: //aclanthology.org/W17-4912. ",
        "bbox": [
            173,
            392,
            826,
            449
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Tianyu Gao, Adam Fisch, and Danqi Chen. Making pre-trained language models better few-shot learners. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 3816–3830, Online, August 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.acl-long.295. URL https://aclanthology.org/2021.acl-long. 295. ",
        "bbox": [
            174,
            458,
            826,
            541
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Mor Geva, Ankit Gupta, and Jonathan Berant. Injecting numerical reasoning skills into language models. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.89. URL https://aclanthology.org/2020. acl-main.89. ",
        "bbox": [
            173,
            551,
            826,
            608
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle use a laptop? A question answering benchmark with implicit reasoning strategies. Transactions of the Association for Computational Linguistics, 2021. URL https://aclanthology.org/ 2021.tacl-1.21. ",
        "bbox": [
            173,
            617,
            826,
            674
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Danilo Giampiccolo, Bernardo Magnini, Ido Dagan, and Bill Dolan. The third pascal recognizing textual entailment challenge. In Proceedings of the ACL-PASCAL workshop on textual entailment and paraphrasing, pp. 1–9. Association for Computational Linguistics, 2007. ",
        "bbox": [
            173,
            683,
            825,
            727
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Ari Holtzman, Jan Buys, Maxwell Forbes, Antoine Bosselut, David Golub, and Yejin Choi. Learning to write with cooperative discriminators. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1638–1649, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1152. URL https://aclanthology.org/P18-1152. ",
        "bbox": [
            173,
            736,
            826,
            806
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In International Conference on Learning Representations, 2020. URL https: //openreview.net/forum?id=rygGQyrFvH. ",
        "bbox": [
            171,
            815,
            826,
            858
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Mohammad Javad Hosseini, Hannaneh Hajishirzi, Oren Etzioni, and Nate Kushman. Learning to solve arithmetic word problems with verb categorization. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2014. doi: 10.3115/v1/D14-1058. URL https://aclanthology.org/D14-1058. ",
        "bbox": [
            174,
            867,
            826,
            924
        ],
        "page_idx": 11
    },
    {
        "type": "text",
        "text": "Daniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal, Oyvind Tafjord, Peter Clark, and Hannaneh Hajishirzi. UNIFIEDQA: Crossing format boundaries with a single QA system. In Findings of the Association for Computational Linguistics: EMNLP 2020, pp. 1896–1907, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.findings-emnlp.171. URL https://aclanthology.org/2020.findings-emnlp.171. ",
        "bbox": [
            174,
            103,
            826,
            174
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id $_ { \\cdot } =$ e2TBb5y0yFf. ",
        "bbox": [
            174,
            183,
            826,
            238
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. MAWPS: A math word problem repository. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2016. doi: 10.18653/v1/N16-1136. URL https://aclanthology.org/N16-1136. ",
        "bbox": [
            173,
            247,
            826,
            304
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Yihuai Lan, Lei Wang, Qiyuan Zhang, Yunshi Lan, Bing Tian Dai, Yan Wang, Dongxiang Zhang, and Ee-Peng Lim. MWPToolkit: An open-source framework for deep learning-based math word problem solvers. arXiv preprint arXiv:2109.00799, 2021. URL https://arxiv.org/abs/ 2109.00799. ",
        "bbox": [
            174,
            313,
            826,
            368
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Jiwei Li and Dan Jurafsky. Mutual information and diverse decoding improve neural machine translation, 2016. URL https://arxiv.org/abs/1601.00372. ",
        "bbox": [
            171,
            377,
            823,
            406
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Jiwei Li, Will Monroe, and Dan Jurafsky. A simple, fast diverse decoding algorithm for neural generation. CoRR, abs/1611.08562, 2016. URL http://arxiv.org/abs/1611.08562. ",
        "bbox": [
            171,
            415,
            823,
            445
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. Program induction by rationale generation: Learning to solve and explain algebraic word problems. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2017. doi: 10.18653/v1/P17-1015. URL https://aclanthology.org/P17-1015. ",
        "bbox": [
            174,
            453,
            826,
            510
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. ArXiv, abs/2104.08786, 2021. ",
        "bbox": [
            173,
            517,
            823,
            560
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Clara Meister, Tiago Pimentel, Gian Wiher, and Ryan Cotterell. Typical decoding for natural language generation. arXiv preprint arXiv:2202.00666, 2022. ",
        "bbox": [
            173,
            569,
            823,
            598
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Shen Yun Miao, Chao Chun Liang, and Keh Yih Su. A diverse corpus for evaluating and developing English math word problem solvers. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 2020. URL https://aclanthology.org/2020. acl-main.92. ",
        "bbox": [
            174,
            607,
            826,
            662
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Yixin Nie, Adina Williams, Emily Dinan, Mohit Bansal, Jason Weston, and Douwe Kiela. Adversarial NLI: A new benchmark for natural language understanding. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 2020. ",
        "bbox": [
            174,
            671,
            826,
            728
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Maxwell Nye, Michael Henry Tessler, Joshua B. Tenenbaum, and Brenden M. Lake. Improving coherence and consistency in neural sequence models with dual-system, neuro-symbolic reasoning. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, 2021. URL https://openreview.net/forum?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } =$ uyKk_avJ-p4. ",
        "bbox": [
            174,
            737,
            825,
            808
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Arkil Patel, Satwik Bhattamishra, and Navin Goyal. Are NLP models really able to solve simple math word problems? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 2080–2094, Online, June 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.naacl-main. 168. URL https://aclanthology.org/2021.naacl-main.168. ",
        "bbox": [
            174,
            815,
            826,
            887
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Xinyu Pi, Qian Liu, Bei Chen, Morteza Ziyadi, Zeqi Lin, Yan Gao, Qiang Fu, Jian-Guang Lou, and Weizhu Chen. Reasoning like program executors, 2022. ",
        "bbox": [
            174,
            895,
            823,
            924
        ],
        "page_idx": 12
    },
    {
        "type": "text",
        "text": "Piotr Pi˛ekos, Mateusz Malinowski, and Henryk Michalewski. Measuring and improving BERT’s mathematical abilities by predicting the order of reasoning. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), 2021. doi: 10.18653/v1/2021.acl-short.49. URL https://aclanthology.org/2021.acl-short.49. ",
        "bbox": [
            174,
            103,
            826,
            174
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019. ",
        "bbox": [
            173,
            181,
            823,
            210
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Jack W Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. Scaling language models: Methods, analysis & insights from training gopher. arXiv preprint arXiv:2112.11446, 2021. ",
        "bbox": [
            174,
            219,
            825,
            262
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Qiu Ran, Yankai Lin, Peng Li, Jie Zhou, and Zhiyuan Liu. NumNet: Machine reading comprehension with numerical reasoning. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 2019. doi: 10.18653/v1/D19-1251. URL https://aclanthology. org/D19-1251. ",
        "bbox": [
            174,
            270,
            826,
            340
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Subhro Roy and Dan Roth. Solving general arithmetic word problems. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, 2015. doi: 10.18653/v1/ D15-1202. URL https://aclanthology.org/D15-1202. ",
        "bbox": [
            173,
            349,
            826,
            392
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. Generate & rank: A multi-task framework for math word problems. In Findings of the Association for Computational Linguistics: EMNLP 2021, pp. 2269–2279, Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. URL https://aclanthology. org/2021.findings-emnlp.195. ",
        "bbox": [
            173,
            400,
            826,
            469
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Freda Shi, Daniel Fried, Marjan Ghazvininejad, Luke Zettlemoyer, and Sida I. Wang. Natural language to code translation with execution. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 3533–3546, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. URL https://aclanthology. org/2022.emnlp-main.231. ",
        "bbox": [
            174,
            478,
            828,
            549
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Keith E Stanovich and Richard F West. Individual differences in reasoning: Implications for the rationality debate? Behavioral and brain sciences, 23(5):645–665, 2000. URL https: //pubmed.ncbi.nlm.nih.gov/11301544/. ",
        "bbox": [
            174,
            558,
            826,
            599
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. CommonsenseQA: A question answering challenge targeting commonsense knowledge. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), 2019. URL https://aclanthology. org/N19-1421. ",
        "bbox": [
            174,
            608,
            826,
            678
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Yi Tay, Mostafa Dehghani, Vinh Q. Tran, Xavier Garcia, Jason Wei, Xuezhi Wang, Hyung Won Chung, Dara Bahri, Tal Schuster, Steven Zheng, Denny Zhou, Neil Houlsby, and Donald Metzler. Unifying language learning paradigms, 2022. URL https://arxiv.org/abs/2205.05131. ",
        "bbox": [
            176,
            686,
            826,
            731
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for dialog applications. arXiv preprint arXiv:2201.08239, 2022. URL https://arxiv.org/abs/ 2201.08239. ",
        "bbox": [
            174,
            738,
            826,
            794
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Ashwin Vijayakumar, Michael Cogswell, Ramprasaath Selvaraju, Qing Sun, Stefan Lee, David Crandall, and Dhruv Batra. Diverse beam search for improved description of complex scenes. Proceedings of the AAAI Conference on Artificial Intelligence, 32, Apr. 2018. URL https: //ojs.aaai.org/index.php/AAAI/article/view/12340. ",
        "bbox": [
            174,
            803,
            826,
            859
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. Conference on Neural Information Processing Systems (NeurIPS), 2022. URL https://arxiv. org/pdf/2201.11903. ",
        "bbox": [
            174,
            867,
            826,
            922
        ],
        "page_idx": 13
    },
    {
        "type": "text",
        "text": "Sean Welleck, Ilia Kulikov, Jaedeok Kim, Richard Yuanzhe Pang, and Kyunghyun Cho. Consistency of a recurrent language model with respect to incomplete decoding. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 5553–5568, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020. emnlp-main.448. URL https://aclanthology.org/2020.emnlp-main.448. ",
        "bbox": [
            174,
            103,
            826,
            174
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "Weiwen Xu, Yang Deng, Huihui Zhang, Deng Cai, and Wai Lam. Exploiting reasoning chains for multi-hop science question answering. In Findings of the Association for Computational Linguistics: EMNLP 2021, pp. 1143–1156, Punta Cana, Dominican Republic, November 2021a. Association for Computational Linguistics. URL https://aclanthology.org/2021. findings-emnlp.99. ",
        "bbox": [
            174,
            183,
            826,
            252
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "Yichong Xu, Chenguang Zhu, Shuohang Wang, Siqi Sun, Hao Cheng, Xiaodong Liu, Jianfeng Gao, Pengcheng He, Michael Zeng, and Xuedong Huang. Human parity on commonsenseqa: Augmenting self-attention with external attention, 2021b. URL https://arxiv.org/abs/ 2112.03254. ",
        "bbox": [
            174,
            262,
            826,
            318
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2369–2380, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-1259. URL https://aclanthology.org/D18-1259. ",
        "bbox": [
            174,
            327,
            826,
            397
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "Xi Ye and Greg Durrett. The unreliability of explanations in few-shot prompting for textual reasoning. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum? id=Bct2f8fRd8S. ",
        "bbox": [
            174,
            406,
            825,
            463
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "Wenhao Yu, Chenguang Zhu, Lianhui Qin, Zhihan Zhang, Tong Zhao, and Meng Jiang. Diversifying content generation for commonsense reasoning with mixture of knowledge graph experts. In Findings of Annual Meeting of the Association for Computational Linguistics (ACL), 2022. ",
        "bbox": [
            174,
            472,
            825,
            515
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In Marina Meila and Tong Zhang (eds.), Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research. PMLR, 2021. URL https://proceedings.mlr.press/ v139/zhao21c.html. ",
        "bbox": [
            173,
            523,
            826,
            593
        ],
        "page_idx": 14
    },
    {
        "type": "text",
        "text": "A APPENDIX ",
        "text_level": 1,
        "bbox": [
            176,
            102,
            299,
            117
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "A.1 ADDITIONAL EXPERIMENT RESULTS ",
        "bbox": [
            176,
            132,
            473,
            147
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "A.1.1 ROBUSTNESS TO SAMPLING STRATEGIES AND PARAMETERS ",
        "text_level": 1,
        "bbox": [
            174,
            159,
            651,
            172
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "In Figure 6 we ablate the results with respect to different sampling strategies and parameters by varying $T$ in temperature sampling and $k$ in Top- $k$ sampling, on LaMDA-137B. We show that self-consistency is robust to various sampling strategies and parameters. ",
        "bbox": [
            174,
            183,
            825,
            226
        ],
        "page_idx": 15
    },
    {
        "type": "image",
        "img_path": "images/5682763857dd59665317b37d4e2ff1237798960f4e4fb66b5db1538fb257bd34.jpg",
        "image_caption": [
            "Figure 6: GSM8K accuracy over LaMDA-137B. Self-consistency works under various sampling strategies and sampling parameters. "
        ],
        "image_footnote": [],
        "bbox": [
            307,
            241,
            684,
            372
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "In Figure 7 and Figure 8, we show the results of self-consistency compared with greedy decoding a single path over LaMDA-137B and PaLM-540B, respectively. Self-consistency improves over greedy decode by a quite significant margin on both models, on top of high accuracy already achieved by scaling up model sizes. ",
        "bbox": [
            173,
            419,
            825,
            474
        ],
        "page_idx": 15
    },
    {
        "type": "image",
        "img_path": "images/dd06aeb61120fc868024f45c264d037f8b03f44182e787809b7cfde355dece76.jpg",
        "image_caption": [
            "Figure 7: Self-consistency (blue) significantly improves accuracy across various arithmetic and commonsense reasoning tasks, over LaMDA-137B. Sampling a higher number of diverse reasoning paths consistently improves reasoning accuracy. "
        ],
        "image_footnote": [],
        "bbox": [
            165,
            481,
            825,
            656
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "We further show additional sampled reasoning paths from the LaMDA-137B model in Table 12, and sampled reasoning paths from the PaLM-540B model in Table 13. We see that the diversity in the additionally sampled reasoning paths indeed helps the model arrive at a more correct final answer after aggregation. ",
        "bbox": [
            173,
            719,
            825,
            776
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "A.1.2 ROBUSTNESS TO DIFFERENT SETS OF PROMPTS ",
        "text_level": 1,
        "bbox": [
            174,
            790,
            558,
            805
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "In Table 9, we further show that self-consistency is quite robust to different sets of input prompts. We manually wrote 3 different sets of chain-of-thought as prompts to the model. Across all sets of prompts, self-consistency yields consistent gains over the original CoT approach. ",
        "bbox": [
            174,
            814,
            826,
            857
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "A.1.3 COMPARED TO MODEL ENSEMBLES ",
        "text_level": 1,
        "bbox": [
            176,
            871,
            475,
            886
        ],
        "page_idx": 15
    },
    {
        "type": "text",
        "text": "Additionally, we provide results of directly ensembling the outputs from multiple language models. The results are shown in Table 10, by greedily decoding sequences from 3 language models and taking the majority vote (averaged over 10 runs). Note this is a typical ensemble approach (averaging over the predictions over multiple models) and it achieves a performance significantly worse than self-consistency (self-consistency over PaLM-540B gets an accuracy of $7 4 . 4 \\%$ ), as lower-capacity models drag down the performance of higher-capacity models. In addition, this approach is limited in two ways: 1) It requires multiple models for an ensemble which might not always be available, while self-consistency only requires one single model to “self-ensemble”; 2) If one of the models is much weaker, it can actually hurt the final performance. ",
        "bbox": [
            174,
            895,
            825,
            924
        ],
        "page_idx": 15
    },
    {
        "type": "image",
        "img_path": "images/528b99ea5220667091bc895ecec5856d21dd707b103c238b2499d6362bf59214.jpg",
        "image_caption": [
            "Figure 8: Self-consistency (blue) significantly improves accuracy across various arithmetic and commonsense reasoning tasks, over PaLM-540B. Sampling a higher number of diverse reasoning paths consistently helps reasoning accuracy. "
        ],
        "image_footnote": [],
        "bbox": [
            171,
            102,
            820,
            400
        ],
        "page_idx": 16
    },
    {
        "type": "table",
        "img_path": "images/6a643b49072663d0615c3edaee2b20323990fea77d3385f22f3c3e4742fe31fa.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 9: GSM8K accuracy over PaLM-540B. The results show robustness of self-consistency with respect to different prompts in the input. "
        ],
        "table_body": "<table><tr><td></td><td>Prompt set 1 (used in the main text)丨Prompt set 2丨Prompt set 3</td><td></td><td></td></tr><tr><td>CoT (Wei et al., 2022)</td><td>56.5</td><td>54.6</td><td>54.0</td></tr><tr><td>Self-consistency</td><td>74.4 (+17.9)</td><td>72.1 (+17.5)</td><td>70.4 (+16.4)</td></tr></table>",
        "bbox": [
            209,
            463,
            784,
            516
        ],
        "page_idx": 16
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            173,
            570,
            825,
            669
        ],
        "page_idx": 16
    },
    {
        "type": "table",
        "img_path": "images/fd37632bc843db1d58cdde9c7a2bbc74861b1490a0c7ff65cff86cc2692e49ff.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 10: Comparison of GSM8K accuracy over multiple-model ensembles. "
        ],
        "table_body": "<table><tr><td></td><td>Method</td><td>GSM8K accuracy</td></tr><tr><td>Single model</td><td>PaLM-540B,greedy/self-consistency</td><td>56.5 / 74.4</td></tr><tr><td rowspan=\"4\">Ensemble of models</td><td>LaMDA-137B+PaLM-540B</td><td>36.9 ± 0.5</td></tr><tr><td>PaLM-540B + GPT-3 (code-davinci-001,175B)</td><td>36.6 ± 0.4</td></tr><tr><td>LaMDA-137B + GPT-3 (code-davinci-001,175B)</td><td>16.0 ± 0.8</td></tr><tr><td>LaMDA-137B +PaLM-540B + GPT-3 (code-davinci-001,175B)</td><td>33.3 ± 0.7</td></tr></table>",
        "bbox": [
            176,
            680,
            818,
            779
        ],
        "page_idx": 16
    },
    {
        "type": "text",
        "text": ".1.4 COMBINING SELF-CONSISTENCY WITH OTHER ENSEMBLING STRATEGIE ",
        "text_level": 1,
        "bbox": [
            173,
            816,
            738,
            830
        ],
        "page_idx": 16
    },
    {
        "type": "text",
        "text": "Self-consistency is completely compatible with other ensemble strategies, although the gains achieved by self-consistency are significantly higher than other ensemble strategies (and can “override” the performance gains achieved by other ensemble strategies). We further performed experiments and include the results in Table 11 (for a fair comparison, we use 40 sets of prompts, or 40 prompt permutations to compare with self-consistency with 40 paths, all experiments are based on PaLM540B). ",
        "bbox": [
            173,
            839,
            825,
            924
        ],
        "page_idx": 16
    },
    {
        "type": "table",
        "img_path": "images/21d233a469e13e68d4a76847a7e30c0096cc77007b982daf67ee65631d7897a6.jpg",
        "table_caption": [],
        "table_footnote": [
            "Table 11: Combining self-consistency with other ensembling strategies. "
        ],
        "table_body": "<table><tr><td></td><td>GSM8K accuracy</td></tr><tr><td>Different sets of prompts (x40)</td><td>58.9</td></tr><tr><td>Prompt-permutation (x40)</td><td>59.6</td></tr><tr><td>Self-consistency (x40)</td><td>74.4</td></tr><tr><td>Self-consistency +different sets of prompts (x40)</td><td>75.4</td></tr><tr><td>Self-consistency + prompt-permutation (x40)</td><td>73.8</td></tr></table>",
        "bbox": [
            274,
            101,
            718,
            193
        ],
        "page_idx": 17
    },
    {
        "type": "text",
        "text": "A.2 DETAILS ON RESOURCES AND INFERENCE ",
        "text_level": 1,
        "bbox": [
            174,
            238,
            511,
            252
        ],
        "page_idx": 17
    },
    {
        "type": "text",
        "text": "For all four language models we perform prompting-based inference only. For UL2 we use TPU v3 $2 \\mathrm { x } 2$ configuration, 4 chips, 8 cores). For GPT-3 models the experiments are done though the public API.10 For LaMDA-137B we use TPU v3 (8x8 configuration, 64 chips, 128 cores). For PaLM-540B we use TPU v4 (4x4x12 configuration, 192 chips, 384 cores). Most inference jobs take 1 to 4 hours (over about 1,000 examples) for each task on UL2 and LaMDA-137B, and about 2 to 12 hours on PaLM-540B. Some tasks (e.g., commonsense reasoning) take longer but do not exceed 2 days for each task. ",
        "bbox": [
            173,
            265,
            825,
            363
        ],
        "page_idx": 17
    },
    {
        "type": "text",
        "text": "For GPT-3 models, we use $1 2 8 \\mathrm { m a x }$ tokens for all methods, without frequency penalty or presence penalty. For all models, we take the generated outputs until the start of the next $\\ \" \\mathrm { Q } : \\ \" $ to parse the final answers, consistent with our prompting format. ",
        "bbox": [
            174,
            369,
            825,
            411
        ],
        "page_idx": 17
    },
    {
        "type": "table",
        "img_path": "images/6e79c1fea4484c855d3bdd6476ff264b088b81ca4eadc32fc4a817f3546fbba3.jpg",
        "table_caption": [
            "Table 12: Additional examples where self-consistency helps repair the errors over greedy decode on LaMDA-137B. Two sampled reasoning paths that are consistent with the ground truth are shown. "
        ],
        "table_footnote": [],
        "table_body": "<table><tr><td rowspan=1 colspan=1>Question</td><td rowspan=1 colspan=1>Greedy Decode</td><td rowspan=1 colspan=1>Sampled Path 1</td><td rowspan=1 colspan=1>Sampled Path 2</td></tr><tr><td rowspan=1 colspan=1>[MultiArith] Sam had 10 socks.If he threw away3 old onesthatdidn&#x27;t fitandbought 36newones,how many socks would hehave?</td><td rowspan=1 colspan=1>Sam had 1O socks.He threwaway 3 old ones that didn&#x27;t fit.He bought 36 new ones.Thatmeans he has 10+36-3=41socks. The answer is 41.</td><td rowspan=1 colspan=1>Sam had 10 socks.Hethrew away 3old ones.Sonow he has 7 left. Then hebought 36 new ones.Sonow he has 7 + 36 = 43socks. The answer is 43.</td><td rowspan=1 colspan=1>He had 1O socks.He threw away3 old ones that didn&#x27;t ft.Hebought 36 new ones.So in totalhe has 10-3+36=43 socks.Theanswer is 43.</td></tr><tr><td rowspan=1 colspan=1>[SVAMP] In a school there are697 girls and the rest are boys.If thereare 228 moregirls thanboys.How many boys are therein that school?</td><td rowspan=1 colspan=1>There are 697 girls and the restare boys.That means there are697+ 228 = 925 girls. Therest are boys.So the number ofboys is 925-697 = 228. Theanswer is 228.</td><td rowspan=1 colspan=1>The number of boys is thedifference between 697and 228.This is 697 - 228= 469.The answer is 469.</td><td rowspan=1 colspan=1>In the beginning there are 697girls and the rest are boys.So,thenumber of boys must be 697 - 228= 469 boys. The answer is 469.</td></tr><tr><td rowspan=1 colspan=1>[AQuA] There arelO oranges ina basket.Find the no.of ways inwhich2 oranges are chosen fromthe basket?(a)45 (b) 90 (c)120(d) 150 (e) 180</td><td rowspan=1 colspan=1>There are 1O oranges in a bas-ket.So there are 10 waysin which 2 oranges are chosenfrom the basket.</td><td rowspan=1 colspan=1>There are 1O oranges in abasket.We need to choose2 oranges from the basket.So the number of ways are10C2.So the answer is (a).</td><td rowspan=1 colspan=1>There are 1O oranges in the bas-ket.If you choose 2 oranges,youhave 10C2=45 ways of choosing2 oranges. So the answer is (a).</td></tr><tr><td rowspan=1 colspan=1>[CommonsenseQA] The manlaidon thesoft mossand lookedup at the trees,where was theman?(a) niagra falls (b) forest(c) waterfall (d) ground (e) tree</td><td rowspan=1 colspan=1>The answer must be somethingthat is soft and mossy. Of theabove choices,only ground issoft and mossy. So the answeris (d).</td><td rowspan=1 colspan=1>Theanswermustbesomewhere where mossis found.Of the abovechoices,only forests areknown for having moss.So the answer is (b).</td><td rowspan=1 colspan=1>The answer must be a place wherethe man is laying down and look-ing up at trees.Of the abovechoices,only forest isaplacewhere people lay down and lookat trees. So the answer is (b).</td></tr><tr><td rowspan=1 colspan=1>[ARC] Which of thesewill mostlikely harm a habitat?(a) plant-ing trees. (b) water pollution. (c)rainfall. (d) sunlight.</td><td rowspan=1 colspan=1>Planting trees will not harm ahabitat. So the answer is (a).</td><td rowspan=1 colspan=1>The answer is (b),waterpollution,because it willmost likely harm the habi-tat. The other answers arenot likely to harm the habi-tat.</td><td rowspan=1 colspan=1>The answeris (b), water pollution.Treesare good fora habitat, rain-fall is necessary for a habitat,andsunlight is necessary fora habitat.So the answer is (b).</td></tr><tr><td rowspan=1 colspan=1>[ARC-challenge] Which pro-cessin thecarbon cycle takes thelongest to complete? (a) emis-sion of waste.(b) respiration inanimals.(c) photosynthesis inplants.(d) formation of fossil fu-els.</td><td rowspan=1 colspan=1>The process of photosynthesisin plants takes the longest tocomplete. So the answer is (c).</td><td rowspan=1 colspan=1>The formation of fossil fu- els takes the longest timeto complete.So the an-swer is (d).</td><td rowspan=1 colspan=1>The process that takes the longesttime to complete is the forma-tion of fossil fuels,which hap-pens over millions of years. Sothe answer is (d).</td></tr></table>",
        "bbox": [
            174,
            426,
            825,
            843
        ],
        "page_idx": 17
    },
    {
        "type": "table",
        "img_path": "images/d5812eeaadf5ec819405f5a565ca5ce9f054c3060ec20cff000e71cea4c7fe69.jpg",
        "table_caption": [
            "Table 13: Additional examples where self-consistency helps repair the errors over greedy decode on PaLM-540B. Two sampled reasoning paths that are consistent with the ground truth are shown. "
        ],
        "table_footnote": [],
        "table_body": "<table><tr><td rowspan=1 colspan=1>Question</td><td rowspan=1 colspan=1>Greedy Decode</td><td rowspan=1 colspan=1>Sampled Path 1</td><td rowspan=1 colspan=1>Sampled Path 2</td></tr><tr><td rowspan=1 colspan=1>[GSM8K] Kyle bought lastyear&#x27;s best-selling book for$19.50. This is with a 25% dis-count from the original price.What was the original price ofthebook?</td><td rowspan=1 colspan=1>The book was sold for $19.50.This is 25% less than the origi-nal price.This means the originalprice was 100%. 25% of100%is 25%.So the original pricewas 100%- 25%= 75%.Theoriginal price was 75% of $19.50.75% of $19.50 is 75% * $19.50 =$14.625. The answer is $14.625.</td><td rowspan=1 colspan=1>The original price of the bookis $19.50.Since it was dis-counted by 25%,the originalprice was 19.50 / 0.75 = 26.The answer is 26.</td><td rowspan=1 colspan=1>Kyle bought a book that is soldfor $19.50.With a 25% discount,the original price must be higher.If we call the original price X,then the discounted price is 0.75x.Since this is $19.50,we can write0.75x = 19.50. Solving this,wefind that the original price is X =19.50 /0.75 = $26. The answer is$26.</td></tr><tr><td rowspan=1 colspan=1>[AQuA] The capacity of atank of dimensions (8 m x 6m x 2.5 m) is (a) 120 litres (b)1200 litres (c) 12000 litres (d)120000 litres (e) None of these</td><td rowspan=1 colspan=1>The volume of the tank is 8 m *6 m *2.5 m=120 m.So thecapacity of the tank is 120 m.Sothe answer is (c).</td><td rowspan=1 colspan=1>The volume of the tank is 8m* 6m* 2.5m=120m.This isequal to 120000 litres. So theanswer is (d)</td><td rowspan=1 colspan=1>The volume of the tank is 8 m *6m * 2.5 m=120 m3.One cu-bic meter contains 1Ooo litres,sothe tank contains 120 m3 *1000liters/m3 = 120,000 liters.So theanswer is (d).</td></tr><tr><td rowspan=1 colspan=1>[StrategyQA] Yesorno:Can the Great Depression betreated with Prozac?</td><td rowspan=1 colspan=1>The Great Depression was aneconomic depression.Prozac isa drug used to treat depression.Thus, the Great Depression couldbe treated with Prozac. So the an-swer is yes.</td><td rowspan=1 colspan=1>Prozac is an anti-depressantmedication. The Great Depres-sion is not a disease.Thus,Prozac cannot treat the GreatDepression. So the answer isno.</td><td rowspan=1 colspan=1>The Great Depression is a time pe-riod.Prozac is used to treat de-pression (the mental illness). Thus,the Great Depression can not betreated with Prozac.So the answeris no.</td></tr><tr><td rowspan=1 colspan=1>[ARC-easy] Which source ofenergy is nonrenewable? (a)coal.(b) sunlight.(c) water.(d) wood.</td><td rowspan=1 colspan=1>Coal,sunlight,and water areall renewable sources of energy.Wood is a nonrenewable source ofenergy.So the answer is (d).</td><td rowspan=1 colspan=1>A nonrenewable source of en-ergy is one in which the sourceis not replenished in a shortamount of time.Thus, the onlyoption that is nonrenewable iscoal. So the answer is (a).</td><td rowspan=1 colspan=1>Coal is a fossil fuel and is formedfrom dead organisms from the past.Coal cannot be produced in a shortperiod of time,so it is considereda nonrenewable source of energy.So the answer is (a).</td></tr><tr><td rowspan=1 colspan=1>[ARC-challenge] Studentsstudiedthe revolutionofEartharound the Sun.Duringwhichmonth willFlorida have themost sunlight energy avail-able?(a)March.(b)June.(c)September.(d) December.</td><td rowspan=1 colspan=1>The Earth is closest to the Sunin December, hence Florida willhave the most sunlight energyavailable in December. So the an-swer is (d).</td><td rowspan=1 colspan=1>Earth is closest to the Sun onJune 21,the summer solstice.So the answer is (b).</td><td rowspan=1 colspan=1>Florida is closer to the sun duringJune,so it will have the most sun-light energy during that month. Sothe answer is (b).</td></tr></table>",
        "bbox": [
            178,
            99,
            820,
            500
        ],
        "page_idx": 18
    },
    {
        "type": "text",
        "text": "A.3 FULL SETS OF PROMPTS ",
        "text_level": 1,
        "bbox": [
            176,
            565,
            388,
            580
        ],
        "page_idx": 18
    },
    {
        "type": "text",
        "text": "We list the full details of the prompts used for two newly-introduced datasets, AQUA-RAT (Ling et al., 2017) and AI2 Reasoning Challenge (ARC) (Clark et al., 2018), where we manually composed the example chain-of-thought in this paper, in Table 14 and Table 15, respectively. ",
        "bbox": [
            174,
            592,
            825,
            635
        ],
        "page_idx": 18
    },
    {
        "type": "table",
        "img_path": "images/0aff0e317c6c1ebdd0517cd490a38f45ea5898c587b358dda6d9956c2c0032c2.jpg",
        "table_caption": [
            "Table 14: Few-shot exemplars for AQUA-RAT. "
        ],
        "table_footnote": [],
        "table_body": "<table><tr><td>Q: John found that the average of 15 numbers is 40.If 10 is added to each number then the mean of the numbers is? Answer Choices: (a) 50 (b) 45 (c) 65 (d) 78 (e) 64</td></tr><tr><td>A: If 10 is added to each number, then the mean of the numbers also increases by 10.So the new mean would be 5O. The answer is (a).</td></tr><tr><td>Q: If a/b=3/4 and 8a + 5b=22,then find the value of a. Answer Choices: (a) 1/2 (b)3/2 (c)5/2 (d) 4/2 (e) 7/2</td></tr><tr><td>A: If a/b=3/4,then b=4a/3.So 8a + 5(4a/3)=22.This simplifies to 8a +20a/3 =22,which means 44a/3=22. So a is equal to 3/2. The answer is (b).</td></tr><tr><td>Q: A person is traveling at 2O km/hr and reached his destinyin 2.5 hr then find the distance?Answer Choices:</td></tr><tr><td>(a) 53 km (b) 55 km (c) 52 km (d) 60 km (e) 50 km A: The distance that the person traveled would have been 20 km/hr *2.5 hrs = 50 km. The answer is (e).</td></tr><tr><td>Q: How many keystrokes are neded to type the numbers from 1 to 50o? Answer Choices: (a)1156 (b)1392 (c) 1480 (d) 1562 (e) 1788</td></tr><tr><td>A: There are 9one-digit numbers from1 to 9.There are 90 two-digit numbers from 10 to 99.There are 401 three-digit numbers from 100 to 500.9 + 90(2) + 401(3)=1392.The answer is (b).</td></tr></table>",
        "bbox": [
            179,
            678,
            818,
            919
        ],
        "page_idx": 18
    },
    {
        "type": "text",
        "text": "Q: George wants to warm his hands quickly by rubbing them. Which skin surface will produce the most heat? (a) dry palms. (b) wet palms. (c) palms covered with oil. (d) palms covered with lotion.   \nA: Dry surfaces will more likely cause more friction via rubbing than other smoother surfaces, hence dry palms will produce the most heat. The answer is (a).   \nQ: Which factor will most likely cause a person to develop a fever? (a) a leg muscle relaxing after exercise. (b) a bacterial population in the bloodstream. (c) several viral particles on the skin. (d) carbohydrates being digested in the stomach.   \nA: Option (b), bacterial population is the most likely cause for a person developing fever. The answer is (b). Q: Which change in the state of water particles causes the particles to become arranged in a fixed position? (a) boiling. (b) melting. (c) freezing. (d) evaporating.   \nA: When water is freezed, the particles are arranged in a fixed position; the particles are still moving for all other options. The answer is (c).   \nQ: When a switch is used in an electrical circuit, the switch can (a) cause the charge to build. (b) increase and decrease the voltage. (c) cause the current to change direction. (d) stop and start the flow of current. A: The function of a switch is to start and stop the flow of a current. The answer is (d). ",
        "bbox": [
            181,
            130,
            816,
            363
        ],
        "page_idx": 19
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            186,
            353,
            696,
            367
        ],
        "page_idx": 19
    },
    {
        "type": "table",
        "img_path": "images/d846014dbc070b0023b6d822d97264fc0ef6c5c12bf7225871d6f1b4a1f98062.jpg",
        "table_caption": [
            "Table 15: Few-shot exemplars for ARC easy/challenge. ",
            "Table 16: Few-shot exemplars for HotpotQA (closed-book setting). "
        ],
        "table_footnote": [],
        "table_body": "<table><tr><td>Q: Which magazine was started first Arthur&#x27;s Magazine or First for Women?</td></tr><tr><td>A: Arthur&#x27;s Magazine started in 1844. First for Women started in 1989.So Arthur&#x27;s Magazine was started first. The answer is Arthur&#x27;s Magazine.</td></tr><tr><td>Q: The Oberoi family is part of a hotel company that has a head office in what city?</td></tr><tr><td>A: The Oberoi family is part of the hotel company called The Oberoi Group.The Oberoi Group has its head office in Delhi.The answeris Delhi.</td></tr><tr><td>Q: What nationality was James Henry Miller&#x27;s wife?</td></tr><tr><td>A: James Henry Miller&#x27;s wife is June Miller. June Miller is an American.The answer is American.</td></tr><tr><td>Q: The Dutch-Belgian television series that &quot;House of Anubis&quot; was based on first aired in what year?</td></tr><tr><td>A: &quot;House of Anubis&quot;is basedon the Dutch-Belgian television series Het Huis Anubis.Het Huis Anubis is first</td></tr></table>",
        "bbox": [
            179,
            412,
            838,
            604
        ],
        "page_idx": 19
    },
    {
        "type": "text",
        "text": "As additional information, we also list the exact set of prompts used for all arithmetic reasoning tasks in Table 17, since there are multiple sets of prompts introduced in Wei et al. (2022). The prompts for CommonsenseQA and StrategyQA are the same as used in Wei et al. (2022). ",
        "bbox": [
            174,
            633,
            826,
            676
        ],
        "page_idx": 19
    },
    {
        "type": "text",
        "text": "We provide the exact prompts used for common NLP tasks in the following tables as well, including NLI (Table 18, Table 19, Table 20) and Closed-Book Question-Answering tasks (Table 16, Table 21). ",
        "bbox": [
            173,
            683,
            823,
            712
        ],
        "page_idx": 19
    },
    {
        "type": "text",
        "text": "Q: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, there will be 21 trees. How many trees did the grove workers plant today?   \nA: We start with 15 trees. Later we have 21 trees. The difference must be the number of trees they planted. So, they must have planted $2 1 - 1 5 = 6$ trees. The answer is 6.   \nQ: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot? A: There are 3 cars in the parking lot already. 2 more arrive. Now there are $3 + 2 = 5$ cars. The answer is 5. Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total? A: Leah had 32 chocolates and Leah’s sister had 42. That means there were originally $3 2 + 4 2 = 7 4$ chocolates. 35 have been eaten. So in total they still have $7 4 - 3 5 = 3 9$ chocolates. The answer is 39. Q: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops did Jason give to Denny?   \nA: Jason had 20 lollipops. Since he only has 12 now, he must have given the rest to Denny. The number of lollipops he has given to Denny must have been $2 0 - 1 2 = 8 $ lollipops. The answer is 8.   \nQ: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does he have now?   \nA: He has 5 toys. He got 2 from mom, so after that he has $5 + 2 = 7$ toys. Then he got 2 more from dad, so in total he has $7 + 2 = 9$ toys. The answer is 9.   \nQ: There were nine computers in the server room. Five more computers were installed each day, from monday to thursday. How many computers are now in the server room?   \nA: There are 4 days from monday to thursday. 5 computers were added each day. That means in total $4 ^ { * } 5 =$ 20 computers were added. There were 9 computers in the beginning, so now there are $9 + 2 0 = 2 9$ computers. The answer is 29.   \nQ: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golf balls did he have at the end of wednesday?   \nA: Michael initially had 58 balls. He lost 23 on Tuesday, so after that he has $5 8 - 2 3 = 3 5$ balls. On Wednesday he lost 2 more so now he has $3 5 - 2 = 3 3$ balls. The answer is 33.   \nQ: Olivia has $\\$ 23$ . She bought five bagels for $\\$ 3$ each. How much money does she have left?   \nA: She bought 5 bagels for $\\$ 3$ each. This means she spent $5 * \\ S 3 = \\ S 1 5$ on the bagels. She had $\\$ 23$ in beginning, so now she has $\\$ 23-\\$ 15=58$ . The answer is 8. ",
        "bbox": [
            181,
            280,
            818,
            768
        ],
        "page_idx": 20
    },
    {
        "type": "text",
        "text": "Premise: ",
        "bbox": [
            184,
            146,
            236,
            157
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "\"Conceptually cream skimming has two basic dimensions - product and geography.\" ",
        "bbox": [
            181,
            159,
            691,
            170
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "Based on this premise, can we conclude the hypothesis \"Product and geography are what make cream skimming work.\" is true? ",
        "bbox": [
            184,
            171,
            838,
            195
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            183,
            196,
            328,
            246
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "A: Based on \"cream skimming has two basic dimensions\" we can’t infer that these two dimensions are what make cream skimming work. The answer is it is not possible to tell. ",
        "bbox": [
            178,
            252,
            836,
            277
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "Premise:   \n\"One of our member will carry out your instructions minutely.\"   \nBased on this premise, can we conclude the hypothesis \"A member of my team will execute your orders with   \nimmense precision.\" is true?   \nOPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            183,
            286,
            836,
            335
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            183,
            337,
            326,
            386
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "A: \"one of\" means the same as \"a member of\", \"carry out\" means the same as \"execute\", and \"minutely\" means the same as \"immense precision\". The answer is yes. ",
        "bbox": [
            179,
            392,
            834,
            416
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "Premise:   \n\"Fun for adults and children.\"   \nBased on this premise, can we conclude the hypothesis \"Fun for only children.\" is true?   \nOPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            184,
            426,
            702,
            463
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            183,
            463,
            326,
            513
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "A: \"adults and children\" contradicts \"only children\". The answer is no. ",
        "bbox": [
            184,
            518,
            601,
            531
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "Premise:   \n\"He turned and smiled at Vrenna.\"   \nBased on this premise, can we conclude the hypothesis \"He smiled at Vrenna who was walking slowly behind   \nhim with her mother.\" is true?   \nOPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            184,
            541,
            836,
            590
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            183,
            590,
            326,
            641
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "A: the premise does not say anything about \"Vrenna was walking\". The answer is it is not possible to tell. ",
        "bbox": [
            183,
            646,
            803,
            659
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "Premise:   \n\"well you see that on television also\"   \nBased on this premise, can we conclude the hypothesis \"You can see that on television, as well.\" is true?   \nOPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            183,
            670,
            802,
            705
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            183,
            705,
            326,
            756
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "A: \"also\" and \"as well\" mean the same thing. The answer is yes. ",
        "bbox": [
            184,
            761,
            563,
            773
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            183,
            833,
            326,
            882
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "A: \"Vrenna and I both\" contradicts \"neither Vrenna nor myself\". The answer is no. ",
        "bbox": [
            181,
            887,
            673,
            901
        ],
        "page_idx": 21
    },
    {
        "type": "text",
        "text": "Premise:   \n\"A person on a horse jumps over a broken down airplane.\"   \nBased on this premise, can we conclude the hypothesis \"A person is training his horse for a competition.\" is true? OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell   \nA: The person is not necessarily training his horse. The answer is it is not possible to tell. Premise:   \n\"A person on a horse jumps over a broken down airplane.\"   \nBased on this premise, can we conclude the hypothesis \"A person is at a diner, ordering an omelette.\" is true? OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell   \nA: One jumping horse cannot be in a diner ordering food. The answer is no. Premise:   \n\"A person on a horse jumps over a broken down airplane.\"   \nBased on this premise, can we conclude the hypothesis \"A person is outdoors, on a horse.\" is true? OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell   \nA: A broken down airplane is outdoors. The answer is yes. Premise:   \n\"Children smiling and waving at camera.\"   \nBased on this premise, can we conclude the hypothesis \"They are smiling at their parents.\" is true?   \nOPTIONS:   \n- yes   \n- no   \n- it is not possible to tell   \nA: Just because they are smiling and waving at a camera does not imply their parents or anyone is anyone behind it. The answer is it is not possible to tell.   \nPremise:   \n\"Children smiling and waving at camera.\"   \nBased on this premise, can we conclude the hypothesis \"The kids are frowning.\" is true? OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell ",
        "bbox": [
            181,
            205,
            838,
            308
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            181,
            318,
            830,
            416
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            183,
            425,
            764,
            525
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            181,
            539,
            839,
            648
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "",
        "bbox": [
            184,
            659,
            776,
            733
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "A: One cannot be smiling and frowning at the same time. The answer is no. ",
        "bbox": [
            181,
            733,
            629,
            744
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "Premise:   \n\"Children smiling and waving at camera.\"   \nBased on this premise, can we conclude the hypothesis \"There are children present.\" is true? OPTIONS:   \n- yes   \n- no   \n- it is not possible to tell   \nA:The children must be present to see them smiling and waving. The answer is yes. ",
        "bbox": [
            183,
            753,
            732,
            856
        ],
        "page_idx": 22
    },
    {
        "type": "text",
        "text": "Premise: ",
        "bbox": [
            183,
            176,
            236,
            188
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "\"No Weapons of Mass Destruction Found in Iraq Yet.\" ",
        "bbox": [
            186,
            189,
            504,
            200
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Based on this premise, can we conclude the hypothesis \"Weapons of Mass Destruction Found in Iraq.\" is true? ",
        "bbox": [
            181,
            200,
            833,
            214
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: \"No Weapons of Mass Destruction Found\" contradicts \"Weapons of Mass Destruction Found\". The answer is no. ",
        "bbox": [
            179,
            218,
            834,
            243
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Premise: ",
        "bbox": [
            184,
            253,
            236,
            265
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "\"A place of sorrow, after Pope John Paul II died, became a place of celebration, as Roman Catholic faithful gathered in downtown Chicago to mark the installation of new Pope Benedict XVI.\" ",
        "bbox": [
            184,
            265,
            833,
            290
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Based on this premise, can we conclude the hypothesis \"Pope Benedict XVI is the new leader of the Roman Catholic Church.\" is true?’ ",
        "bbox": [
            184,
            291,
            833,
            315
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: \"installation of new Pope Benedict XVI.\" means \"Pope Benedict XVI is the new leader\". The answer is yes. ",
        "bbox": [
            183,
            320,
            833,
            334
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Premise: ",
        "bbox": [
            184,
            343,
            236,
            354
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "\"A man is due in court later charged with the murder 26 years ago of a teenager whose case was the first to be featured on BBC One’s Crimewatch. Colette Aram, 16, was walking to her boyfriend’s house in Keyworth, Nottinghamshire, on 30 October 1983 when she disappeared. Her body was later found in a field close to her home. Paul Stewart Hutchinson, 50, has been charged with murder and is due before Nottingham magistrates later.\" ",
        "bbox": [
            184,
            354,
            836,
            416
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Based on this premise, can we conclude the hypothesis \"Paul Stewart Hutchinson is accused of having stabbed a girl.\" is true? ",
        "bbox": [
            181,
            417,
            834,
            443
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: The premise does not say Paul Stewart Hutchinson \"stabbed\" this girl. The answer is no. ",
        "bbox": [
            184,
            448,
            725,
            460
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Premise: ",
        "bbox": [
            184,
            469,
            236,
            482
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "\"Herceptin was already approved to treat the sickest breast cancer patients, and the company said, Monday, it will discuss with federal regulators the possibility of prescribing the drug for more breast cancer patients.\" Based on this premise, can we conclude the hypothesis \"Herceptin can be used to treat breast cancer.\" is true? ",
        "bbox": [
            183,
            483,
            836,
            520
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: \"Herceptin was approved to treat breast cancer\" implies that \"Herceptin can be used to treat breast cancer\".   \nThe answer is yes. ",
        "bbox": [
            179,
            525,
            838,
            550
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Q: does system of a down have 2 singers? ",
        "bbox": [
            183,
            684,
            433,
            698
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: System of a Down currently consists of Serj Tankian, Daron Malakian, Shavo Odadjian and John Dolmayan.   \nSerj and Daron do vocals, so the band does have two singers. The answer is yes. ",
        "bbox": [
            178,
            702,
            838,
            728
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Q: do iran and afghanistan speak the same language? ",
        "bbox": [
            184,
            736,
            498,
            750
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: Iran and Afghanistan both speak the Indo-European language Persian. The answer is yes. ",
        "bbox": [
            186,
            753,
            727,
            767
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Q: is a cello and a bass the same thing? ",
        "bbox": [
            183,
            775,
            419,
            789
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: The cello is played sitting down with the instrument between the knees, whereas the double bass is played standing or sitting on a stool. The answer is no. ",
        "bbox": [
            183,
            792,
            834,
            819
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "Q: can you use oyster card at epsom station? ",
        "bbox": [
            184,
            827,
            449,
            840
        ],
        "page_idx": 23
    },
    {
        "type": "text",
        "text": "A: Epsom railway station serves the town of Epsom in Surrey and is not in the London Oyster card zone. The answer is no. ",
        "bbox": [
            178,
            844,
            836,
            871
        ],
        "page_idx": 23
    }
]