File size: 87,477 Bytes
6fa4bc9 |
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 |
{
"paper_id": "W11-0105",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T05:44:19.423248Z"
},
"title": "Using Inverse \u03bb and Generalization to Translate English to Formal Languages",
"authors": [
{
"first": "Chitta",
"middle": [],
"last": "Baral",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Arizona State University",
"location": {}
},
"email": "[email protected]"
},
{
"first": "Juraj",
"middle": [],
"last": "Dzifcak",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Arizona State University",
"location": {}
},
"email": "[email protected]"
},
{
"first": "Marcos",
"middle": [
"Alvarez"
],
"last": "Gonzalez",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Arizona State University",
"location": {}
},
"email": ""
},
{
"first": "Jiayu",
"middle": [],
"last": "Zhou",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Arizona State University",
"location": {}
},
"email": "[email protected]"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "We present a system to translate natural language sentences to formulas in a formal or a knowledge representation language. Our system uses two inverse \u03bb-calculus operators and using them can take as input the semantic representation of some words, phrases and sentences and from that derive the semantic representation of other words and phrases. Our inverse \u03bb operator works on many formal languages including first order logic, database query languages and answer set programming. Our system uses a syntactic combinatorial categorial parser to parse natural language sentences and also to construct the semantic meaning of the sentences as directed by their parsing. The same parser is used for both. In addition to the inverse \u03bb-calculus operators, our system uses a notion of generalization to learn semantic representation of words from the semantic representation of other words that are of the same category. Together with this, we use an existing statistical learning approach to assign weights to deal with multiple meanings of words. Our system produces improved results on standard corpora on natural language interfaces for robot command and control and database queries.",
"pdf_parse": {
"paper_id": "W11-0105",
"_pdf_hash": "",
"abstract": [
{
"text": "We present a system to translate natural language sentences to formulas in a formal or a knowledge representation language. Our system uses two inverse \u03bb-calculus operators and using them can take as input the semantic representation of some words, phrases and sentences and from that derive the semantic representation of other words and phrases. Our inverse \u03bb operator works on many formal languages including first order logic, database query languages and answer set programming. Our system uses a syntactic combinatorial categorial parser to parse natural language sentences and also to construct the semantic meaning of the sentences as directed by their parsing. The same parser is used for both. In addition to the inverse \u03bb-calculus operators, our system uses a notion of generalization to learn semantic representation of words from the semantic representation of other words that are of the same category. Together with this, we use an existing statistical learning approach to assign weights to deal with multiple meanings of words. Our system produces improved results on standard corpora on natural language interfaces for robot command and control and database queries.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "Our long term goal is to develop general methodologies to translate natural language text into a formal knowledge representation (KR) language. In the absence of a single KR language that is appropriate for expressing all the nuances of a natural language, currently, depending on the need different KR languages are used. For example, while first-order logic is appropriate for mathematical knowledge, one of its subset Description logic is considered appropriate for expressing ontologies, temporal logics are considered appropriate for expressing goals of agents and robots, and various non-monotonic logics have been proposed to express common-sense knowledge. Thus, one of of our goals in this paper is to develop general methodologies that can be used in translating natural language to a desired KR language.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "There have been several learning based approaches, mainly from two groups at MIT and Austin. These include the following works: Zettlemoyer and Collins (2005) , Kate and Mooney (2006) , Wong and Mooney (2006) , Wong and Mooney (2007) , Lu et al. (2008) , Zettlemoyer and Collins (2007) and Ge and Mooney (2009) . Given a training corpus of natural language sentences coupled with their desired representations, these approaches learn a model capable of translating sentences to a desired meaning representation. For example, in the work by Zettlemoyer and Collins (2005) , a set of hand crafted rules is used to learn syntactic categories and semantic representations of words based on combinatorial categorial grammar (CCG), as described by Steedman (2000) , and \u03bb-calculus formulas, as discussed by Gamut (1991) . The later work of Zettlemoyer and Collins (2007) , also uses hand crafted rules. The Austin group has several papers over the years. Many of their works including the one by Ge and Mooney (2009) use a word alignment method to learn semantic lexicon and learn rules for composing meaning representation.",
"cite_spans": [
{
"start": 128,
"end": 158,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
},
{
"start": 161,
"end": 183,
"text": "Kate and Mooney (2006)",
"ref_id": "BIBREF7"
},
{
"start": 186,
"end": 208,
"text": "Wong and Mooney (2006)",
"ref_id": "BIBREF10"
},
{
"start": 211,
"end": 233,
"text": "Wong and Mooney (2007)",
"ref_id": "BIBREF11"
},
{
"start": 236,
"end": 252,
"text": "Lu et al. (2008)",
"ref_id": "BIBREF8"
},
{
"start": 255,
"end": 285,
"text": "Zettlemoyer and Collins (2007)",
"ref_id": "BIBREF14"
},
{
"start": 290,
"end": 310,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
},
{
"start": 540,
"end": 570,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
},
{
"start": 742,
"end": 757,
"text": "Steedman (2000)",
"ref_id": "BIBREF9"
},
{
"start": 801,
"end": 813,
"text": "Gamut (1991)",
"ref_id": "BIBREF3"
},
{
"start": 834,
"end": 864,
"text": "Zettlemoyer and Collins (2007)",
"ref_id": "BIBREF14"
},
{
"start": 990,
"end": 1010,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Similar to the work by Ge and Mooney (2009) , we use an existing syntactic parser to parse natural language. However we use a CCG parser, as described by Clark and Curran (2007) , to parse sentences, use lambda calculus for meaning representation, use the CCG parsing to compose meaning and have an initial dictionary. Note that unlike the work by Ge and Mooney (2009) , we do not need to learn rules for composing meaning representation. We use a novel method to learn semantic lexicon which is based on two inverse lambda operators that allow us to compute F given G and H such that F @G = H or G@F = H. Compared to the work by Zettlemoyer and Collins (2005) , we use the same learning approach but use a completely different approach in lexical generation. Our inverse \u03bb operator has been tested to work for many languages including first order logic, database query language, CLANG by Chen et al. (2003) , answer set programming (ASP) as described by Baral (2003) , and temporal logic. Thus our approach is not dependent on the language used to represent the semantics, nor limited by a fixed set of rules. Rather, the new \u03bb-calculus formulas and their semantic models, corresponding to the semantic or meaning representations, are directly obtained from known semantic representations which were provided with the data or learned before. The richness of \u03bb calculus allows us to rely only on the syntactic parse itself without the need to have separate rules for composing the semantics. The provided method yields improved experimental results on existing corpora on robot command and control and database queries.",
"cite_spans": [
{
"start": 23,
"end": 43,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
},
{
"start": 154,
"end": 177,
"text": "Clark and Curran (2007)",
"ref_id": "BIBREF2"
},
{
"start": 348,
"end": 368,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
},
{
"start": 630,
"end": 660,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
},
{
"start": 889,
"end": 907,
"text": "Chen et al. (2003)",
"ref_id": "BIBREF1"
},
{
"start": 955,
"end": 967,
"text": "Baral (2003)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "We now illustrate how one can use CCG parsing and \u03bb-calculus applications to obtain database query representation of sentences. We then motivate and explain the role of our \"inverse \u03bb\" operator. A syntactic and semantic parse tree for the sentence \"Give me the largest state.\" is given in Table 1. Give me the largest state.",
"cite_spans": [],
"ref_spans": [
{
"start": 289,
"end": 297,
"text": "Table 1.",
"ref_id": null
}
],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "S/N P N P/N N/N N S/N P N P/N N S/N P N P S",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "Give me the largest state. \u03bbx.answer(A, x@A)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "\u03bbx.x \u03bbx.\u03bby.largest(y, x@y) \u03bbz.state(z) \u03bbx.answer(A, x@A)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "\u03bbx.x \u03bby.largest(y, state(y)) \u03bbx.answer(A, x@A) \u03bby.largest(y, state(y)) answer(A, largest(A, state(A))) Table 1 : CCG and \u03bb-calculus derivation for \"Give me the largest state.\"",
"cite_spans": [],
"ref_spans": [
{
"start": 103,
"end": 110,
"text": "Table 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "The upper portion of the figure lists the nodes corresponding to the CCG categories which are used to syntactically parse the sentence. These are assigned to each word and then combined using combinatorial rules, as described by Steedman (2000) , to obtain the categories corresponding to parts of the sentence and finally the complete sentence itself. For example, the category for \"largest\", N/N is combined with the category of \"state.\", N , to obtain the category of \"largest state.\", which is N . In a similar manner, each word is assigned a semantic meaning in the form of a \u03bb-calculus formula, as indicated by the lower portion of the figure. The language used to represent the semantics of words and the sentence is the database query language used in the robocup domain. The formulas corresponding to words are combined by applying one to another, as dictated by the syntactic parse tree to obtain the semantic representation of the whole sentence. For example, the semantics of \"the largest state.\", \u03bby.largest(y, state(y)) is applied to the semantics of \"Give me\", \u03bbx.answer(A, x@A), to obtain the semantics of \"Give me the largest state.\", answer(A, largest(A, state(A))).",
"cite_spans": [
{
"start": 229,
"end": 244,
"text": "Steedman (2000)",
"ref_id": "BIBREF9"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "The given example illustrates how to obtain the semantics of the sentence given the semantics of words. However, what happens if the semantics of the word \"largest\" is not given? It might be either missing completely, or the current semantics of \"largest\" in the dictionary might simply not be applicable for the sentence \"Give me the largest state.\".",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "Let us assume that the semantic representation of \"largest\" is not known, while the semantic representation of the rest of the sentence is known. We can then obtain the semantic representation of \"largest\" as follows. Given the formula answer(A, largest(A, state(A))) for the whole sentence \"Give me the largest state.\" and the formula \u03bbx.answer(A, x@A) for \"Give me\", we can perform some kind of an inverse application 1 to obtain the semantics representation of \"the largest state\", \u03bby.largest(y, state(y)). Similarly, we can then use the known semantics of \"the\", to obtain the semantic representation of \"largest state.\" as \u03bby.largest(y, state(y)). Finally, using the known semantics of state, \u03bbz.state(z) we can obtain the the semantics of \"largest\" as \u03bbx.\u03bby.largest(y, x@y).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "It is important to note that using @ we are able to construct relatively complex semantic representations that are properly mapped to the required syntax.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "Given a set of training sentences with their desired semantic representations, a syntactic parser, such as the one by Clark and Curran (2007) , and an initial dictionary, we can apply the above idea on each of the sentences to learn the missing semantic representations of words. We can then apply a learning model, such as the one used by Zettlemoyer and Collins (2005) , on these new semantic representations and assign weights to different semantic representations. These can then be used to parse and represent the semantics of new sentences. This briefly sums up our approach to learn and compute new semantic representations. It is easy to see that this approach can be applied with respect to any language that can be handled by \"inverse \u03bb\" operators and is not limited in the set of new representations it provides.",
"cite_spans": [
{
"start": 118,
"end": 141,
"text": "Clark and Curran (2007)",
"ref_id": "BIBREF2"
},
{
"start": 340,
"end": 370,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "We will consider two domains to evaluate our approach. The fist one is the GEOQUERY domain used by Zelle and Mooney (1996) , which uses a Prolog based language to query a database with geographical information about the U.S. It should be noted that this language uses higher-order predicates. An example query is provided in Table 1 . The second domain is the ROBOCUP domain of Chen et al. (2003) . This is a multi-agent domain where agents compete against each other in a simulated soccer game. The language CLANG of Chen et al. (2003) is a formal language used to provide instructions to the agents. An example query with the corresponding natural language sentence is given below.",
"cite_spans": [
{
"start": 99,
"end": 122,
"text": "Zelle and Mooney (1996)",
"ref_id": "BIBREF12"
},
{
"start": 378,
"end": 396,
"text": "Chen et al. (2003)",
"ref_id": "BIBREF1"
},
{
"start": 518,
"end": 536,
"text": "Chen et al. (2003)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [
{
"start": 325,
"end": 332,
"text": "Table 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "\u2022 If the ball is in our midfield, position player 3 at (-5, -23).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "\u2022 ((bpos (midfield our)) (do (player our 3) (pos (pt -5 -23))))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Motivation and Background",
"sec_num": "2"
},
{
"text": "We adopt the learning model given by Zettlemoyer and Collins (2005 and use it to assign weights to the semantic representations of words. Since a word can have multiple possible syntactic and semantic representations assigned to it, such as John may be represented as John as well as \u03bbx.x@John, we use the probabilistic model to assign weights to these representations.",
"cite_spans": [
{
"start": 37,
"end": 66,
"text": "Zettlemoyer and Collins (2005",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Learning Approach",
"sec_num": "3"
},
{
"text": "The main differences between our algorithm and the one given by Zettlemoyer and Collins (2005) are the way in which new semantic representations are obtained. While Zettlemoyer and Collins (2005) uses a predefined table to obtain these, we obtain the new semantic representations by using inverse \u03bb operators and generalization.",
"cite_spans": [
{
"start": 64,
"end": 94,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
},
{
"start": 165,
"end": 195,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Learning Approach",
"sec_num": "3"
},
{
"text": "We assume that complete syntactic parses are available 2 . The parsing uses a probabilistic combinatorial categorial grammar framework similar to the one given by Zettlemoyer and Collins (2005) . We assume a probabilistic categorial grammar (PCCG) based on a log linear model. Let S denote a sentence, L denote the semantic representation of the sentence, and T denote it's parse tree. We assume a mappingf of a triple (L, T, S) to feature vectors R d and a vector of parameters\u0398 \u2208 R d representing the weights. Then the probability of a particular syntactic and semantic parse is given as:",
"cite_spans": [
{
"start": 163,
"end": 193,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Learning model and parsing",
"sec_num": "3.1"
},
{
"text": "P (L, T |S;\u0398) = ef (L,T,S).\u0398 \u2211 (L,T ) ef (L,T,S).\u0398",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Learning model and parsing",
"sec_num": "3.1"
},
{
"text": "We use only lexical features. Each feature f j counts the number of times that the lexical entry is used in T .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Learning model and parsing",
"sec_num": "3.1"
},
{
"text": "Parsing a sentence under PCCG includes finding L such that P (L|S;\u0398) is maximized.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Learning model and parsing",
"sec_num": "3.1"
},
{
"text": "argmax L P (L|S;\u0398) = argmax L \u2211 T P (L, T |S;\u0398)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Learning model and parsing",
"sec_num": "3.1"
},
{
"text": "We use dynamic programming techniques to calculate the most probable parse for a sentence.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Learning model and parsing",
"sec_num": "3.1"
},
{
"text": "For lack of space, we present only one of the two Inverse \u03bb operators, Inverse L and Inverse R of Gonzalez (2010) . The objective of these two algorithms is that given typed \u03bb-calculus formulas H and G, we want to compute the formula F such that F @G = H and G@F = H. First, we introduce the different symbols used in the algorithm and their meaning :",
"cite_spans": [
{
"start": 98,
"end": 113,
"text": "Gonzalez (2010)",
"ref_id": "BIBREF6"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "\u2022 Let G, H represent typed \u03bb-calculus formulas, J 1 ,J 2 ,...,J n represent typed terms, v 1 to v n , v and",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "w represent variables and \u03c3 1 ,...,\u03c3 n represent typed atomic terms.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "\u2022 Let f () represent a typed atomic formula. Atomic formulas may have a different arity than the one specified and still satisfy the conditions of the algorithm if they contain the necessary typed atomic terms.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "\u2022 Typed terms that are sub terms of a typed term J are denoted as J i .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "\u2022 If the formulas we are processing within the algorithm do not satisfy any of the if conditions then the algorithm returns null.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "Definition 1 (operator :) Consider two lists of typed \u03bb-elements A and B, (a i , ..., a n ) and (b j , ..., b n ) respectively and a formula H. The result of the operation H(A : B) is obtained by replacing a i by b i , for each appearance of A in H.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "Next, we present the definition of an inverse operators 3 Inverse R (H, G):",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "Definition 2 (Inverse R (H, G)) The function Inverse R (H, G)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": ", is defined as: Given G and H:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "1. If G is \u03bbv.v@J, set F = Inverse L (H, J)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "2. If J is a sub term of H and G is \u03bbv.H(J : v) then F = J.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "3. If G is not \u03bbv.v@J, J is a sub term of H and G is \u03bbw.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "H(J(J 1 , ..., J m ) : w@J p , ..., @J q ) with 1 \u2264 p,q,s \u2264 m. then F = \u03bbv 1 , ..., v s .J(J 1 , ..., J m : v p , ..., v q ).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "The function Inverse L (H, G) is defined similarly.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "Illustration: Inverse R -Case 3: Suppose H = in(river, T exas) and G = \u03bbv.v@T exas@river G is not of the form \u03bbv.v@J since J = T exas@river is not a formula. Thus the first condition is not satisfied. Similarly, there is no J that satisfies the second condition. Thus let us try to find a suitable J that satisfies third condition. If we take J 1 = river and J 2 = T exas, then the third condition is satisfied by G = \u03bbx.H((J(J 1 , J 2 ) : x@J 2 @J 1 ), which in this case corresponds to G = \u03bbx.H(in(river, T exas) :",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "x@T exas@river). Thus,",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "F = \u03bbv 1 , v 2 .J(J 1 , J 2 : v 2 , v 1 ) and so F = \u03bbv 1 , v 2 .in(v 2 , v 1 ).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "It is easy to see that G @ F = H.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The inverse \u03bb operators",
"sec_num": "3.2"
},
{
"text": "Using IN V ERSE L and IN V ERSE R, we are able to obtain new semantic representations of particular words in the sentence. However, without any form of generalization, we are not able to extend these to words beyond the ones actually contained in the training data. Since our goal is to go beyond that, we strive to generalize the new semantic representations beyond those words.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Generalization",
"sec_num": "3.3"
},
{
"text": "To extend our coverage, a function that will take any new learned semantic expressions and the current lexicon and will try to use them to obtain new semantic expressions for words of the same category has to be designed. It will use the following idea. Consider the non-transitive verb \"fly\" of category S\\N P . Lets assume we obtain a new semantic expression for \"fly\" as \u03bbx.f ly(x) using IN V ERSE L and IN V ERSE R. The GEN ERALIZE function looks up all the words of the same syntactic category, S\\N P . It then identifies the part of the semantic expression in which \"fly\" is involved. In our particular case, it's the subexpression f ly. It then proceeds to search the dictionary for all the words of category S\\N P . For each such word w, it will add a new semantic expression \u03bbx.w(x) to the dictionary. For example for the verb \"swim\", it would add \u03bbx.swim(x).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Generalization",
"sec_num": "3.3"
},
{
"text": "However, the above idea also comes with a drawback. It can produce a vast amount of new semantics representations that are not necessary for most of the sentences, and thus have a negative impact on performance. Thus instead of applying the above idea on the whole dictionary, we perform generalization \"on demand\". That is, if a sentence contains words with unknown semantics, we look for words of the same category and use the same idea to find their semantics. Let us assume IDEN T IF Y (word, semantics) identifies the parts of semantics in which word is involved and REP LACE(s, a, b) replaces a with b in s. We assume that each lexical entry is a triple (w, cat, sem) where w is the actual word, cat is the syntactic category and sem is the semantic expression corresponding to w and cat.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Generalization",
"sec_num": "3.3"
},
{
"text": "GEN",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Generalization",
"sec_num": "3.3"
},
{
"text": "ERALIZE D (L, \u03b1) \u2022 For each l j \u2208 L -If l j (cat) = \u03b1(cat) * I = IDEN T IF Y (l j (w), l j (sem)) * S = REP LACE(l j (sem), I, \u03b1(w)) * L = L \u222a (\u03b1(w), \u03b1(cat), S)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Generalization",
"sec_num": "3.3"
},
{
"text": "As an example, consider the sentence \"Give me the largest state.\" from Table 1. Let us assume that the semantics of the word \"largest\" as well as \"the\" is not known, however the semantics of \"longest\" is given by the dictionary as \u03bbx.\u03bby.longest(y, x@y). Normally, the system would be unable to parse this sentence and would continue on. However, upon calling GEN ERALIZE D (L,\"largest\"), the word longest is found in the dictionary with the same syntactic category. Thus this function takes the semantic representation of \"longest\" \u03bbx.\u03bby.longest(y, x@y), modifies it accordingly for largest, giving \u03bbx.\u03bby.largest(y, x@y) and stores it in the lexicon. After that, the IN V ERSE L and IN V ERSE R can be applied to obtain the semantics of \"the\".",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Generalization",
"sec_num": "3.3"
},
{
"text": "Even with on demand generalization, we might still be missing large amounts of semantics information to be able to use IN V ERSE L and IN V ERSE R . To make up for this, we allow trivial solutions under certain conditions. A trivial solution is a solution, where one of the formulas is assigned a \u03bbx.x representation. For example, given H, we are looking for F such that H = G@F . If we set G to be \u03bbx.x, then trivially F = H. Thus we can try to carefully set some unknown semantics of words as \u03bbx.x which will allow us to compute the semantics of the remaining words using IN V ERSE L and IN V ERSE R . The question then becomes, when do we allow these? In our approach, we allow these for words that do not seem to have any contribution to the final semantic meaning of the text. In some cases, articles such as \"the\", while having a specific place in the English language, might not contribute anything to the actual meaning representation of the sentence. In general, any word not present in the final semantics is a potential candidate to be assigned the trivial semantic representation \u03bbx.x. These are added with very low weights compared to the semantics found using IN V ERSE L and IN V ERSE R , so that if at one point a non-trivial semantic representation is found, the system will attempt to use it over the trivial one.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Trivial inverse solutions",
"sec_num": "3.4"
},
{
"text": "As an example, consider again the sentence \"Give me the largest state.\" from Table 1 with the semantics answer(A, largest(A, state(A))). Let us assume the semantic representations of \"the\" and \"largest\" are not known. Under normal circumstances the algorithm would be unable to find the semantics of \"largest\" using IN V ERSE L and IN V ERSE R as it is missing the semantics of \"the\". However, as \"the\" is not present in the desired semantics, the system will attempt to assign \u03bbx.x as its semantic representation. After doing that, IN V ERSE L and IN V ERSE R can be used to compute the semantic representation of \"largest\" as \u03bbx.\u03bby.largest(y, x@y).",
"cite_spans": [],
"ref_spans": [
{
"start": 77,
"end": 84,
"text": "Table 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Trivial inverse solutions",
"sec_num": "3.4"
},
{
"text": "The complete learning algorithm used within our approach is shown below. The input to the algorithm is an initial lexicon L 0 and a set of pairs (S i , L i ), i = 1, ..., n, where S i is a sentence and L i its corresponding logical form. The output of the algorithm is a PCCG defined by the lexicon L T and a parameter vector \u0398 T .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "The parameter vector \u0398 i is updated at each iteration of the algorithm. It stores a real number for each item in the dictionary. The initial values were set to 0.1. The algorithm is divided into two major steps, lexical generation and parameters update. The goal of the algorithm is to extract as much information as possible given the provided training data.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "In the first step, the algorithm iterates over all the sentences n times and for each sentence constructs a syntactic and (potentially incomplete) semantic parse tree. Using the semantic parse tree, it then attempts to obtain new \u03bb-calculus formulas by traversing the tree and performing regular applications and inverse computations where possible. Any new semantics are then generalized and stored in the lexicon.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "The main reason to iterate over all the sentences n times is to extract all the possible information given the current parameter vector. There may be cases where the information learned from the last sentence can be used to learn additional information from the third sentence, which can then be used to learn new semantics from the second sentence etc. By looping over all sentences n times, we ensure we capture and learn as much information as possible.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "Note that the semantic parse trees of the sentences may change once the parameters of words change. Thus even though we are looping over all the sentences T times, the semantic parse tree of a sentence might change as a result of a change in the parameter vector. This change can be very minor, such as change in the semantics of a single word, or in a rare case a major one where most of the semantic expressions present in the tree change. Thus we might learn different semantics of words given different parameter vectors.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "In the second step, the parameter vector \u0398 i is updated using stochastic gradient descent. Steps one and two are performed T times. In our experiments, the value of T ranged from 50 to 100.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "Overall, steps one and two form an exhaustive search which optimizes the log-likelihood of the training model. ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "* Set L t+1 = L t \u222a \u03b1 -Step 2: (Parameter Estimation) -Set \u0398 t+1 = U P DAT E(\u0398 t , L t+1 ) 4 \u2022 return GEN ERALIZE(L T , L T ), \u0398(T ) 4 Experimental Evaluation",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The overall learning algorithm.",
"sec_num": "3.5"
},
{
"text": "To evaluate our algorithm, we used the standard corpus in GEOQUERY and CLANG. The GEOQUERY corpus contained 880 English sentences with respective database queries. The CLANG corpus contained 300 entries specifying rules, conditions and definitions in CLANG. The GEOQUERY corpus contained relatively short sentences with the sentences ranging from four to seventeen words of quite similar syntactic structure. The sentences in CLANG are much longer, with more complex structure with length ranging from five to thirty eight words.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The data",
"sec_num": "4.1"
},
{
"text": "For our experiments, we used the C&C parser of Clark and Curran (2007) to provide syntactic parses for sentences. For CLANG corpus, the position vectors and compound nouns with numbers were pre-processed and consequently treated as single noun.",
"cite_spans": [
{
"start": 47,
"end": 70,
"text": "Clark and Curran (2007)",
"ref_id": "BIBREF2"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "The data",
"sec_num": "4.1"
},
{
"text": "Our experiments were done using a 10 fold cross validation and were conducted as follows. A set of training and testing examples was generated from the respective corpus. These were parsed by the C&C parser to obtain the syntactic tree structure. These together with the training sets containing the training sentences with their corresponding semantic representations (SRs) and an initial dictionary was used to train a new dictionary with corresponding parameters. This dictionary was generalized with respect of all the words in the test sentences. Note that it is possible that many of the words were still missing their SRs. This dictionary was then used to parse the test sentences and highest scoring parse was used to determine precision and recall. Since many words might have been missing their SRs, the system might not have returned a proper complete semantic parse.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The data",
"sec_num": "4.1"
},
{
"text": "To measure precision and recall, we adopted the measures given by Ge and Mooney (2009) . Precision denotes the percentage of of returned SRs that were correct, while Recall denotes the percentage of test examples with pre-specified SRs returned. F-measure is the standard harmonic mean of precision and recall. For database querying, an SR was considered correct if it retrieved the same answer as the standard query. For CLANG, an SR was correct if it was an exact match of the desired SR, except for argument ordering of conjunctions and other commutative predicates. Additionally, a set of additional experiments was run with \"(definec\" and \"(definer\" treated as being equal.",
"cite_spans": [
{
"start": 66,
"end": 86,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "The data",
"sec_num": "4.1"
},
{
"text": "We evaluated two different version of our system. The first one, IN V ERSE, uses IN V ERSE L and IN V ERSE R and regular generalization which is applied after each step. The second version, IN V ERSE+, uses trivial inverse solutions as well as on demand generalization. Both systems were evaluated on the same data sets using 10 fold cross validation and the C&C parser using an equal number of train and test sentences, randomly chosen from their respective corpus. The initial dictionary contained a few nouns, with the addition of one randomly selected word from the set {what, where, which} in case of GEOQUERY. For CLANG, the initial dictionary also contained a few nouns, together with the addition of one randomly selected word from the set {if, when, during}. The learning parameters were set to the values used by Zettlemoyer and Collins (2005) .",
"cite_spans": [
{
"start": 823,
"end": 853,
"text": "Zettlemoyer and Collins (2005)",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "The data",
"sec_num": "4.1"
},
{
"text": "We compared our systems with the performance results of several alternative systems for which the performance data is available in the literature. In particular, we used the performance data given by Ge and Mooney (2009) . The systems that we compared with are: The SYN0, SYN20 and GOLDSYN systems by Ge and Mooney (2009) , the system SCISSOR by Ge and Mooney (2005) , an SVM based system KRIPS by Kate and Mooney (2006) , a synchronous grammar based system WASP by Wong and Mooney (2007) , the CCG based system by Zettlemoyer and Collins (2007) and the work by Lu et al. (2008) . Please note that many of these approaches require different parsers, human supervision or other additional tools, while our approach requires a syntactic parse of the sentences and an initial dictionary.",
"cite_spans": [
{
"start": 200,
"end": 220,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
},
{
"start": 301,
"end": 321,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
},
{
"start": 346,
"end": 366,
"text": "Ge and Mooney (2005)",
"ref_id": "BIBREF4"
},
{
"start": 398,
"end": 420,
"text": "Kate and Mooney (2006)",
"ref_id": "BIBREF7"
},
{
"start": 466,
"end": 488,
"text": "Wong and Mooney (2007)",
"ref_id": "BIBREF11"
},
{
"start": 515,
"end": 545,
"text": "Zettlemoyer and Collins (2007)",
"ref_id": "BIBREF14"
},
{
"start": 562,
"end": 578,
"text": "Lu et al. (2008)",
"ref_id": "BIBREF8"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Results",
"sec_num": "4.2"
},
{
"text": "Our and their reported results for the respective corpora are given in the Tables 2 and 3 . Table 3 : Performance on CLANG.",
"cite_spans": [],
"ref_spans": [
{
"start": 75,
"end": 89,
"text": "Tables 2 and 3",
"ref_id": "TABREF1"
},
{
"start": 92,
"end": 99,
"text": "Table 3",
"ref_id": null
}
],
"eq_spans": [],
"section": "Results",
"sec_num": "4.2"
},
{
"text": "The IN V ERSE + (i) denotes training where \"(definec\" and \"(definer\" at the start of SRs were treated as being equal. The main reason for this was that there seems to be no way to distinguish in between them. Even as a human, we found it hard to be able to distinguish between them.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Results",
"sec_num": "4.2"
},
{
"text": "Our testing showed that our method is capable of outperforming all of the existing parsers in F-measure. However, there are parsers which can produce greater precision, such as WASP and SCISSOR on CLANG corpus, however they do at the cost in recall. As discussed by Ge and Mooney (2009) , the GEOQUERY results for SCISSOR, KRISP and Lu's work use a different, less accurate representation language FUNSQL which may skew the results. Also, SCISSOR outperforms our system on GEO-QUERY corpus in terms of precision, but at the cost of additional human supervision.",
"cite_spans": [
{
"start": 266,
"end": 286,
"text": "Ge and Mooney (2009)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Analysis",
"sec_num": "4.3"
},
{
"text": "Our system is particularly accurate for shorter sentences, or a corpus where many sentences have similar general structure, such as GEOQUERY. However, it is also capable of handling longer sentences, in particular if they in fact consists of several shorter sentences, such as for example \"If the ball is in our midfield, position player 3 at (-5,-23) .\", which can be looked at as \"IF A, B\" where \"A\" and \"B\" are smaller complete sentences themselves. The system is capable of learning the semantics of several basic categories such as verbs, after which most of the training sentences are easily parsed and missing semantics is learned quickly. The inability to parse other sentences mostly comes from two sources. First one is if the test sentence contains a syntactic category not seen in the training data. Our generalization model is not capable of generalizing these and thus fails to produce a semantic parse. The second problem comes from ambiguity of SRs. During training, many words will be assigned several SRs based on the training data. The parses are then ranked and in several cases, the correct SR might not be on the top. Re-ranking might help alleviate the second issue.",
"cite_spans": [
{
"start": 343,
"end": 351,
"text": "(-5,-23)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Analysis",
"sec_num": "4.3"
},
{
"text": "Unlike the other systems, we do not make use of a grammar for the semantics of the sentence. The reason it is not required is that the actual semantics is analyzed in computing the inverse lambdas, and the richness of \u03bb-calculus allows us to compute relatively complex formulas to represent the semantic of words.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Analysis",
"sec_num": "4.3"
},
{
"text": "We also run examples with increased size of training data. These produced larger dictionaries and in general did not significantly affect the results. The main reason is that as discussed before, once the most common categories of words have their semantics assigned, most of the sentences can be properly parsed. Increasing the amount of training data increases the coverage in terms of the rare syntactic categories, but these are also rarely present in the testing data. The used training sample was in all cases sufficient to learn almost all of the categories. This might not be the case in general, for example if we had a corpus with all of the sentences of a particular length and structure, our method might not be capable of learning any new semantics. In such cases, additional words would have to be added to the initial dictionary, or additional sentences of varying lengths would have to be added.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Analysis",
"sec_num": "4.3"
},
{
"text": "The C&C parser of Clark and Curran (2007) was primarily trained on news paper text and thus did have some problems with these different domains and in some cases resulted in complex semantic representations of words. This could be improved by using a different parser, or by simply adjusting some of the parse trees. In addition, our system can be gradually improved by increasing the size of initial dictionary.",
"cite_spans": [
{
"start": 18,
"end": 41,
"text": "Clark and Curran (2007)",
"ref_id": "BIBREF2"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Analysis",
"sec_num": "4.3"
},
{
"text": "We presented a new approach to map natural language sentences to their semantic representations. We used an existing syntactic parser, a novel inverse \u03bb operator and several generalization techniques to learn the semantic representations of words. Our method is largely independent of the target representation language and directly computes the semantic representations based on the syntactic structure of the syntactic parse tree and known semantic representations. We used statistical learning methods to assign weights to different semantic representation of words and sentences.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions and Discussion",
"sec_num": "5"
},
{
"text": "Our results indicate that our approach outperforms many of the existing systems on the standard corpora of database querying and robot command and control.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions and Discussion",
"sec_num": "5"
},
{
"text": "We envision several directions of future work. One direction is to experiment our system with corpora where the natural language semantics is given through other Knowledge Representation languages such as answer set programming (ASP) 5 and temporal logic. We are currently building such corpora. Another direction is to improve the statistical learning part of the system. An initial experimentation with a different learning algorithm shows significant decrease in training time with slight reduction in performance. Finally, since our system uses an initial dictionary, which we tried to minimize by only having a few nouns and one of the query words, exploring how to reduce it further and possibly completely eliminating it is a future direction of research.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions and Discussion",
"sec_num": "5"
},
{
"text": "Thus instead of applying G to F to obtain H, G@F = H, we try to find an F such that G@F = H given G and H. 2 A sentence can have several different parses.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
},
{
"text": "This is the operator that was used in this implementation. In a companion work we develop an enhancement of this operator which is proven sound and complete.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
},
{
"text": "For details on \u0398 computation, please see the work byZettlemoyer and Collins (2005)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
},
{
"text": "A preliminary evaluation with respect to a corpus with newspaper text translated into ASP resulted in a precision of 77%, recall of 82% with F-measure at 80 using a much smaller training set.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Knowledge Representation, Reasoning, and Declarative Problem Solving",
"authors": [
{
"first": "C",
"middle": [],
"last": "Baral",
"suffix": ""
}
],
"year": 2003,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Baral, C. (2003). Knowledge Representation, Reasoning, and Declarative Problem Solving. Cambridge University Press.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Users manual: Robocup soccer server manula for soccer server version 7.07 and later",
"authors": [
{
"first": "M",
"middle": [],
"last": "Chen",
"suffix": ""
},
{
"first": "E",
"middle": [],
"last": "Foroughi",
"suffix": ""
},
{
"first": "F",
"middle": [],
"last": "Heintz",
"suffix": ""
},
{
"first": "S",
"middle": [],
"last": "Kapetanakis",
"suffix": ""
},
{
"first": "K",
"middle": [],
"last": "Kostadis",
"suffix": ""
},
{
"first": "J",
"middle": [],
"last": "Kummeneje",
"suffix": ""
},
{
"first": "I",
"middle": [],
"last": "Noda",
"suffix": ""
},
{
"first": "O",
"middle": [],
"last": "Obst",
"suffix": ""
},
{
"first": "P",
"middle": [],
"last": "Riley",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Steffens",
"suffix": ""
},
{
"first": "Y",
"middle": [
"W X"
],
"last": "Yin",
"suffix": ""
}
],
"year": 2003,
"venue": "Avaliable at",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Chen, M., E. Foroughi, F. Heintz, S. Kapetanakis, K. Kostadis, J. Kummeneje, I. Noda, O. Obst, P. Riley, T. Steffens, and Y. W. X. Yin (2003). Users manual: Robocup soccer server manula for soccer server version 7.07 and later. In Avaliable at http://sourceforge.net/projects/sserver/.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Wide-coverage efficient statistical parsing with ccg and log-linear models",
"authors": [
{
"first": "S",
"middle": [],
"last": "Clark",
"suffix": ""
},
{
"first": "J",
"middle": [
"R"
],
"last": "Curran",
"suffix": ""
}
],
"year": 2007,
"venue": "Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Clark, S. and J. R. Curran (2007). Wide-coverage efficient statistical parsing with ccg and log-linear models. Computational Linguistics 33.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Logic, Language, and Meaning",
"authors": [
{
"first": "L",
"middle": [],
"last": "Gamut",
"suffix": ""
}
],
"year": 1991,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Gamut, L. (1991). Logic, Language, and Meaning. The University of Chicago Press.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "A statistical semantic parser that integrates syntax and semantics",
"authors": [
{
"first": "R",
"middle": [],
"last": "Ge",
"suffix": ""
},
{
"first": "R",
"middle": [
"J"
],
"last": "Mooney",
"suffix": ""
}
],
"year": 2005,
"venue": "Proceedings of the Ninth Conference on Computational Natural Language Learning",
"volume": "",
"issue": "",
"pages": "9--16",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ge, R. and R. J. Mooney (2005). A statistical semantic parser that integrates syntax and semantics. In In Proceedings of the Ninth Conference on Computational Natural Language Learning., pp. 9-16.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Learning a compositional semantic parser using an existing syntactic parser",
"authors": [
{
"first": "R",
"middle": [],
"last": "Ge",
"suffix": ""
},
{
"first": "R",
"middle": [
"J"
],
"last": "Mooney",
"suffix": ""
}
],
"year": 2009,
"venue": "Proceedings of the Joint Conference of the 47th Annual Meeting of the Association for Computational Linguistics and the 4th International Joint Conference on Natural Language Processing of the Asian Federation of Natural Language Processing",
"volume": "",
"issue": "",
"pages": "611--619",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ge, R. and R. J. Mooney (2009). Learning a compositional semantic parser using an existing syntactic parser. In In Proceedings of the Joint Conference of the 47th Annual Meeting of the Association for Computational Linguistics and the 4th International Joint Conference on Natural Language Process- ing of the Asian Federation of Natural Language Processing (ACL-IJCNLP 2009)., pp. 611-619.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "An inverse lambda calculus algorithm for natural language processing",
"authors": [
{
"first": "M",
"middle": [
"A"
],
"last": "Gonzalez",
"suffix": ""
}
],
"year": 2010,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Gonzalez, M. A. (2010). An inverse lambda calculus algorithm for natural language processing. Master's thesis, Arizona State University.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Using string-kernels for learning semantic parsers",
"authors": [
{
"first": "R",
"middle": [
"J"
],
"last": "Kate",
"suffix": ""
},
{
"first": "R",
"middle": [
"J"
],
"last": "Mooney",
"suffix": ""
}
],
"year": 2006,
"venue": "Proceedings of the 21st Intl. Conference on Computational Linguistics",
"volume": "",
"issue": "",
"pages": "439--446",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Kate, R. J. and R. J. Mooney (2006). Using string-kernels for learning semantic parsers. In In Proceed- ings of the 21st Intl. Conference on Computational Linguistics., pp. 439-446.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "A generative model for parsing natural language to meaning representations",
"authors": [
{
"first": "W",
"middle": [],
"last": "Lu",
"suffix": ""
},
{
"first": "H",
"middle": [
"T"
],
"last": "Ng",
"suffix": ""
},
{
"first": "W",
"middle": [
"S"
],
"last": "Lee",
"suffix": ""
},
{
"first": "L",
"middle": [
"S"
],
"last": "Zettlemoyer",
"suffix": ""
}
],
"year": 2008,
"venue": "Proceedings of the Conference on Empirical Methods in Natural Language Pricessing (EMNLP-08)",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Lu, W., H. T. Ng, W. S. Lee, and L. S. Zettlemoyer (2008). A generative model for parsing natural language to meaning representations. In In Proceedings of the Conference on Empirical Methods in Natural Language Pricessing (EMNLP-08).",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "The syntactic process",
"authors": [
{
"first": "M",
"middle": [],
"last": "Steedman",
"suffix": ""
}
],
"year": 2000,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Steedman, M. (2000). The syntactic process. MIT Press.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Learning for semantic parsing with statistical machine translation",
"authors": [
{
"first": "Y",
"middle": [
"W"
],
"last": "Wong",
"suffix": ""
},
{
"first": "R",
"middle": [
"J"
],
"last": "Mooney",
"suffix": ""
}
],
"year": 2006,
"venue": "Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "439--446",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Wong, Y. W. and R. J. Mooney (2006). Learning for semantic parsing with statistical machine translation. In In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics (HLT/NAACL-2006)., pp. 439-446.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Learning synchronous grammars for semantic parsing with lambda calculus",
"authors": [
{
"first": "Y",
"middle": [
"W"
],
"last": "Wong",
"suffix": ""
},
{
"first": "R",
"middle": [
"J"
],
"last": "Mooney",
"suffix": ""
}
],
"year": 2007,
"venue": "Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "960--967",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Wong, Y. W. and R. J. Mooney (2007). Learning synchronous grammars for semantic parsing with lambda calculus. In In Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics (ACL-07)., pp. 960-967.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "Learning to parse database queries using inductive logic programming",
"authors": [
{
"first": "J",
"middle": [
"M"
],
"last": "Zelle",
"suffix": ""
},
{
"first": "R",
"middle": [
"J"
],
"last": "Mooney",
"suffix": ""
}
],
"year": 1996,
"venue": "14th National Conference on Artificial Intelligence",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zelle, J. M. and R. J. Mooney (1996). Learning to parse database queries using inductive logic program- ming. In 14th National Conference on Artificial Intelligence.",
"links": null
},
"BIBREF13": {
"ref_id": "b13",
"title": "Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars",
"authors": [
{
"first": "L",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Collins",
"suffix": ""
}
],
"year": 2005,
"venue": "21th Annual Conference on Uncertainty in Artificial Intelligence",
"volume": "",
"issue": "",
"pages": "658--666",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zettlemoyer, L. and M. Collins (2005). Learning to map sentences to logical form: Structured classifi- cation with probabilistic categorial grammars. In 21th Annual Conference on Uncertainty in Artificial Intelligence, pp. 658-666.",
"links": null
},
"BIBREF14": {
"ref_id": "b14",
"title": "Online learning of relaxed ccg grammars for parsing to logical form",
"authors": [
{
"first": "L",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Collins",
"suffix": ""
}
],
"year": 2007,
"venue": "Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning",
"volume": "",
"issue": "",
"pages": "678--687",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zettlemoyer, L. and M. Collins (2007). Online learning of relaxed ccg grammars for parsing to logi- cal form. In Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pp. 678-687.",
"links": null
},
"BIBREF15": {
"ref_id": "b15",
"title": "Learning context-dependent mappings from sentences to logical form",
"authors": [
{
"first": "L",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Collins",
"suffix": ""
}
],
"year": 2009,
"venue": "ACL",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zettlemoyer, L. and M. Collins (2009). Learning context-dependent mappings from sentences to logical form. In ACL.",
"links": null
}
},
"ref_entries": {
"FIGREF0": {
"text": "training sentences with their corresponding desired representations S = {(S i , L i ) : i = 1...n} where S i are sentences and L i are desired expressions. Weights are given an initial value of 0.1. An initial lexicon L 0 . An initial feature vector \u0398 0 .\u2022 Output:An updated lexicon L T +1 . An updated feature vector \u0398 T +1 .",
"type_str": "figure",
"uris": null,
"num": null
},
"FIGREF1": {
"text": "For i = 1...n. * For j = 1...n. * Parse sentence S j to obtain T j * Traverse T j\u2022 apply IN V ERSE L, IN V ERSE R and GEN ERALIZE D to find new \u03bb-calculus expressions of words and phrases \u03b1.",
"type_str": "figure",
"uris": null,
"num": null
},
"TABREF1": {
"num": null,
"text": "Performance on GEOQUERY.",
"type_str": "table",
"content": "<table><tr><td/><td colspan=\"3\">Precision Recall F-measure</td></tr><tr><td>INVERSE+(i)</td><td>87.67</td><td>79.08</td><td>83.15</td></tr><tr><td>INVERSE+</td><td>85.74</td><td>76.63</td><td>80.92</td></tr><tr><td>GOLDSYN</td><td>84.73</td><td>74.00</td><td>79.00</td></tr><tr><td>SYN20</td><td>85.37</td><td>70.00</td><td>76.92</td></tr><tr><td>SYN0</td><td>87.01</td><td>67.00</td><td>75.71</td></tr><tr><td>WASP</td><td>88.85</td><td>61.93</td><td>72.99</td></tr><tr><td>KRISP</td><td>85.20</td><td>61.85</td><td>71.67</td></tr><tr><td>SCISSOR</td><td>89.50</td><td>73.70</td><td>80.80</td></tr><tr><td>Lu at al.</td><td>82.50</td><td>67.70</td><td>74.40</td></tr></table>",
"html": null
}
}
}
} |