Spaces:
Sleeping
Sleeping
Publish PaperTrail from pinned public source
Browse files- .gitattributes +3 -0
- DATA_LICENSES.md +22 -0
- LICENSE +201 -0
- README.md +22 -6
- SOURCE.json +6 -0
- app.py +210 -0
- data/build/manifest.json +1 -0
- data/build/papers.json +0 -0
- data/build/passages.json +0 -0
- data/build/questions.json +1 -0
- outputs/embeddings.json +3 -0
- outputs/generated.json +1 -0
- outputs/requests.json +1 -0
- requirements.txt +13 -0
- samples/qasper.pdf +3 -0
- samples/sentence-bert.pdf +3 -0
- samples/sources.json +18 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
outputs/embeddings.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
samples/qasper.pdf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
samples/sentence-bert.pdf filter=lfs diff=lfs merge=lfs -text
|
DATA_LICENSES.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Data and model licenses
|
| 2 |
+
|
| 3 |
+
## QASPER corpus
|
| 4 |
+
|
| 5 |
+
The demonstration corpus is derived from the QASPER training split, version 0.3. It contains a deterministic subset of ten training papers and associated questions, passages, saved answers, and derived retrieval artifacts. QASPER is distributed under CC BY 4.0. Cite the dataset paper: Pradeep Dasigi et al., [A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers](https://aclanthology.org/2021.naacl-main.365/), NAACL 2021. See the [QASPER dataset card](https://huggingface.co/datasets/allenai/qasper) for dataset access and license terms. Individual papers retain their own rights and attribution requirements.
|
| 6 |
+
|
| 7 |
+
## Included sample papers
|
| 8 |
+
|
| 9 |
+
- QASPER paper, [A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers](https://aclanthology.org/2021.naacl-main.365/), CC BY 4.0.
|
| 10 |
+
- Sentence-BERT paper, [Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks](https://aclanthology.org/D19-1410/), CC BY 4.0.
|
| 11 |
+
|
| 12 |
+
The sample PDF source URLs, byte lengths, hashes, and license labels are recorded in `samples/sources.json`.
|
| 13 |
+
|
| 14 |
+
## Models
|
| 15 |
+
|
| 16 |
+
Model weights are fetched from upstream repositories at pinned revisions when enabled. Their licenses and terms are set by their respective authors. Review the current model cards before use or redistribution:
|
| 17 |
+
|
| 18 |
+
- [EmbeddingGemma](https://huggingface.co/google/embeddinggemma-2)
|
| 19 |
+
- [BGE Reranker v2 M3](https://huggingface.co/BAAI/bge-reranker-v2-m3)
|
| 20 |
+
- [Qwen3 1.7B](https://huggingface.co/Qwen/Qwen3-1.7B)
|
| 21 |
+
|
| 22 |
+
PaperTrail source code is licensed under the Apache License 2.0. Code, dataset, paper, and model licenses are separate.
|
LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
README.md
CHANGED
|
@@ -1,13 +1,29 @@
|
|
| 1 |
---
|
| 2 |
title: PaperTrail
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.30.0
|
| 8 |
-
python_version:
|
| 9 |
app_file: app.py
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: PaperTrail
|
| 3 |
+
emoji: 📄
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.30.0
|
| 8 |
+
python_version: 3.12
|
| 9 |
app_file: app.py
|
| 10 |
+
license: apache-2.0
|
| 11 |
+
datasets:
|
| 12 |
+
- allenai/qasper
|
| 13 |
+
models:
|
| 14 |
+
- google/embeddinggemma-2
|
| 15 |
+
- BAAI/bge-reranker-v2-m3
|
| 16 |
+
- Qwen/Qwen3-1.7B
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# PaperTrail
|
| 20 |
+
|
| 21 |
+
PaperTrail helps you inspect research papers, find passages, and review answers alongside their sources. The application code is available in the [PaperTrail GitHub repository](https://github.com/Adarsh096/PaperTrail). `SOURCE.json` records the exact source revision used by this Space.
|
| 22 |
+
|
| 23 |
+
Choose a saved example to browse the sample corpus without making model requests. Live answers require both screening and answer providers to be available. When either is not configured, saved examples and browsing remain available, and live answers are disabled. For a deployment that enables live answers, configure `GROQ_API_KEY` and `OPENROUTER_API_KEY`. Answers can be incomplete or wrong, so check the cited passages before relying on them.
|
| 24 |
+
|
| 25 |
+
You can also upload a PDF of up to 5 MB and 20 pages. Uploads are processed for the current session and do not enter the shared paper corpus. Do not upload personal, confidential, or unpublished material.
|
| 26 |
+
|
| 27 |
+
Live questions and relevant paper excerpts may be sent to external AI providers for screening, reranking, or answer generation. Provider limits or outages can prevent a live answer. Usage limits apply over a rolling 24-hour window, with up to 4 questions and 2 PDF-processing attempts per visitor. People sharing a network connection may share these limits. Saved examples and browsing do not use these allowances.
|
| 28 |
+
|
| 29 |
+
Sample-paper and dataset acknowledgements and license details are in [DATA_LICENSES.md](DATA_LICENSES.md). Model files are downloaded from their upstream repositories when the matching feature is enabled; they are not bundled with this project.
|
SOURCE.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"repository": "https://github.com/Adarsh096/PaperTrail.git",
|
| 3 |
+
"revision": "a4f3ebb15f1aaefa9af9ea24d5e1ac42178347c0",
|
| 4 |
+
"distribution": "papertrail-rag",
|
| 5 |
+
"version": "0.1.0"
|
| 6 |
+
}
|
app.py
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Hugging Face Spaces entry point for PaperTrail."""
|
| 2 |
+
import atexit
|
| 3 |
+
import hashlib
|
| 4 |
+
import json
|
| 5 |
+
from importlib.metadata import distribution
|
| 6 |
+
import os
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
import spaces
|
| 9 |
+
|
| 10 |
+
ROOT = Path(__file__).resolve().parent
|
| 11 |
+
SOURCE_FILE = ROOT / "SOURCE.json"
|
| 12 |
+
REPOSITORY = "https://github.com/Adarsh096/PaperTrail.git"
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def validate_source():
|
| 16 |
+
"""Require the installed application to match the declared public source."""
|
| 17 |
+
source = json.loads(SOURCE_FILE.read_text(encoding="utf-8"))
|
| 18 |
+
if (source.get("repository") != REPOSITORY
|
| 19 |
+
or source.get("distribution") != "papertrail-rag"
|
| 20 |
+
or source.get("version") != "0.1.0"):
|
| 21 |
+
raise RuntimeError("SOURCE.json does not identify the expected PaperTrail release")
|
| 22 |
+
revision = source.get("revision")
|
| 23 |
+
if not isinstance(revision, str) or len(revision) != 40 or any(c not in "0123456789abcdef" for c in revision):
|
| 24 |
+
raise RuntimeError("SOURCE.json contains an invalid source revision")
|
| 25 |
+
|
| 26 |
+
installed = distribution("papertrail-rag")
|
| 27 |
+
if installed.version != source["version"]:
|
| 28 |
+
raise RuntimeError("Installed PaperTrail version does not match SOURCE.json")
|
| 29 |
+
direct_url_text = installed.read_text("direct_url.json")
|
| 30 |
+
if direct_url_text is None:
|
| 31 |
+
raise RuntimeError("Installed PaperTrail package has no source provenance")
|
| 32 |
+
direct_url = json.loads(direct_url_text)
|
| 33 |
+
vcs = direct_url.get("vcs_info", {})
|
| 34 |
+
if direct_url.get("url") != REPOSITORY or vcs.get("commit_id") != revision:
|
| 35 |
+
raise RuntimeError("Installed PaperTrail source does not match SOURCE.json")
|
| 36 |
+
return source
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@spaces.GPU(duration=60)
|
| 40 |
+
def run_gpu_models(payload):
|
| 41 |
+
"""Run BGE scoring and Qwen generation within one GPU lease."""
|
| 42 |
+
import time
|
| 43 |
+
import torch
|
| 44 |
+
from paper_evidence_rag.hf_zerogpu import answer_with_snapshots
|
| 45 |
+
started = time.monotonic()
|
| 46 |
+
result = answer_with_snapshots(payload)
|
| 47 |
+
result["gpu_runtime"] = {
|
| 48 |
+
"device": torch.cuda.get_device_name(0),
|
| 49 |
+
"seconds": time.monotonic() - started,
|
| 50 |
+
"peak_allocated_bytes": torch.cuda.max_memory_allocated(),
|
| 51 |
+
}
|
| 52 |
+
return result
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def configured_gpu_answerer():
|
| 56 |
+
if os.environ.get("PAPER_ENABLE_GPU_MODELS") != "true":
|
| 57 |
+
return None
|
| 58 |
+
from huggingface_hub import snapshot_download
|
| 59 |
+
from paper_evidence_rag.hf_zerogpu import HFZeroGPUAnswerer, RERANKER_ID, GENERATOR_ID
|
| 60 |
+
from paper_evidence_rag.reranking import MODEL_PINS as RERANKER_PINS
|
| 61 |
+
from paper_evidence_rag.answering import MODEL_PINS as GENERATOR_PINS
|
| 62 |
+
paths = []
|
| 63 |
+
for model_id, revision, name in [
|
| 64 |
+
(RERANKER_ID, RERANKER_PINS[RERANKER_ID], "bge"),
|
| 65 |
+
(GENERATOR_ID, GENERATOR_PINS[GENERATOR_ID], "qwen"),
|
| 66 |
+
]:
|
| 67 |
+
directory = Path("/tmp/paper-gpu-models") / name
|
| 68 |
+
snapshot_download(
|
| 69 |
+
model_id, revision=revision, local_dir=directory, token=False,
|
| 70 |
+
allow_patterns=[
|
| 71 |
+
"config.json", "generation_config.json", "*.safetensors",
|
| 72 |
+
"model.safetensors.index.json", "tokenizer.json", "tokenizer_config.json",
|
| 73 |
+
"special_tokens_map.json", "vocab.json", "vocab.txt", "merges.txt",
|
| 74 |
+
"sentencepiece.bpe.model",
|
| 75 |
+
],
|
| 76 |
+
)
|
| 77 |
+
files = {}
|
| 78 |
+
for path in directory.rglob("*"):
|
| 79 |
+
if path.is_file() and ".cache" not in path.parts and path.name != "snapshot-manifest.json":
|
| 80 |
+
with path.open("rb") as handle:
|
| 81 |
+
files[path.relative_to(directory).as_posix()] = hashlib.file_digest(handle, "sha256").hexdigest()
|
| 82 |
+
(directory / "snapshot-manifest.json").write_text(json.dumps({
|
| 83 |
+
"id": model_id, "revision": revision, "files": files,
|
| 84 |
+
}), encoding="utf-8")
|
| 85 |
+
paths.append(directory)
|
| 86 |
+
answerer = HFZeroGPUAnswerer(*paths, run_gpu_models, max_seconds=90)
|
| 87 |
+
answerer.prepare()
|
| 88 |
+
return answerer
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def configured_path(name, default=None, *, required=False, must_exist=True):
|
| 92 |
+
value = os.environ.get(name, default)
|
| 93 |
+
if not value:
|
| 94 |
+
if required:
|
| 95 |
+
raise RuntimeError(f"Set the {name} Space variable")
|
| 96 |
+
return None
|
| 97 |
+
path = Path(value)
|
| 98 |
+
path = path if path.is_absolute() else ROOT / path
|
| 99 |
+
path = path.resolve()
|
| 100 |
+
if must_exist and not path.exists():
|
| 101 |
+
raise RuntimeError(f"Configured path for {name} does not exist")
|
| 102 |
+
return path
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
def configured_cpu_encoder(embeddings):
|
| 106 |
+
"""Download the pinned CPU encoder and verify every frozen file hash."""
|
| 107 |
+
if os.environ.get("PAPER_ENABLE_CPU_ENCODER") != "true":
|
| 108 |
+
return None
|
| 109 |
+
from huggingface_hub import snapshot_download
|
| 110 |
+
from paper_evidence_rag.isolated_encoder import IsolatedLocalEncoder
|
| 111 |
+
metadata = json.loads(embeddings.read_text(encoding="utf-8"))["model"]
|
| 112 |
+
directory = Path("/tmp/paper-embeddinggemma-2")
|
| 113 |
+
snapshot_download(
|
| 114 |
+
metadata["id"], revision=metadata["revision"],
|
| 115 |
+
allow_patterns=list(metadata["file_sha256"]), local_dir=directory, token=False,
|
| 116 |
+
)
|
| 117 |
+
for name, expected in metadata["file_sha256"].items():
|
| 118 |
+
path = (directory / name).resolve()
|
| 119 |
+
if not path.is_relative_to(directory.resolve()):
|
| 120 |
+
raise RuntimeError("Invalid encoder file path")
|
| 121 |
+
with path.open("rb") as handle:
|
| 122 |
+
if hashlib.file_digest(handle, "sha256").hexdigest() != expected:
|
| 123 |
+
raise RuntimeError("Encoder hash mismatch")
|
| 124 |
+
(directory / "snapshot-manifest.json").write_text(json.dumps({
|
| 125 |
+
"id": metadata["id"], "revision": metadata["revision"],
|
| 126 |
+
"files": metadata["file_sha256"],
|
| 127 |
+
}), encoding="utf-8")
|
| 128 |
+
return IsolatedLocalEncoder(directory, metadata)
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
def configured_services(budget_db):
|
| 132 |
+
"""Enable live requests only when both screening and answer providers exist."""
|
| 133 |
+
from paper_evidence_rag.hosted_guardrail import configured_gate
|
| 134 |
+
|
| 135 |
+
groq_key = os.environ.get("GROQ_API_KEY", "").strip()
|
| 136 |
+
openrouter_key = os.environ.get("OPENROUTER_API_KEY", "").strip()
|
| 137 |
+
groq_enabled = os.environ.get("PAPER_ENABLE_GROQ", "").strip().lower() in {"1", "true", "yes"}
|
| 138 |
+
openrouter_enabled = os.environ.get("PAPER_ENABLE_OPENROUTER", "").strip().lower() == "true"
|
| 139 |
+
live_ready = groq_enabled and openrouter_enabled and bool(groq_key) and bool(openrouter_key)
|
| 140 |
+
|
| 141 |
+
if not live_ready:
|
| 142 |
+
return configured_gate(None, budget_db), None, False
|
| 143 |
+
|
| 144 |
+
from paper_evidence_rag.cloud_pipeline import OpenRouterClient, PacedBudget, CloudAnswerer, SafetyFirstGate
|
| 145 |
+
gate = configured_gate(groq_key, budget_db)
|
| 146 |
+
cloud_client = OpenRouterClient(
|
| 147 |
+
openrouter_key,
|
| 148 |
+
PacedBudget("/tmp/paper-openrouter-usage.sqlite", daily_limit=30),
|
| 149 |
+
)
|
| 150 |
+
atexit.register(cloud_client.close)
|
| 151 |
+
return SafetyFirstGate(cloud_client, gate), CloudAnswerer(cloud_client), True
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
def main():
|
| 155 |
+
global demo
|
| 156 |
+
validate_source()
|
| 157 |
+
artifacts = configured_path("PAPER_ARTIFACTS", "data/build", required=True)
|
| 158 |
+
requests = configured_path("PAPER_REQUESTS", "outputs/requests.json")
|
| 159 |
+
generated = configured_path("PAPER_GENERATED", "outputs/generated.json")
|
| 160 |
+
embeddings = configured_path("PAPER_EMBEDDINGS", "outputs/embeddings.json")
|
| 161 |
+
samples_dir = configured_path("PAPER_SAMPLES", "samples")
|
| 162 |
+
budget_db = configured_path("PAPER_BUDGET_DB", "/tmp/paper-evidence-usage.sqlite", must_exist=False)
|
| 163 |
+
|
| 164 |
+
gate, cloud_answerer, live_ready = configured_services(budget_db)
|
| 165 |
+
|
| 166 |
+
sample_hashes = [hashlib.sha256(path.read_bytes()).hexdigest()
|
| 167 |
+
for path in samples_dir.glob("*.pdf")] if samples_dir else []
|
| 168 |
+
from paper_evidence_rag.app_service import DemoService
|
| 169 |
+
from paper_evidence_rag.gradio_app import build_app, launch_options
|
| 170 |
+
from paper_evidence_rag.bucket_admission import MountedBucketAdmission
|
| 171 |
+
|
| 172 |
+
admission = MountedBucketAdmission(
|
| 173 |
+
"/data", local_lock_path="/tmp/papertrail-admission.lock",
|
| 174 |
+
query_daily=8, visitor_query_daily=4,
|
| 175 |
+
upload_daily=100, visitor_upload_daily=2,
|
| 176 |
+
)
|
| 177 |
+
service = DemoService(
|
| 178 |
+
artifacts, requests, generated, embeddings, gate=gate,
|
| 179 |
+
encoder=configured_cpu_encoder(embeddings),
|
| 180 |
+
answerer=configured_gpu_answerer(), cloud_answerer=cloud_answerer,
|
| 181 |
+
public_pdf_hashes=sample_hashes,
|
| 182 |
+
)
|
| 183 |
+
samples = {path.stem: path for path in sorted(samples_dir.glob("*.pdf"))} if samples_dir else {}
|
| 184 |
+
if samples_dir and not samples:
|
| 185 |
+
service.close()
|
| 186 |
+
raise RuntimeError("PAPER_SAMPLES contains no PDF files")
|
| 187 |
+
demo = build_app(service, samples, admission=admission, public_mode=True)
|
| 188 |
+
|
| 189 |
+
import gradio as gr
|
| 190 |
+
if not live_ready:
|
| 191 |
+
with demo:
|
| 192 |
+
gr.Markdown(
|
| 193 |
+
"Live answers are temporarily unavailable. Saved examples and paper browsing remain available."
|
| 194 |
+
)
|
| 195 |
+
atexit.register(service.close)
|
| 196 |
+
options = launch_options(service, samples)
|
| 197 |
+
options["blocked_paths"].extend([
|
| 198 |
+
"/data", "/tmp/paper-gpu-models", "/tmp/paper-embeddinggemma-2",
|
| 199 |
+
"/tmp/paper-openrouter-usage.sqlite", "/tmp/paper-evidence-usage.sqlite",
|
| 200 |
+
])
|
| 201 |
+
options.pop("server_name", None)
|
| 202 |
+
options.pop("share", None)
|
| 203 |
+
demo.launch(
|
| 204 |
+
server_name="0.0.0.0", server_port=int(os.environ.get("PORT", "7860")),
|
| 205 |
+
share=False, **options,
|
| 206 |
+
)
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
if __name__ == "__main__":
|
| 210 |
+
main()
|
data/build/manifest.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"artifact_sha256":{"papers.json":"beace110bf3209fbb17a231470b0b8748dc49c0f2f971cba3ea0b521e0af97d5","passages.json":"422a754fb8b4f61cfba0d06aebc434c3619dde3a75425d821fdffafe4d07ecb4","questions.json":"3428007a0f4e9b55e32e39fcaedc25677c62dbe0b0acb234777a0827505f4f81"},"corpus_revision":"8b99f07e2773aaa7996ce5e18be617a714ef5c78ed77de6ac00737554dcdd3a7","dataset":"allenai/qasper","dataset_version":"0.3","input_sha256":"9458bfe76074a8fa8d1685af02bcc73537aa6d338ad20591dfaff1946bc88bf4","paper_count":10,"paper_ids":["1601.00901","1601.01705","1601.02166","1601.02543","1601.04012","1601.06068","1601.06081","1601.06738","1602.00812","1602.01208"],"passage_count":1069,"question_count":18,"retrieval":{"algorithm":"BM25Okapi","b":0.75,"k1":1.5,"scope":"selected paper","tokenizer":"lowercase Unicode \\w+"},"schema_version":1,"selection":"first 10 training paper IDs in ascending lexical order","source_revision":"fdc9d8214fbab5dd782958601db4d678e6934a54","split":"train"}
|
data/build/papers.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/build/passages.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/build/questions.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"annotations":[{"annotation_id":"2ad8a8c4827f8617a9f38d243b56a2adb3518ba5","answer_type":"extractive","evidence":["In this paper, we propose a novel approach to joint learning of ontology and semantic parsing, which is designed for homogeneous collections of text, where each fact is usually stated only once, therefore we cannot rely on data redundancy. Our approach is text-driven, semi-automatic and based on grammar induction. It is presented in Figure 1 .The input is a seed ontology together with text annotated with concepts from the seed ontology. The result of the process is an ontology with extended instances, classes, taxonomic and non-taxonomic relations, and a semantic parser, which transform basic units of text, i.e sentences, into semantic trees. Compared to trees that structure sentences based on syntactic information, nodes of semantic trees contain semantic classes, like location, profession, color, etc. Our approach does not rely on any syntactic analysis of text, like part-of-speech tagging or dependency parsing. The grammar induction method works on the premise of curriculum learning BIBREF7 , where the parser first learns to parse simple sentences, then proceeds to learn more complex ones. The induction method is iterative, semi-automatic and based on frequent patterns. A context-free grammar (CFG) is induced from the text, which is represented by several layers of semantic annotations. The motivation to use CFG is that it is very suitable for the proposed alternating usage of top-down and bottom-up parsing, where new rules are induced from previously unparsable parts. Furthermore, it has been shown by BIBREF8 that CFGs are expressive enough to model almost every language phenomena. The induction is based on a greedy iterative procedure that involves minor human involvement, which is needed for seed rule definition and rule categorization. Our experiments show that although the grammar is ambiguous, it is scalable enough to parse a large dataset of sentences."],"extractive_spans":["the parser first learns to parse simple sentences, then proceeds to learn more complex ones. The induction method is iterative, semi-automatic and based on frequent patterns"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1601.00901","question":"How did they induce the CFG?","question_id":"74b0d3ee0cc9b0a3d9b264aba9901ff97048a897"},{"annotations":[{"annotation_id":"5cd39c20891ea9876f10018e07223969332a4dfb","answer_type":"extractive","evidence":["There are almost 1.1 million sentences in the collection. The average length of a sentence is 18.3 words, while the median length is 13.8 words. There are 2.3 links per sentence.","There are 119 different relation types (unique predicates), having from just a few relations to a few million relations. Since DBpedia and Freebase are available in RDF format, we used the RDF store for querying and for storage of existing and new relations."],"extractive_spans":["1.1 million sentences","119 different relation types (unique predicates)"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1601.00901","question":"How big is their dataset?","question_id":"9eb5b336b3dcb7ab63f673ba9ab1818573cce6c3"},{"annotations":[{"annotation_id":"46e5ea281159cbd3c2de92d958a1f2a835593916","answer_type":"free_form","evidence":["Our first task is the recently-introduced Visual Question Answering challenge (VQA) BIBREF22 . The VQA dataset consists of more than 200,000 images paired with human-annotated questions and answers, as in fig:vqa:qualitative-results.","The next set of experiments we consider focuses on GeoQA, a geographical question-answering task first introduced by Krish2013Grounded. This task was originally paired with a visual question answering task much simpler than the one just discussed, and is appealing for a number of reasons. In contrast to the VQA dataset, GeoQA is quite small, containing only 263 examples. Two baselines are available: one using a classical semantic parser backed by a database, and another which induces logical predicates using linear classifiers over both spatial and distributional features. This allows us to evaluate the quality of our model relative to other perceptually grounded logical semantics, as well as strictly logical approaches."],"extractive_spans":[],"free_form_answer":"VQA and GeoQA","unanswerable":false,"yes_no":null}],"paper_id":"1601.01705","question":"What benchmark datasets they use?","question_id":"5712a0b1e33484ebc6d71c70ae222109c08dede2"},{"annotations":[{"annotation_id":"242af0098d4f61a8d54d7f9225e27a11d1652f95","answer_type":"unanswerable","evidence":[],"extractive_spans":[],"free_form_answer":"","unanswerable":true,"yes_no":null}],"paper_id":"1601.02166","question":"What languages did they experiment with?","question_id":"e67d2266476abd157fc8c396b3dfb70cb343471e"},{"annotations":[{"annotation_id":"40e8b561276384d47c4e6a0d3861d502b1fe37f3","answer_type":"free_form","evidence":["In this paper we proposed a methodology to identify words that could lead to confusion at any given node of a speech recognition based system. We used edit distance as the metric to identifying the possible confusion between the active words. We showed that this metric can be used effectively to enhance the performance of a speech solution without actually putting it to people test. There is a significant saving in terms of being able to identify recognition bottlenecks in a menu based speech solution through this analysis because it does not require actual people testing the system. This methodology was adopted to restructuring the set of active words at each node for better speech recognition in an actual menu based speech recognition system that caters to masses.","We hypothesize that we can identify the performance of a menu based speech system by identifying the possible confusion among all the words that are active at a given node. If active words at a given node are phonetically similar it becomes difficult for the speech recognition system to distinguish them which in turn leads to recognition errors. We used Levenshtein distance BIBREF4 , BIBREF5 a well known measure to analyze and identify the confusion among the active words at a given node. This analysis gives a list of all set of words that have a high degree of confusability among them; this understanding can be then used to (a) restructure the set of active words at that node and/or (b) train the words that can be confused by using a larger corpus of speech data. This allows the speech recognition engine to be equipped to be able to distinguish the confusing words better. Actual use of this analysis was carried out for a speech solution developed for Indian Railway Inquiry System to identify bottlenecks in the system before its actual launch."],"extractive_spans":[],"free_form_answer":"Confusion in recognizing the words that are active at a given node by a speech recognition solution developed for Indian Railway Inquiry System.","unanswerable":false,"yes_no":null}],"paper_id":"1601.02543","question":"what bottlenecks were identified?","question_id":"8d793bda51a53a4605c1c33e7fd20ba35581a518"},{"annotations":[{"annotation_id":"d7488554bc89783a43fe78b62c5890a9fc7b8d4a","answer_type":"extractive","evidence":["There have been several workshops on biomedical natural language processing. We focus on the BioNLP Shared Tasks in recent years that had competitions on event extraction. There have been three BioNLP Shared Task competitions so far: 2009, 2011, and 2013. The BioNLP 2009 Shared Task BIBREF195 was based on the GENIA corpus BIBREF196 which contains PubMed abstracts of articles on transcription factors in human blood cells. There was a second BioNLP Shared Task competition organized in 2011 to measure the advances in approaches and associated results BIBREF197 . The third BioNLP ST was held in 2013. We discuss some notable systems from BioNLP ST 2011 and 2013."],"extractive_spans":["GENIA corpus"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1601.04012","question":"Which datasets are used in this work?","question_id":"eac042734f76e787cb98ba3d0c13a916a49bdfb3"},{"annotations":[{"annotation_id":"208951f0d5f93c878368122d70fd94c337104a5e","answer_type":"yes_no","evidence":[],"extractive_spans":[],"free_form_answer":"","unanswerable":false,"yes_no":false}],"paper_id":"1601.06068","question":"Do they evaluate the quality of the paraphrasing model?","question_id":"117aa7811ed60e84d40cd8f9cb3ca78781935a98"},{"annotations":[{"annotation_id":"32749f613e7b20e5fde56cfe720b1ecddf2646ff","answer_type":"extractive","evidence":["We use GraphParser without paraphrases as our baseline. This gives an idea about the impact of using paraphrases.","We compare our paraphrasing models with monolingual machine translation based model for paraphrase generation BIBREF24 , BIBREF36 . In particular, we use Moses BIBREF37 to train a monolingual phrase-based MT system on the Paralex corpus. Finally, we use Moses decoder to generate 10-best distinct paraphrases for the test questions."],"extractive_spans":["GraphParser without paraphrases","monolingual machine translation based model for paraphrase generation"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1601.06068","question":"What are the baselines?","question_id":"423bb905e404e88a168e7e807950e24ca166306c"},{"annotations":[{"annotation_id":"727ec6309fb3d7beb4d8cf4455fe5c4778bb660e","answer_type":"extractive","evidence":["In their traditional use, the latent states in L-PCFGs aim to capture syntactic information. We introduce here the use of an L-PCFG with two layers of latent states: one layer is intended to capture the usual syntactic information, and the other aims to capture semantic and topical information by using a large set of states with specific feature functions."],"extractive_spans":["syntactic information","semantic and topical information"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1601.06068","question":"What latent variables are modeled in the PCFG?","question_id":"ad362365656b0b218ba324ae60701eb25fe664c1"},{"annotations":[{"annotation_id":"12f2e670e6d94fab6636a8ef24121fc2f2100eeb","answer_type":"free_form","evidence":["For WebQuestions, we use 8 handcrafted part-of-speech patterns (e.g., the pattern (DT)?(JJ.? $\\mid $ NN.?){0,2}NN.? matches the noun phrase the big lebowski) to identify candidate named entity mention spans. We use the Stanford CoreNLP caseless tagger for part-of-speech tagging BIBREF38 . For each candidate mention span, we retrieve the top 10 entities according to the Freebase API. We then create a lattice in which the nodes correspond to mention-entity pairs, scored by their Freebase API scores, and the edges encode the fact that no joint assignment of entities to mentions can contain overlapping spans. We take the top 10 paths through the lattice as possible entity disambiguations. For each possibility, we generate $n$ -best paraphrases that contains the entity mention spans. In the end, this process creates a total of $10n$ paraphrases. We generate ungrounded graphs for these paraphrases and treat the final entity disambiguation and paraphrase selection as part of the semantic parsing problem."],"extractive_spans":[],"free_form_answer":"10*n paraphrases, where n depends on the number of paraphrases that contain the entity mention spans","unanswerable":false,"yes_no":null}],"paper_id":"1601.06068","question":"How many paraphrases are generated per question?","question_id":"c359ab8ebef6f60c5a38f5244e8c18d85e92761d"},{"annotations":[{"annotation_id":"9b225953b4d627b8e6eac36e4721273a60f91e3c","answer_type":"unanswerable","evidence":[],"extractive_spans":[],"free_form_answer":"","unanswerable":true,"yes_no":null}],"paper_id":"1601.06081","question":"How accurate is their predictive model?","question_id":"6f8881e60fdaca7c1b35a5acc7125994bb1206a3"},{"annotations":[{"annotation_id":"aba922a2695a5c7602e5e59bed9fda244f5ada81","answer_type":"yes_no","evidence":[],"extractive_spans":[],"free_form_answer":"","unanswerable":false,"yes_no":false}],"paper_id":"1601.06738","question":"Does this paper address the variation among English dialects regarding these hedges?","question_id":"320d72a9cd19b52c29dda9ddecd520c9938a717f"},{"annotations":[{"annotation_id":"5e88fc881a24ca113fe7cc075f1587f1f94dea24","answer_type":"extractive","evidence":["This chapter describes the underlying formalism of the theorem provers, as it is visible during an interactive proof trace, and present the general strategy followed by the theorem provers. The presentation in this chapter is somewhat informal, referring the reader elsewhere for full proofs.","The rest of this chapter is structured as follows. Section \"Type-logical grammars\" presents a general introduction to type-logical grammars and illustrates its basic concepts using the Lambek calculus, ending the section with some problems at the syntax-semantics interface for the Lambek calculus. Section \"Modern type-logical grammars\" looks at recent developments in type-logical grammars and how they solve some of the problems at the syntax-semantics interface. Section \"Theorem proving\" looks at two general frameworks for automated theorem proving for type-logical grammars, describing the internal representation of partial proofs and giving a high-level overview of the proof search mechanism.","Type-logical grammars are a family of grammar formalisms built on a foundation of logic and type theory. Type-logical grammars originated when BIBREF4 introduced his Syntactic Calculus (called the Lambek calculus, L, by later authors). Though Lambek built on the work of BIBREF5 , BIBREF6 and others, Lambek's main innovation was to cast the calculus as a logic, giving a sequent calculus and showing decidability by means of cut elimination. This combination of linguistic and computational applications has proved very influential."],"extractive_spans":["a family of grammar formalisms built on a foundation of logic and type theory. Type-logical grammars originated when BIBREF4 introduced his Syntactic Calculus (called the Lambek calculus, L, by later authors)."],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1602.00812","question":"What formalism does Grail use?","question_id":"2b52d481b30185d2c6e7b403d37277f70337d6ca"},{"annotations":[{"annotation_id":"3e6e3d3968c8c45146719555aa0bdbdc1d73b04c","answer_type":"yes_no","evidence":["In its general form, a type-logical grammar consists of following components:"],"extractive_spans":[],"free_form_answer":"","unanswerable":false,"yes_no":false}],"paper_id":"1602.00812","question":"Does Grail accept Prolog inputs?","question_id":"48fa2ccc236e217fcf0e5aab0e7a146faf439b02"},{"annotations":[{"annotation_id":"ac643eb23016caf26384e4a5522dd1d90369d26e","answer_type":"yes_no","evidence":["The objectives of this study were to build a robot that learns words related to places and efficiently utilizes this learned vocabulary in self-localization. Lexical acquisition related to places is expected to enable a robot to improve its spatial cognition. A schematic representation depicting the target task of this study is shown in Fig. FIGREF3 . This study assumes that a robot does not have any vocabularies in advance but can recognize syllables or phonemes. The robot then performs self-localization while moving around in the environment, as shown in Fig. FIGREF3 (a). An utterer speaks a sentence including the name of the place to the robot, as shown in Fig. FIGREF3 (b). For the purposes of this study, we need to consider the problems of self-localization and lexical acquisition simultaneously."],"extractive_spans":[],"free_form_answer":"","unanswerable":false,"yes_no":false}],"paper_id":"1602.01208","question":"Does their model start with any prior knowledge of words?","question_id":"1bdf7e9f3f804930b2933ebd9207a3e000b27742"},{"annotations":[{"annotation_id":"668d93e897fd33aa512ddb05558327e6dc536278","answer_type":"extractive","evidence":["Accuracy of acquired phoneme sequences representing the names of places","We evaluated whether the names of places were properly learned for the considered teaching places. This experiment assumes a request for the best phoneme sequence INLINEFORM0 representing the self-position INLINEFORM1 for a robot. The robot moves close to each teaching place. The probability of a word INLINEFORM2 when the self-position INLINEFORM3 of the robot is given, INLINEFORM4 , can be obtained by using equation ( EQREF37 ). The word having the best probability was selected. We compared the PAR with the correct phoneme sequence and a selected name of the place. Because “kiqchiN” and “daidokoro” were taught for the same place, the word whose PAR was the higher score was adopted.","Fig. FIGREF63 shows the results of PAR for the word considered the name of a place. SpCoA (latticelm), the proposed method using the results of unsupervised word segmentation on the basis of the speech recognition results in the lattice format, showed the best PAR score. In the 1-best and BoS methods, a part syllable sequence of the name of a place was more minutely segmented as shown in Table TABREF55 . Therefore, the robot could not learn the name of the teaching place as a coherent phoneme sequence. In contrast, the robot could learn the names of teaching places more accurately by using the proposed method."],"extractive_spans":["PAR score"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1602.01208","question":"How do they evaluate how their model acquired words?","question_id":"21c104d14ba3db7fe2cd804a191f9e6258208235"},{"annotations":[{"annotation_id":"9eea9f7b9f483c773699694e80da81d9f5fb9388","answer_type":"extractive","evidence":["Table TABREF54 shows the results of PAR. Table TABREF55 presents examples of the word segmentation results of the three considered methods. We found that the unsupervised morphological analyzer capable of using lattices improved the accuracy of phoneme recognition and word segmentation. Consequently, this result suggests that this word segmentation method considers the multiple hypothesis of speech recognition as a whole and reduces uncertainty such as variability in recognition by using the syllable recognition results in the lattice format."],"extractive_spans":["unsupervised morphological analyzer capable of using lattices improved the accuracy of phoneme recognition and word segmentation","Consequently, this result suggests that this word segmentation method considers the multiple hypothesis of speech recognition as a whole and reduces uncertainty such as variability in recognition"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1602.01208","question":"How do they show that acquiring names of places helps self-localization?","question_id":"23d0637f8ae72ae343556ab135eedc7f4cb58032"},{"annotations":[{"annotation_id":"98c74c25f24acd3dd6220f4dd2310d4b84b2f823","answer_type":"extractive","evidence":["The proposed method can learn words related to places from the utterances of sentences. We use an unsupervised word segmentation method latticelm that can directly segment words from the lattices of the speech recognition results of the uttered sentences BIBREF22 . The lattice can represent to a compact the set of more promising hypotheses of a speech recognition result, such as N-best, in a directed graph format. Unsupervised word segmentation using the lattices of syllable recognition is expected to be able to reduce the variability and errors in phonemes as compared to NPYLM BIBREF13 , i.e., word segmentation using the 1-best speech recognition results."],"extractive_spans":["unsupervised word segmentation method latticelm"],"free_form_answer":"","unanswerable":false,"yes_no":null}],"paper_id":"1602.01208","question":"Which method do they use for word segmentation?","question_id":"d557752c4706b65dcdb7718272180c59d77fb7a7"}]
|
outputs/embeddings.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce1fdcdea23daed686bb8573a6e495a70ddb5e546e102ceef7306a5865ecd31c
|
| 3 |
+
size 17780798
|
outputs/generated.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"assistant_prefix":"{\"abstain\":","model":{"chat_template_options":{"enable_thinking":false},"dependencies":{"tokenizers":"0.23.3","torch":"2.10.0+cu128","transformers":"5.19.0"},"device":"cuda","do_sample":false,"dtype":"float32","files":{"config.json":"1ddb5b89ebc90dcb417a45c213d818577e65976454d29385c8f6140771d95197","generation_config.json":"2325da0f15bb848e018c5ae071b7943332e9f871d6b60e2ed22ca97d4cb993d2","merges.txt":"8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5","model-00001-of-00002.safetensors":"169ad53ec313c3a34b06c0809216e4fc072cce444a5d4ff2b59690d064130ed5","model-00002-of-00002.safetensors":"912becff8d60672aa8628ef08c05898d9adf17c2ad4ae3caf99b065622fdeff9","model.safetensors.index.json":"0d660e94b165eb912669a5249dff44b83188c4777a07ddb9611fb78d91b0578d","tokenizer.json":"aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4","tokenizer_config.json":"d5d09f07b48c3086c508b30d1c9114bd1189145b74e982a265350c923acd8101","vocab.json":"ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910"},"id":"Qwen/Qwen3-1.7B","max_input_tokens":2048,"max_new_tokens":256,"parameter_count":1720574976,"revision":"70d244cc86ccca08cf5af4e1e306ecf908b1ad5e","runtime":{"cuda_version":"12.8","deterministic_algorithms":true,"device":"cuda","dtype":"float32","hardware":"Tesla T4","seed":0,"tf32":false,"threads":4},"seed":0,"threads":4},"prompt_sha256":"58d89ef39226b1c48837c67da4c300763081050d8ca7720c070d37ca208003f8","prompt_version":"quoted-answer-v2-prefill","request_sha256":"3529a49451fb4bd791167a6d0be4088c95004ab34c02dc6e7dd24b28b2b33231","rows":[{"output_limit_reached":false,"output_tokens":32,"packing":{"input_tokens":867,"omitted_ids":[],"truncated":[{"original_chars":1894,"passage_id":"1601.00901:paragraph:0:1","presented_chars":800},{"original_chars":2156,"passage_id":"1601.00901:paragraph:12:2","presented_chars":800},{"original_chars":1899,"passage_id":"1601.00901:paragraph:1:1","presented_chars":800}]},"paper_id":"1601.00901","presented":[{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In this paper, we propose a novel approach to joint learning of ontology and semantic parsing, which is designed for homogeneous collections of text, where each fact is usually stated only once, therefore we cannot rely on data redundancy. Our approach is text-driven, semi-automatic and based on grammar induction. It is presented in Figure 1 .The input is a seed ontology together with text annotated with concepts from the seed ontology. The result of the process is an ontology with extended instances, classes, taxonomic and non-taxonomic relations, and a semantic parser, which transform basic units of text, i.e sentences, into semantic trees. Compared to trees that structure sentences based on syntactic information, nodes of semantic trees contain semantic classes, like location, professio"},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:12:2","position":2,"section_index":12,"section_name":"Grammar Induction Experiments","source_file":null,"text":"The grammar was also tested by parsing a sample of 100.000 test sentences. A few statistic are presented in Table 4 . More than a quarter of sentences were fully parsed, meaning that they do not have any null leaf nodes. Coverage represents the fraction of words in a sentence that were parsed (words that are not in null-nodes). The number of operations shows how many times was the Parse function called during the parsing of a sentences. It is highly correlated with the time spend for parsing a sentence, which is on average 0.16ms. This measurement was done on a single CPU core. Consequently, it is feasible to parse a collection of a million sentences, like our dataset. The same statistics were also calculated on the training set, the numbers are very similar to the test set. The fully pars"},{"kind":"caption","paper_id":"1601.00901","passage_id":"1601.00901:caption:0","position":0,"section_index":null,"section_name":"Figures and tables","source_file":"3-Figure1-1.png","text":"Figure 1. The proposed approach to ontology and grammar induction gets a collection of text and the seed ontology as input and outputs a new ontology. The collection of text is first annotated at different levels including annotations with the concepts from existing ontology. The annotated text is then used for grammar induction, where the text is represented as semantic trees. These are used together with the grammar to induce a new ontology."},{"kind":"caption","paper_id":"1601.00901","passage_id":"1601.00901:caption:1","position":1,"section_index":null,"section_name":"Figures and tables","source_file":"4-Figure2-1.png","text":"Figure 2. Grammar induction"},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:1:1","position":1,"section_index":1,"section_name":"Grammar induction","source_file":null,"text":"The input to the process, which is illustrated in Figure 2 , is a set of predefined seed grammar rules (see Section \"Seed rules\" ) and a sample of sentences in a layered representation (see Section \"Experiments\" ) from the dataset. The output of the process is a larger set of rules forming the induced grammar. One rule is added to the grammar on each iteration. At the beginning of each iteration all the sentences are parsed with a top-down parser. The output of parsing a single sentence is a semantic tree – a set of semantic nodes connected into a tree. Here we distinguish two possible outcomes of the parsing: 1) the sentence was completely parsed, which is the final goal and 2) there is at least one part of the sentence that cannot be parsed. From the perspective of a parser the second sc"}],"question":"How did they induce the CFG?","question_id":"74b0d3ee0cc9b0a3d9b264aba9901ff97048a897","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"grammar induction\",\"passage_id\":\"1601.00901:paragraph:0:1\"}]}","result":{"answer":"grammar induction","claims":[{"passage_id":"1601.00901:paragraph:0:1","text":"grammar induction"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":36,"packing":{"input_tokens":946,"omitted_ids":[],"truncated":[{"original_chars":2156,"passage_id":"1601.00901:paragraph:12:2","presented_chars":800},{"original_chars":1069,"passage_id":"1601.00901:paragraph:19:0","presented_chars":800},{"original_chars":870,"passage_id":"1601.00901:paragraph:11:0","presented_chars":800}]},"paper_id":"1601.00901","presented":[{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:12:2","position":2,"section_index":12,"section_name":"Grammar Induction Experiments","source_file":null,"text":"The grammar was also tested by parsing a sample of 100.000 test sentences. A few statistic are presented in Table 4 . More than a quarter of sentences were fully parsed, meaning that they do not have any null leaf nodes. Coverage represents the fraction of words in a sentence that were parsed (words that are not in null-nodes). The number of operations shows how many times was the Parse function called during the parsing of a sentences. It is highly correlated with the time spend for parsing a sentence, which is on average 0.16ms. This measurement was done on a single CPU core. Consequently, it is feasible to parse a collection of a million sentences, like our dataset. The same statistics were also calculated on the training set, the numbers are very similar to the test set. The fully pars"},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:12:0","position":0,"section_index":12,"section_name":"Grammar Induction Experiments","source_file":null,"text":"The grammar was induced on 10.000 random sentences taken from the dataset described in Section \"Datasets\" . First, a list of 45 seed nodes was constructed. There were 22 domain independent linguistic rules, 17 category rules and 6 top-level rules. The property assignment was done by the authors. In every iteration, the best rule is shown together with the number of nodes it was induced from, and ten of those nodes together with the sentences they appear in. The goal was set to stop the iterative process after two hours. We believe this is the right amount of time to still expect quality feedback from a human user."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:11:3","position":3,"section_index":11,"section_name":"Datasets","source_file":null,"text":"There are almost 1.1 million sentences in the collection. The average length of a sentence is 18.3 words, while the median length is 13.8 words. There are 2.3 links per sentence."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:19:0","position":0,"section_index":19,"section_name":"Discussion","source_file":null,"text":"We have presented an approach for joint ontology learning and semantic parsing. The approach was evaluated by building an ontology representing biographies of people. The first sentences of person Wikipedia pages and the combination of DBpedia and Freebase were used as a dataset. This dataset was suitable for our approach, because the text is equipped with human tagged annotations, which are already linked to the ontology. In other cases a named entity disambiguation would be needed to obtain the annotations. The next trait of the dataset, that is suitable for our approach, is the homogeneous style of writing. Otherwise, if the style was more heterogeneous, the users would have to participate in more iterations to achieve the same level of coverage. The participation of the users may be se"},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:11:0","position":0,"section_index":11,"section_name":"Datasets","source_file":null,"text":"The datasets for experiments were constructed from English Wikipedia and knowledge bases DBpedia BIBREF9 and Freebase BIBREF6 . DBpedia provides structured information about Wikipedia articles that was scraped out of their infoboxes. First sentences of Wikipedia pages describing people were taken as the textual dataset, while DBpedia relations expressing facts about the same people were taken as the dataset for supervised relation learning. Note that each DBpedia instance has a Wikipedia page. A set of person instances was identified by querying DBpedia for instances that have a person class. For the textual dataset, Wikipedia pages representing these entities were parsed by the in-house Wikipedia markup parser to convert the markup into plain text. Furthermore, the links to other Wikipedi"}],"question":"How big is their dataset?","question_id":"9eb5b336b3dcb7ab63f673ba9ab1818573cce6c3","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"1.1 million sentences\",\"passage_id\":\"1601.00901:paragraph:11:3\"}]}","result":{"answer":"1.1 million sentences","claims":[{"passage_id":"1601.00901:paragraph:11:3","text":"1.1 million sentences"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":31,"packing":{"input_tokens":709,"omitted_ids":[],"truncated":[]},"paper_id":"1601.01705","presented":[{"kind":"abstract","paper_id":"1601.01705","passage_id":"1601.01705:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"We describe a question answering model that applies to both images and structured knowledge bases. The model uses natural language strings to automatically assemble neural networks from a collection of composable modules. Parameters for these modules are learned jointly with network-assembly parameters via reinforcement learning, with only (world, question, answer) triples as supervision. Our approach, which we term a dynamic neural model network, achieves state-of-the-art results on benchmark datasets in both visual and structured domains."},{"kind":"paragraph","paper_id":"1601.01705","passage_id":"1601.01705:paragraph:7:0","position":0,"section_index":7,"section_name":"Questions about images","source_file":null,"text":"Our first task is the recently-introduced Visual Question Answering challenge (VQA) BIBREF22 . The VQA dataset consists of more than 200,000 images paired with human-annotated questions and answers, as in fig:vqa:qualitative-results."},{"kind":"caption","paper_id":"1601.01705","passage_id":"1601.01705:caption:5","position":5,"section_index":null,"section_name":"Figures and tables","source_file":"8-Table2-1.png","text":"Table 2: Results on the GeoQA dataset, and the GeoQA dataset with quantification. Our approach outperforms both a purely logical model (LSP-F) and a model with learned perceptual predicates (LSP-W) on the original dataset, and a fixedstructure NMN under both evaluation conditions."},{"kind":"paragraph","paper_id":"1601.01705","passage_id":"1601.01705:paragraph:6:0","position":0,"section_index":6,"section_name":"Experiments","source_file":null,"text":"The framework described in this paper is general, and we are interested in how well it performs on datasets of varying domain, size and linguistic complexity. To that end, we evaluate our model on tasks at opposite extremes of both these criteria: a large visual question answering dataset, and a small collection of more structured geography questions."},{"kind":"paragraph","paper_id":"1601.01705","passage_id":"1601.01705:paragraph:7:1","position":1,"section_index":7,"section_name":"Questions about images","source_file":null,"text":"We use the VQA 1.0 release, employing the development set for model selection and hyperparameter tuning, and reporting final results from the evaluation server on the test-standard set. For the experiments described in this section, the input feature representations $w_i$ are computed by the the fifth convolutional layer of a 16-layer VGGNet after pooling BIBREF12 . Input images are scaled to 448 $\\times $ 448 before computing their representations. We found that performance on this task was best if the candidate layouts were relatively simple: only describe, and and find modules are used, and layouts contain at most two conjuncts."}],"question":"What benchmark datasets they use?","question_id":"5712a0b1e33484ebc6d71c70ae222109c08dede2","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"GeoQA dataset\",\"passage_id\":\"1601.01705:caption:5\"}]}","result":{"answer":"GeoQA dataset","claims":[{"passage_id":"1601.01705:caption:5","text":"GeoQA dataset"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":34,"packing":{"input_tokens":1033,"omitted_ids":[],"truncated":[{"original_chars":1753,"passage_id":"1601.02166:paragraph:1:1","presented_chars":800},{"original_chars":1035,"passage_id":"1601.02166:abstract:0","presented_chars":800}]},"paper_id":"1601.02166","presented":[{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:0:1","position":1,"section_index":0,"section_name":"Cross-lingual transfer learning of sequence models","source_file":null,"text":"What can we do for all the languages for which no training data is available? Unsupervised POS induction algorithms have methodological problems (in-sample evaluation, community-wide hyper-parameter tuning, etc.), and performance is prohibitive of downstream applications. Some work on unsupervised POS tagging has assumed other resources such as tag dictionaries BIBREF0 , but such resources are also only available for a limited number of languages. In our experiments, we assume that no training data or tag dictionaries are available. Our only assumption is a bit of text translated into multiple languages, specifically, fragments of the Bible. We will use Bible data for annotation projection, as well as for learning cross-lingual word embeddings (§3)."},{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:0:3","position":3,"section_index":0,"section_name":"Cross-lingual transfer learning of sequence models","source_file":null,"text":"Annotation projection refers to transferring annotation from one or more source languages to the target language (for which no labeled data is otherwise available), typically through word alignments. In our experiments below, we use an unsupervised word alignment algorithm to align $15\\times 12$ language pairs. For 15 languages, we have predicted POS tags for each word in our multi-parallel corpus. For each word in one of our 12 target language training datasets, we thus have up to 15 votes for each word token, possibly weighted by the confidence of the word alignment algorithm. In this paper, we simply use the majority votes. This is the set-up assumed throughout in this paper (see §3 for more details):"},{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:1:1","position":1,"section_index":1,"section_name":"Empirical Gaussian priors","source_file":null,"text":"When we estimate Gaussian priors from source language models, we will learn which features are invariant across languages, and which are not. We thereby introduce an ellipsoid regularizer whose centre is the average source model. In our experiments, we consider both the case where variance is assumed to be constant – which we call L2-regularization with priors (L2-Prior) — and the case where both variances and means are learned – which we call empirical Gaussian priors (EmpGauss). L2-Prior is the L2-CRF objective with $\\sigma ^2_j=C$ with $C$ a regularization parameter, and $\\mu _j=\\hat{\\mu _j}$ the average value of the corresponding parameter in the observed source models. EmpGauss replaces the above objective with $LL(\\lambda )+\\sum _j\\log \\frac{1}{\\sigma \\sqrt{2\\pi }}e^{-\\frac{(\\lambda "},{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:0:0","position":0,"section_index":0,"section_name":"Cross-lingual transfer learning of sequence models","source_file":null,"text":"The people of the world speak about 6,900 different languages. Open-source off-the-shelf natural language processing (NLP) toolboxes like OpenNLP and CoreNLP cover only 6–7 languages, and we have sufficient labeled training data for inducing models for about 20–30 languages. In other words, supervised sequence learning algorithms are not sufficient to induce POS models for but a small minority of the world's languages."},{"kind":"abstract","paper_id":"1601.02166","passage_id":"1601.02166:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"Sequence model learning algorithms typically maximize log-likelihood minus the norm of the model (or minimize Hamming loss + norm). In cross-lingual part-of-speech (POS) tagging, our target language training data consists of sequences of sentences with word-by-word labels projected from translations in $k$ languages for which we have labeled data, via word alignments. Our training data is therefore very noisy, and if Rademacher complexity is high, learning algorithms are prone to overfit. Norm-based regularization assumes a constant width and zero mean prior. We instead propose to use the $k$ source language models to estimate the parameters of a Gaussian prior for learning new POS taggers. This leads to significantly better performance in multi-source transfer set-ups. We also present a d"}],"question":"What languages did they experiment with?","question_id":"e67d2266476abd157fc8c396b3dfb70cb343471e","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"multi-parallel corpus\",\"passage_id\":\"1601.02166:paragraph:0:3\"}]}","result":{"answer":"multi-parallel corpus","claims":[{"passage_id":"1601.02166:paragraph:0:3","text":"multi-parallel corpus"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":52,"packing":{"input_tokens":1049,"omitted_ids":[],"truncated":[{"original_chars":1059,"passage_id":"1601.02543:paragraph:1:2","presented_chars":800},{"original_chars":1639,"passage_id":"1601.02543:abstract:0","presented_chars":800},{"original_chars":1990,"passage_id":"1601.02543:paragraph:0:0","presented_chars":800}]},"paper_id":"1601.02543","presented":[{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:3:0","position":0,"section_index":3,"section_name":"Conclusion","source_file":null,"text":"In this paper we proposed a methodology to identify words that could lead to confusion at any given node of a speech recognition based system. We used edit distance as the metric to identifying the possible confusion between the active words. We showed that this metric can be used effectively to enhance the performance of a speech solution without actually putting it to people test. There is a significant saving in terms of being able to identify recognition bottlenecks in a menu based speech solution through this analysis because it does not require actual people testing the system. This methodology was adopted to restructuring the set of active words at each node for better speech recognition in an actual menu based speech recognition system that caters to masses."},{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:1:2","position":2,"section_index":1,"section_name":"Evaluation without Testing","source_file":null,"text":"We hypothesize that we can identify the performance of a menu based speech system by identifying the possible confusion among all the words that are active at a given node. If active words at a given node are phonetically similar it becomes difficult for the speech recognition system to distinguish them which in turn leads to recognition errors. We used Levenshtein distance BIBREF4 , BIBREF5 a well known measure to analyze and identify the confusion among the active words at a given node. This analysis gives a list of all set of words that have a high degree of confusability among them; this understanding can be then used to (a) restructure the set of active words at that node and/or (b) train the words that can be confused by using a larger corpus of speech data. This allows the speech re"},{"kind":"abstract","paper_id":"1601.02543","passage_id":"1601.02543:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"Speech based solutions have taken center stage with growth in the services industry where there is a need to cater to a very large number of people from all strata of the society. While natural language speech interfaces are the talk in the research community, yet in practice, menu based speech solutions thrive. Typically in a menu based speech solution the user is required to respond by speaking from a closed set of words when prompted by the system. A sequence of human speech response to the IVR prompts results in the completion of a transaction. A transaction is deemed successful if the speech solution can correctly recognize all the spoken utterances of the user whenever prompted by the system. The usual mechanism to evaluate the performance of a speech solution is to do an extensive t"},{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:2:3","position":3,"section_index":2,"section_name":"Case Study","source_file":null,"text":"Table TABREF6 shows the list of active word at the node 1 when the speech application was initially designed and Table TABREF7 shows the edit distance between all the active words at the node service given in Fig. FIGREF4 . The distance between words Sahi and Galat was found to be INLINEFORM0 which was set at the threshold, namely INLINEFORM1 . This threshold value was used to identify confusing active words. Clearly, as seen in the Table the distance between word pairs fare, pnr and pnr, prasthan is INLINEFORM2 and INLINEFORM3 respectively, which is very close to the threshold value of INLINEFORM4 . This can cause a high possibility that /fare/ may get recognized as pnr and vice-versa."},{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:0:0","position":0,"section_index":0,"section_name":"Introduction","source_file":null,"text":"There are several commercial menu based ASR systems available around the world for a significant number of languages and interestingly speech solution based on these ASR are being used with good success in the Western part of the globe BIBREF0 , BIBREF1 , BIBREF2 , BIBREF3 . Typically, a menu based ASR system restricts user to speak from a pre-defined closed set of words for enabling a transaction. Before commercial deployment of a speech solution it is imperative to have a quantitative measure of the performance of the speech solution which is primarily based on the speech recognition accuracy of the speech engine used. Generally, the recognition performance of any speech recognition based solution is quantitatively evaluated by putting it to actual use by the people who are the intended "}],"question":"what bottlenecks were identified?","question_id":"8d793bda51a53a4605c1c33e7fd20ba35581a518","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"significant saving in terms of being able to identify recognition bottlenecks in a menu based speech solution through this analysis\",\"passage_id\":\"1601.02543:paragraph:3:0\"}]}","result":{"answer":"significant saving in terms of being able to identify recognition bottlenecks in a menu based speech solution through this analysis","claims":[{"passage_id":"1601.02543:paragraph:3:0","text":"significant saving in terms of being able to identify recognition bottlenecks in a menu based speech solution through this analysis"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":73,"packing":{"input_tokens":723,"omitted_ids":[],"truncated":[]},"paper_id":"1601.04012","presented":[{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:20:27","position":27,"section_index":20,"section_name":"Determining Event Coreference","source_file":null,"text":"For the experiments, Cybulska and Vossen use the ECB+ dataset BIBREF191 . The ECB+ corpus contains a new corpus component, consisting of 502 texts, describing different instances of event types. They provide results in terms of several metrics: recall, precision and F-score, MUC BIBREF192 , B3 BIBREF184 , mention-based CEAF BIBREF185 , BLANC BIBREF193 , and CoNLL F1 BIBREF194 , and find that the introduction of the granularity concept into similarity computation improves results for every metric."},{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:19:15","position":15,"section_index":19,"section_name":"Extracting Events","source_file":null,"text":"The TempEval-3 dataset was mostly automatically generated, using a temporal merging system. The half-million token text corpus from English Gigaword2 was automatically annotated using TIPSem, TIPSem-B BIBREF140 and TRIOS BIBREF152 . These systems were re-trained on the TimeBank and AQUAINT corpus, using the TimeML temporal relation set. The outputs of these three state-of-the-art system were merged using a merging algorithm BIBREF151 . The dataset used comprised about 500K tokens of “silver\" standard data and about 100K tokens of “gold\" standard data for training, compared to the corpus of roughly 50K tokens corpus used in TempEval 1 and 2."},{"kind":"caption","paper_id":"1601.04012","passage_id":"1601.04012:caption:11","position":11,"section_index":null,"section_name":"Figures and tables","source_file":"44-TableXI-1.png","text":"Table XI. Evaluation results (recall / precision / f-score for Task 1 in Whole data set (W), Abstracts only (A) and Full papers only (F)"},{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:16:0","position":0,"section_index":16,"section_name":"Extracting Events from Textual Documents","source_file":null,"text":"Different models of events have been used in computational linguistics work geared toward information extraction."},{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:19:1","position":1,"section_index":19,"section_name":"Extracting Events","source_file":null,"text":"We describe a few of the approaches that have been used for extracting TimeML type events. Quite a few papers that attempt to do so have been published BIBREF121 , BIBREF138 , BIBREF139 , BIBREF140 , BIBREF141 , and we pick just a few representative papers."}],"question":"Which datasets are used in this work?","question_id":"eac042734f76e787cb98ba3d0c13a916a49bdfb3","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"ECB+ dataset BIBREF191\",\"passage_id\":\"1601.04012:paragraph:20:27\"},{\"text\":\"TempEval-3 dataset\",\"passage_id\":\"1601.04012:paragraph:19:15\"}]}","result":{"answer":"ECB+ dataset BIBREF191 TempEval-3 dataset","claims":[{"passage_id":"1601.04012:paragraph:20:27","text":"ECB+ dataset BIBREF191"},{"passage_id":"1601.04012:paragraph:19:15","text":"TempEval-3 dataset"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":50,"packing":{"input_tokens":978,"omitted_ids":[],"truncated":[{"original_chars":952,"passage_id":"1601.06068:abstract:0","presented_chars":800},{"original_chars":892,"passage_id":"1601.06068:paragraph:0:2","presented_chars":800},{"original_chars":924,"passage_id":"1601.06068:paragraph:0:1","presented_chars":800}]},"paper_id":"1601.06068","presented":[{"kind":"abstract","paper_id":"1601.06068","passage_id":"1601.06068:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"One of the limitations of semantic parsing approaches to open-domain question answering is the lexicosyntactic gap between natural language questions and knowledge base entries -- there are many ways to ask a question, all with the same answer. In this paper we propose to bridge this gap by generating paraphrases of the input question with the goal that at least one of them will be correctly mapped to a knowledge-base query. We introduce a novel grammar model for paraphrase generation that does not require any sentence-aligned paraphrase corpus. Our key idea is to leverage the flexibility and scalability of latent-variable probabilistic context-free grammars to sample paraphrases. We do an extrinsic evaluation of our paraphrases by plugging them into a semantic parser for Freebase. Our eva"},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:11:1","position":1,"section_index":11,"section_name":"Baselines","source_file":null,"text":"We compare our paraphrasing models with monolingual machine translation based model for paraphrase generation BIBREF24 , BIBREF36 . In particular, we use Moses BIBREF37 to train a monolingual phrase-based MT system on the Paralex corpus. Finally, we use Moses decoder to generate 10-best distinct paraphrases for the test questions."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The main contributions of this paper are two fold. First, we present an algorithm (§ \"Paraphrase Generation Using Grammars\" ) to generate paraphrases using latent-variable PCFGs. We use the spectral method of narayan-15 to estimate L-PCFGs on a large scale question treebank. Our grammar model leads to a robust and an efficient system for paraphrase generation in open-domain question answering. While CFGs have been explored for paraphrasing using bilingual parallel corpus BIBREF14 , ours is the first implementation of CFG that uses only monolingual data. Second, we show that generated paraphrases can be used to improve semantic parsing of questions into Freebase logical forms (§ \"Semantic Parsing using Paraphrasing\" ). We build on a strong baseline of reddylargescale2014 and show that our g"},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"We address the above problems by using paraphrases of the original question. Paraphrasing has shown to be promising for semantic parsing BIBREF9 , BIBREF10 , BIBREF11 . We propose a novel framework for paraphrasing using latent-variable PCFGs (L-PCFGs). Earlier approaches to paraphrasing used phrase-based machine translation for text-based QA BIBREF12 , BIBREF13 , or hand annotated grammars for KB-based QA BIBREF10 . We find that phrase-based statistical machine translation (MT) approaches mainly produce lexical paraphrases without much syntactic diversity, whereas our grammar-based approach is capable of producing both lexically and syntactically diverse paraphrases. Unlike MT based approaches, our system does not require aligned parallel paraphrase corpora. In addition we do not require "},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:1:0","position":0,"section_index":1,"section_name":"Paraphrase Generation Using Grammars","source_file":null,"text":"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG. L-PCFGs are PCFGs where the nonterminals are refined with latent states that provide some contextual information about each node in a given derivation. L-PCFGs have been used in various ways, most commonly for syntactic parsing BIBREF15 , BIBREF16 , BIBREF17 , BIBREF18 , BIBREF19 , BIBREF20 ."}],"question":"Do they evaluate the quality of the paraphrasing model?","question_id":"117aa7811ed60e84d40cd8f9cb3ca78781935a98","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG.\",\"passage_id\":\"1601.06068:paragraph:1:0\"}]}","result":{"answer":"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG.","claims":[{"passage_id":"1601.06068:paragraph:1:0","text":"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG."}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":43,"packing":{"input_tokens":834,"omitted_ids":[],"truncated":[]},"paper_id":"1601.06068","presented":[{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:9:0","position":0,"section_index":9,"section_name":"Experimental Setup","source_file":null,"text":"Below, we give details on the evaluation dataset and baselines used for comparison. We also describe the model features and provide implementation details."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:13:0","position":0,"section_index":13,"section_name":"Results and Discussion","source_file":null,"text":"In this section, we present results from five different systems for our question-answering experiments: original, mt, naive, ppdb and bilayered. First two are baseline systems. Other three systems use paraphrases generated from an L-PCFG grammar. naive uses a word lattice with a single start-to-end path representing the input question itself, ppdb uses a word lattice constructed using the PPDB rules, and bilayered uses bi-layered L-PCFG to build word lattices. Note that naive does not require any parallel resource to train, ppdb requires an external paraphrase database, and bilayered, like mt, needs a parallel corpus with paraphrase pairs. We tune our classifier features and GraphParser features on the development data. We use the best setting from tuning for evaluation on the test data."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:11:0","position":0,"section_index":11,"section_name":"Baselines","source_file":null,"text":"We use GraphParser without paraphrases as our baseline. This gives an idea about the impact of using paraphrases."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:8:2","position":2,"section_index":8,"section_name":"Learning","source_file":null,"text":"where $\\Phi (p, u, g, q, \\mathcal {K}) \\in \\mathbb {R}^n$ denotes the features for the tuple of paraphrase, ungrounded and grounded graphs. The feature function has access to the paraphrase, ungrounded and grounded graphs, the original question, as well as to the content of the knowledge base and the denotation $|g|_\\mathcal {K}$ (the denotation of a grounded graph is defined as the set of entities or attributes reachable at its target node). See sec:details for the features employed. The model parameters are estimated with the averaged structured perceptron BIBREF35 . Given a training question-answer pair $(q,\\mathcal {A})$ , the update is: $\n\\theta ^{t+1} \\leftarrow \\theta ^{t} + \\Phi (p^+, u^+, g^+, q,\n\\mathcal {K}) - \\Phi (\\hat{p}, \\hat{u}, \\hat{g}, q, \\mathcal {K})\\,,\n$ "},{"kind":"caption","paper_id":"1601.06068","passage_id":"1601.06068:caption:2","position":2,"section_index":null,"section_name":"Figures and tables","source_file":"7-Figure3-1.png","text":"Figure 3: Ungrounded graphs for an input question and its paraphrases along with its correct grounded graph. The green squares indicate NL or Freebase entities, the yellow rectangles indicate unary NL predicates or Freebase types, the circles indicate NL or Freebase events, the edge labels indicate binary NL predicates or Freebase relations, and the red diamonds attach to the entity of interest (the answer to the question)."}],"question":"What are the baselines?","question_id":"423bb905e404e88a168e7e807950e24ca166306c","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"original, mt, naive, ppdb and bilayered\",\"passage_id\":\"1601.06068:paragraph:13:0\"}]}","result":{"answer":"original, mt, naive, ppdb and bilayered","claims":[{"passage_id":"1601.06068:paragraph:13:0","text":"original, mt, naive, ppdb and bilayered"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":32,"packing":{"input_tokens":914,"omitted_ids":[],"truncated":[{"original_chars":924,"passage_id":"1601.06068:paragraph:0:1","presented_chars":800},{"original_chars":892,"passage_id":"1601.06068:paragraph:0:2","presented_chars":800}]},"paper_id":"1601.06068","presented":[{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:1:0","position":0,"section_index":1,"section_name":"Paraphrase Generation Using Grammars","source_file":null,"text":"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG. L-PCFGs are PCFGs where the nonterminals are refined with latent states that provide some contextual information about each node in a given derivation. L-PCFGs have been used in various ways, most commonly for syntactic parsing BIBREF15 , BIBREF16 , BIBREF17 , BIBREF18 , BIBREF19 , BIBREF20 ."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"We address the above problems by using paraphrases of the original question. Paraphrasing has shown to be promising for semantic parsing BIBREF9 , BIBREF10 , BIBREF11 . We propose a novel framework for paraphrasing using latent-variable PCFGs (L-PCFGs). Earlier approaches to paraphrasing used phrase-based machine translation for text-based QA BIBREF12 , BIBREF13 , or hand annotated grammars for KB-based QA BIBREF10 . We find that phrase-based statistical machine translation (MT) approaches mainly produce lexical paraphrases without much syntactic diversity, whereas our grammar-based approach is capable of producing both lexically and syntactically diverse paraphrases. Unlike MT based approaches, our system does not require aligned parallel paraphrase corpora. In addition we do not require "},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The main contributions of this paper are two fold. First, we present an algorithm (§ \"Paraphrase Generation Using Grammars\" ) to generate paraphrases using latent-variable PCFGs. We use the spectral method of narayan-15 to estimate L-PCFGs on a large scale question treebank. Our grammar model leads to a robust and an efficient system for paraphrase generation in open-domain question answering. While CFGs have been explored for paraphrasing using bilingual parallel corpus BIBREF14 , ours is the first implementation of CFG that uses only monolingual data. Second, we show that generated paraphrases can be used to improve semantic parsing of questions into Freebase logical forms (§ \"Semantic Parsing using Paraphrasing\" ). We build on a strong baseline of reddylargescale2014 and show that our g"},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:3:1","position":1,"section_index":3,"section_name":"Bi-Layered L-PCFGs","source_file":null,"text":"In their traditional use, the latent states in L-PCFGs aim to capture syntactic information. We introduce here the use of an L-PCFG with two layers of latent states: one layer is intended to capture the usual syntactic information, and the other aims to capture semantic and topical information by using a large set of states with specific feature functions."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:1:1","position":1,"section_index":1,"section_name":"Paraphrase Generation Using Grammars","source_file":null,"text":"In our estimation of L-PCFGs, we use the spectral method of narayan-15, instead of using EM, as has been used in the past by matsuzaki-2005 and petrov-2006. The spectral method we use enables the choice of a set of feature functions that indicate the latent states, which proves to be useful in our case. It also leads to sparse grammar estimates and compact models."}],"question":"What latent variables are modeled in the PCFG?","question_id":"ad362365656b0b218ba324ae60701eb25fe664c1","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"latent states\",\"passage_id\":\"1601.06068:paragraph:3:1\"}]}","result":{"answer":"latent states","claims":[{"passage_id":"1601.06068:paragraph:3:1","text":"latent states"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":37,"packing":{"input_tokens":1001,"omitted_ids":[],"truncated":[{"original_chars":942,"passage_id":"1601.06068:paragraph:4:0","presented_chars":800},{"original_chars":1012,"passage_id":"1601.06068:paragraph:12:0","presented_chars":800}]},"paper_id":"1601.06068","presented":[{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:2:4","position":4,"section_index":2,"section_name":"Paraphrases Generation Algorithm","source_file":null,"text":"We train the L-PCFG $G_{\\mathrm {syn}}$ on the Paralex corpus BIBREF9 . Paralex is a large monolingual parallel corpus, containing 18 million pairs of question paraphrases with 2.4M distinct questions in the corpus. It is suitable for our task of generating paraphrases since its large scale makes our model robust for open-domain questions. We construct a treebank by parsing 2.4M distinct questions from Paralex using the BLLIP parser BIBREF25 ."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:4:0","position":0,"section_index":4,"section_name":"Paraphrase Classification","source_file":null,"text":"Our sampling algorithm overgenerates paraphrases which are incorrect. To improve its precision, we build a binary classifier to filter the generated paraphrases. We randomly select 100 distinct questions from the Paralex corpus and generate paraphrases using our generation algorithm with various lattice settings. We randomly select 1,000 pairs of input-sampled sentences and manually annotate them as “correct” or “incorrect” paraphrases. We train our classifier on this manually created training data. We follow madnani2012, who used MT metrics for paraphrase identification, and experiment with 8 MT metrics as features for our binary classifier. In addition, we experiment with a binary feature which checks if the sampled paraphrase preserves named entities from the input sentence. We use WEKA"},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:11:1","position":1,"section_index":11,"section_name":"Baselines","source_file":null,"text":"We compare our paraphrasing models with monolingual machine translation based model for paraphrase generation BIBREF24 , BIBREF36 . In particular, we use Moses BIBREF37 to train a monolingual phrase-based MT system on the Paralex corpus. Finally, we use Moses decoder to generate 10-best distinct paraphrases for the test questions."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:12:0","position":0,"section_index":12,"section_name":"Implementation Details","source_file":null,"text":"For WebQuestions, we use 8 handcrafted part-of-speech patterns (e.g., the pattern (DT)?(JJ.? $\\mid $ NN.?){0,2}NN.? matches the noun phrase the big lebowski) to identify candidate named entity mention spans. We use the Stanford CoreNLP caseless tagger for part-of-speech tagging BIBREF38 . For each candidate mention span, we retrieve the top 10 entities according to the Freebase API. We then create a lattice in which the nodes correspond to mention-entity pairs, scored by their Freebase API scores, and the edges encode the fact that no joint assignment of entities to mentions can contain overlapping spans. We take the top 10 paths through the lattice as possible entity disambiguations. For each possibility, we generate $n$ -best paraphrases that contains the entity mention spans. In the end"},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:3:3","position":3,"section_index":3,"section_name":"Bi-Layered L-PCFGs","source_file":null,"text":"Once the two feature functions (syntactic in $G_{\\mathrm {syn}}$ and semantic in $G_{\\mathrm {par}}$ ) are created, each nonterminal in the training treebank is assigned two latent states (cluster identifiers). Figure 2 shows an example annotation of trees for three paraphrase questions from the Paralex corpus. We compute the parameters of the bi-layered L-PCFG $G_{\\mathrm {layered}}$ with a simple frequency count maximum likelihood estimate over this annotated treebank. As such, $G_{\\mathrm {layered}}$ is a combination of $G_{\\mathrm {syn}}$ and $G_{\\mathrm {par}}$ , resulting in 24,000 latent states (24 syntactic x 1000 semantic)."}],"question":"How many paraphrases are generated per question?","question_id":"c359ab8ebef6f60c5a38f5244e8c18d85e92761d","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"10-best distinct paraphrases\",\"passage_id\":\"1601.06068:paragraph:12:0\"}]}","result":{"answer":"","claims":[],"reason":"unsupported_quote","status":"abstained"}},{"output_limit_reached":false,"output_tokens":39,"packing":{"input_tokens":912,"omitted_ids":[],"truncated":[{"original_chars":862,"passage_id":"1601.06081:paragraph:5:5","presented_chars":800},{"original_chars":804,"passage_id":"1601.06081:paragraph:5:4","presented_chars":800}]},"paper_id":"1601.06081","presented":[{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:5:5","position":5,"section_index":5,"section_name":"Classification Experiments","source_file":null,"text":"Three Class Classification. Finally we also tested feature predictivity on a three class classification task (UL vs GN vs FT). Since in this case we did not performed downsampling, we use the ZeroR classifier as a baseline. For the sake of interpretability of results, along with precision, recall and F1 we also provide the Matthews Correlation Coefficient (MCC) which is useful for unbalanced datasets, as presented in BIBREF39 for the multiclass case. MCC returns a value between -1 and +1, where +1 represents a perfect prediction, 0 no better than random and -1 indicates total disagreement. Results are consistent with previous experiments. In Table 8 , all feature configurations show an improvement over the baseline ( $p<0.001$ ) but the temporal features (TIMEX) have far lower discriminati"},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:7:2","position":2,"section_index":7,"section_name":"Ecological Experiments in the News Domain","source_file":null,"text":"Also in this case our features are able to discriminate between reliable and non-reliable stories (namely those coming from NYT and WWN). In particular, all the features together performed very well (F1 = 0.864), improving over all other subgroups of features (p $<$ 0.001), and NE, TIMEX, READ performed equally well improving over AFF that was the least effective (p $<$ 0.001). Still, AFF improves over the random baseline (p $<$ 0.001)."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:4:5","position":5,"section_index":4,"section_name":"Descriptive Statistics","source_file":null,"text":"Turning to the analysis of variance, we see that FT is – on average – a more cohesive genre, with lower standard deviations, while GN and UL have higher and closer standard deviations. In fact, all differences in the standard deviations reported in the tables are statistically significant (f-test, $p<0.001$ ) apart between UL and GN in Fog, Kincaid and in ALL sentiment (signalled with * in the respective Tables)."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:5:3","position":3,"section_index":5,"section_name":"Classification Experiments","source_file":null,"text":"In Table 7 we report the performances of the various classification tasks in term of precision, recall and F1 over the single classes. Interestingly, for almost all feature combinations the classifiers had slightly higher precision than recall for UL, while the contrary holds for FT and GN."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:5:4","position":4,"section_index":5,"section_name":"Classification Experiments","source_file":null,"text":"News vs Fairy Tales. Finally, we wanted to check whether UL being “half-way\" between GN and FT can be observed in our classification experiments as well. If this hypothesis is correct, by classifying GN vs. FT we would expect to find higher performance than previous experiments. Results show that this is in fact the case. All features together performed better than all previous experiment and incredibly well (F1= 0.978), again improving over all the other subgroups of features alone ( $p<0.001$ ) apart from READ that performs equally well (F1=0.973, no statistically significant difference). Notably, all other groups of features improves over the UL vs. GN and the UL vs. FT tasks. Finally, all groups of features had a statistically significant improvement over the random baseline ( $p<0.001"}],"question":"How accurate is their predictive model?","question_id":"6f8881e60fdaca7c1b35a5acc7125994bb1206a3","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"F1= 0.978\",\"passage_id\":\"1601.06081:paragraph:5:4\"}]}","result":{"answer":"F1= 0.978","claims":[{"passage_id":"1601.06081:paragraph:5:4","text":"F1= 0.978"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":43,"packing":{"input_tokens":715,"omitted_ids":[],"truncated":[{"original_chars":1697,"passage_id":"1601.06738:paragraph:0:3","presented_chars":800},{"original_chars":1259,"passage_id":"1601.06738:paragraph:12:0","presented_chars":800}]},"paper_id":"1601.06738","presented":[{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:0:3","position":3,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In the following we provide an account of linguistic hedges that is both functional, and semantically grounded. In its most basic formulation, the operation requires no additional parameters, although we also show that the formulae can be generalised if necessary. Our account of linguistic hedges uses the label semantics framework to model concepts BIBREF12 . This is a random set approach which quantifies an agent's subjective uncertainty about the extent of application of a concept. We refer to this uncertainty as semantic uncertainty BIBREF13 to emphasise that it concerns the definition of concepts and categories, in contrast to stochastic uncertainty which concerns the state of the world. In BIBREF13 the label semantics approach is combined with conceptual spaces BIBREF14 and prototype "},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:4:0","position":0,"section_index":4,"section_name":"Approaches to linguistic hedges","source_file":null,"text":"Linguistic hedges have been given varying treatments in the literature. In this section we summarise these different approaches and state the approach that we wish to take, discussing properties that hedge modifiers may need. We give two specific approaches from the literature with which we will compare our results."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:6:10","position":10,"section_index":6,"section_name":"Hedges with unmodified prototypes","source_file":null,"text":"The effect of these hedges are illustrated in the following example."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:6:12","position":12,"section_index":6,"section_name":"Hedges with unmodified prototypes","source_file":null,"text":"These hedges can also be applied across multiple dimensions, demonstrated in the example below."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:12:0","position":0,"section_index":12,"section_name":"Discussion","source_file":null,"text":"We have presented formulae for linguistic hedges which are both functional and semantically grounded. The modifiers presented arise naturally from the label semantics framework, in which concepts are represented by a prototype and threshold. Our hedges have an intuitive meaning: if I think that the threshold for a concept `small' is of a certain width, then the threshold for the concept `very small' will be narrower. On the other hand, the threshold for the concept `quite small' will be broader. The hedges proposed are examples of `type 1' hedges, i.e. they operate equally across all dimensions of the fuzzy set associated with a concept. The first result presented is somewhat similar to a powering modifier since the core and support of the set remain the same. In BIBREF9 , BIBREF7 , it is "}],"question":"Does this paper address the variation among English dialects regarding these hedges?","question_id":"320d72a9cd19b52c29dda9ddecd520c9938a717f","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"This paper addresses the variation among English dialects regarding these hedges.\",\"passage_id\":\"1601.06738:paragraph:4:0\"}]}","result":{"answer":"","claims":[],"reason":"unsupported_quote","status":"abstained"}},{"output_limit_reached":false,"output_tokens":33,"packing":{"input_tokens":945,"omitted_ids":[],"truncated":[{"original_chars":831,"passage_id":"1602.00812:paragraph:10:24","presented_chars":800}]},"paper_id":"1602.00812","presented":[{"kind":"abstract","paper_id":"1602.00812","passage_id":"1602.00812:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"As the name suggests, type-logical grammars are a grammar formalism based on logic and type theory. From the prespective of grammar design, type-logical grammars develop the syntactic and semantic aspects of linguistic phenomena hand-in-hand, letting the desired semantics of an expression inform the syntactic type and vice versa. Prototypical examples of the successful application of type-logical grammars to the syntax-semantics interface include coordination, quantifier scope and extraction.This chapter describes the Grail theorem prover, a series of tools for designing and testing grammars in various modern type-logical grammars which functions as a tool . All tools described in this chapter are freely available."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:26","position":26,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As to the proof search strategy used by Grail, it is an instance of the “dancing links” algorithm BIBREF35 : when connecting atomic formulas, we always link a formula which has the least possibilities and we rewrite the abstract proof structures only once a fully linked proof structure has been produced. Though the parser is not extremely fast, evaluation both on randomly generated statements and on multimodal statements extracted from corpora show that the resulting algorithm performs more than well enough BIBREF36 ."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:24","position":24,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As a compromise between efficiency and flexibility, Grail allows the grammar writer to specify a first-order approximation of her structural rules. Unlike the test for validity in multiplicative linear logic which is valid for any set of structural rules, specifying such a first-order approximation is valid only when there is a guarantee that all derivable sequents in the multimodal grammar are a subset of their approximations derivable in first-order linear logic. Errors made here can be rather subtle and hard to detect. It is recommended to use such methods to improve parsing speed only when a grammar has been sufficiently tested and where it is possible to verify whether no valid readings are excluded, or, ideally, to prove that the subset relation holds between the multimodal logic and"},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:0:0","position":0,"section_index":0,"section_name":"Introduction","source_file":null,"text":"This chapter describes a series of tools for developing and testing type-logical grammars. The Grail family of theorem provers have been designed to work with a variety of modern type-logical frameworks, including multimodal type-logical grammars BIBREF0 , NL $_{cl}$ BIBREF1 , the Displacement calculus BIBREF2 and hybrid type-logical grammars BIBREF3 ."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:12:0","position":0,"section_index":12,"section_name":"Tools","source_file":null,"text":"Table 9 lists the different theorem provers which are available. Grail 0 BIBREF42 and Grail 3 BIBREF43 use the multimodal proof net calculus of Section \"Multimodal proof nets\" , whereas LinearOne BIBREF44 uses the first-order proof nets of Section \"First-order proof nets\" . GrailLight BIBREF45 is a special-purpose chart parser, intended for use with an automatically extracted French grammar for wide-coverage parsing and semantics BIBREF34 , BIBREF46 . All provers are provided under the GNU Lesser General Public License — this means, notably, there is no warranty, though I am committed to making all software as useful as possible; so contact me for any comments, feature requests or bug reports. All theorem provers can be downloaded from the author's GitHub site."}],"question":"What formalism does Grail use?","question_id":"2b52d481b30185d2c6e7b403d37277f70337d6ca","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"type-logical grammars\",\"passage_id\":\"1602.00812:abstract:0\"}]}","result":{"answer":"type-logical grammars","claims":[{"passage_id":"1602.00812:abstract:0","text":"type-logical grammars"}],"reason":null,"status":"answered"}},{"output_limit_reached":false,"output_tokens":38,"packing":{"input_tokens":821,"omitted_ids":[],"truncated":[{"original_chars":831,"passage_id":"1602.00812:paragraph:10:24","presented_chars":800}]},"paper_id":"1602.00812","presented":[{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:24","position":24,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As a compromise between efficiency and flexibility, Grail allows the grammar writer to specify a first-order approximation of her structural rules. Unlike the test for validity in multiplicative linear logic which is valid for any set of structural rules, specifying such a first-order approximation is valid only when there is a guarantee that all derivable sequents in the multimodal grammar are a subset of their approximations derivable in first-order linear logic. Errors made here can be rather subtle and hard to detect. It is recommended to use such methods to improve parsing speed only when a grammar has been sufficiently tested and where it is possible to verify whether no valid readings are excluded, or, ideally, to prove that the subset relation holds between the multimodal logic and"},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:0:0","position":0,"section_index":0,"section_name":"Introduction","source_file":null,"text":"This chapter describes a series of tools for developing and testing type-logical grammars. The Grail family of theorem provers have been designed to work with a variety of modern type-logical frameworks, including multimodal type-logical grammars BIBREF0 , NL $_{cl}$ BIBREF1 , the Displacement calculus BIBREF2 and hybrid type-logical grammars BIBREF3 ."},{"kind":"caption","paper_id":"1602.00812","passage_id":"1602.00812:caption:14","position":14,"section_index":null,"section_name":"Figures and tables","source_file":"24-Figure9.11-1.png","text":"Fig. 9.11 Interactive Grail output"},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:12:0","position":0,"section_index":12,"section_name":"Tools","source_file":null,"text":"Table 9 lists the different theorem provers which are available. Grail 0 BIBREF42 and Grail 3 BIBREF43 use the multimodal proof net calculus of Section \"Multimodal proof nets\" , whereas LinearOne BIBREF44 uses the first-order proof nets of Section \"First-order proof nets\" . GrailLight BIBREF45 is a special-purpose chart parser, intended for use with an automatically extracted French grammar for wide-coverage parsing and semantics BIBREF34 , BIBREF46 . All provers are provided under the GNU Lesser General Public License — this means, notably, there is no warranty, though I am committed to making all software as useful as possible; so contact me for any comments, feature requests or bug reports. All theorem provers can be downloaded from the author's GitHub site."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:26","position":26,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As to the proof search strategy used by Grail, it is an instance of the “dancing links” algorithm BIBREF35 : when connecting atomic formulas, we always link a formula which has the least possibilities and we rewrite the abstract proof structures only once a fully linked proof structure has been produced. Though the parser is not extremely fast, evaluation both on randomly generated statements and on multimodal statements extracted from corpora show that the resulting algorithm performs more than well enough BIBREF36 ."}],"question":"Does Grail accept Prolog inputs?","question_id":"48fa2ccc236e217fcf0e5aab0e7a146faf439b02","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"Grail accepts Prolog inputs.\",\"passage_id\":\"1602.00812:paragraph:10:24\"}]}","result":{"answer":"","claims":[],"reason":"unsupported_quote","status":"abstained"}},{"output_limit_reached":false,"output_tokens":42,"packing":{"input_tokens":964,"omitted_ids":[],"truncated":[{"original_chars":1190,"passage_id":"1602.01208:abstract:0","presented_chars":800},{"original_chars":811,"passage_id":"1602.01208:paragraph:0:2","presented_chars":800},{"original_chars":806,"passage_id":"1602.01208:paragraph:1:1","presented_chars":800}]},"paper_id":"1602.01208","presented":[{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:2:1","position":1,"section_index":2,"section_name":"Simultaneous learning of places and vocabulary","source_file":null,"text":"Taguchi et al. proposed a method for the unsupervised learning of phoneme sequences and relationships between words and objects from various user utterances without any prior linguistic knowledge other than an acoustic model of phonemes BIBREF1 , BIBREF14 . Further, they proposed a method for the simultaneous categorization of self-position coordinates and lexical learning BIBREF15 . These experimental results showed that it was possible to learn the name of a place from utterances in some cases and to output words corresponding to places in a location that was not used for learning."},{"kind":"abstract","paper_id":"1602.01208","passage_id":"1602.01208:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"In this paper, we propose a novel unsupervised learning method for the lexical acquisition of words related to places visited by robots, from human continuous speech signals. We address the problem of learning novel words by a robot that has no prior knowledge of these words except for a primitive acoustic model. Further, we propose a method that allows a robot to effectively use the learned words and their meanings for self-localization tasks. The proposed method is nonparametric Bayesian spatial concept acquisition method (SpCoA) that integrates the generative model for self-localization and the unsupervised word segmentation in uttered sentences via latent variables related to the spatial concept. We implemented the proposed method SpCoA on SIGVerse, which is a simulation environment, a"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"Several studies on language acquisition by robots have assumed that robots have no prior lexical knowledge. These studies differ from speech recognition studies based on a large vocabulary and natural language processing studies based on lexical, syntactic, and semantic knowledge BIBREF0 , BIBREF1 . Studies on language acquisition by robots also constitute a constructive approach to the human developmental process and the emergence of symbols."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The objectives of this study were to build a robot that learns words related to places and efficiently utilizes this learned vocabulary in self-localization. Lexical acquisition related to places is expected to enable a robot to improve its spatial cognition. A schematic representation depicting the target task of this study is shown in Fig. FIGREF3 . This study assumes that a robot does not have any vocabularies in advance but can recognize syllables or phonemes. The robot then performs self-localization while moving around in the environment, as shown in Fig. FIGREF3 (a). An utterer speaks a sentence including the name of the place to the robot, as shown in Fig. FIGREF3 (b). For the purposes of this study, we need to consider the problems of self-localization and lexical acquisition simu"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:1:1","position":1,"section_index":1,"section_name":"Lexical acquisition","source_file":null,"text":"Roy et al. proposed a computational model that enables a robot to learn the names of objects from an object image and spontaneous infant-directed speech BIBREF0 . Their results showed that the model performed speech segmentation, word discovery, and visual categorization. Iwahashi et al. reported that a robot properly understands the situation and acquires the relationship of object behaviors and sentences BIBREF2 , BIBREF3 , BIBREF4 . Qu & Chai focused on the conjunction between speech and eye gaze and the use of domain knowledge in lexical acquisition BIBREF6 , BIBREF7 . They proposed an unsupervised learning method that automatically acquires novel words for an interactive system. Qu & Chai's method based on the IBM translation model BIBREF11 estimates the word-entity association probab"}],"question":"Does their model start with any prior knowledge of words?","question_id":"1bdf7e9f3f804930b2933ebd9207a3e000b27742","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"no prior knowledge of these words except for a primitive acoustic model\",\"passage_id\":\"1602.01208:paragraph:0:1\"}]}","result":{"answer":"","claims":[],"reason":"unsupported_quote","status":"abstained"}},{"output_limit_reached":false,"output_tokens":55,"packing":{"input_tokens":861,"omitted_ids":[],"truncated":[{"original_chars":1190,"passage_id":"1602.01208:abstract:0","presented_chars":800},{"original_chars":806,"passage_id":"1602.01208:paragraph:1:1","presented_chars":800}]},"paper_id":"1602.01208","presented":[{"kind":"abstract","paper_id":"1602.01208","passage_id":"1602.01208:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"In this paper, we propose a novel unsupervised learning method for the lexical acquisition of words related to places visited by robots, from human continuous speech signals. We address the problem of learning novel words by a robot that has no prior knowledge of these words except for a primitive acoustic model. Further, we propose a method that allows a robot to effectively use the learned words and their meanings for self-localization tasks. The proposed method is nonparametric Bayesian spatial concept acquisition method (SpCoA) that integrates the generative model for self-localization and the unsupervised word segmentation in uttered sentences via latent variables related to the spatial concept. We implemented the proposed method SpCoA on SIGVerse, which is a simulation environment, a"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:1:1","position":1,"section_index":1,"section_name":"Lexical acquisition","source_file":null,"text":"Roy et al. proposed a computational model that enables a robot to learn the names of objects from an object image and spontaneous infant-directed speech BIBREF0 . Their results showed that the model performed speech segmentation, word discovery, and visual categorization. Iwahashi et al. reported that a robot properly understands the situation and acquires the relationship of object behaviors and sentences BIBREF2 , BIBREF3 , BIBREF4 . Qu & Chai focused on the conjunction between speech and eye gaze and the use of domain knowledge in lexical acquisition BIBREF6 , BIBREF7 . They proposed an unsupervised learning method that automatically acquires novel words for an interactive system. Qu & Chai's method based on the IBM translation model BIBREF11 estimates the word-entity association probab"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:4:1","position":1,"section_index":4,"section_name":"Generative model","source_file":null,"text":"The model that was developed for spatial concept acquisition is a probabilistic generative model that integrates a self-localization with the simultaneous clustering of places and words. Fig. FIGREF13 shows the graphical model for spatial concept acquisition. Table TABREF14 shows each variable of the graphical model. The number of words in a sentence at time INLINEFORM0 is denoted as INLINEFORM1 . The generative model of the proposed method is defined as equation ( EQREF11 -). DISPLAYFORM0 "},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:5","position":5,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In this paper, we propose nonparametric Bayesian spatial concept acquisition method (SpCoA) on basis of unsupervised word segmentation and a nonparametric Bayesian generative model that integrates self-localization and a clustering in both words and places. The main contributions of this paper are as follows:"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:11:1","position":1,"section_index":11,"section_name":"Estimation accuracy of spatial concepts","source_file":null,"text":"Further, we compared the proposed method with a method of word clustering without location information for the investigation of the effect of lexical acquisition using location information. In particular, a method of word clustering without location information used the Dirichlet process mixture (DPM) of the unigram model of an SBP representation. The parameters corresponding to those of the proposed method were the same as the parameters of the proposed method and were estimated using Gibbs sampling."}],"question":"How do they evaluate how their model acquired words?","question_id":"21c104d14ba3db7fe2cd804a191f9e6258208235","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"The proposed method was compared with a method of word clustering without location information to investigate the effect of lexical acquisition using location information.\",\"passage_id\":\"1602.01208:paragraph:11:1\"}]}","result":{"answer":"","claims":[],"reason":"unsupported_quote","status":"abstained"}},{"output_limit_reached":false,"output_tokens":45,"packing":{"input_tokens":1093,"omitted_ids":[],"truncated":[{"original_chars":1190,"passage_id":"1602.01208:abstract:0","presented_chars":800},{"original_chars":934,"passage_id":"1602.01208:paragraph:0:4","presented_chars":800},{"original_chars":811,"passage_id":"1602.01208:paragraph:0:2","presented_chars":800},{"original_chars":975,"passage_id":"1602.01208:paragraph:16:1","presented_chars":800}]},"paper_id":"1602.01208","presented":[{"kind":"abstract","paper_id":"1602.01208","passage_id":"1602.01208:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"In this paper, we propose a novel unsupervised learning method for the lexical acquisition of words related to places visited by robots, from human continuous speech signals. We address the problem of learning novel words by a robot that has no prior knowledge of these words except for a primitive acoustic model. Further, we propose a method that allows a robot to effectively use the learned words and their meanings for self-localization tasks. The proposed method is nonparametric Bayesian spatial concept acquisition method (SpCoA) that integrates the generative model for self-localization and the unsupervised word segmentation in uttered sentences via latent variables related to the spatial concept. We implemented the proposed method SpCoA on SIGVerse, which is a simulation environment, a"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:4","position":4,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In order to solve the abovementioned problems, in this study, we adopted the following approach. An utterance is recognized as not a single phoneme sequence but a set of candidates of multiple phonemes. We attempt to suppress the variability in the speech recognition results by performing word discovery taking into account the multiple candidates of speech recognition. In addition, the names of places are learned by associating with words and positions. The lexical acquisition is complemented by using certain particular spatial information; i.e., this information is obtained by hearing utterances including the same word in the same place many times. Furthermore, in this study, we attempt to address the problem of the uncertainty of self-localization by improving the self-position errors by"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:8:2","position":2,"section_index":8,"section_name":"Experiment I","source_file":null,"text":"The remainder of this section is organized as follows: In Section SECREF43 , the conditions and results of learning spatial concepts are described. The experiments performed using the learned spatial concepts are described in Section SECREF49 to SECREF64 . In Section SECREF49 , we evaluate the accuracy of the phoneme recognition and word segmentation for uttered sentences. In Section SECREF56 , we evaluate the clustering accuracy of the estimation results of index INLINEFORM0 of spatial concepts for each teaching utterance. In Section SECREF60 , we evaluate the accuracy of the acquisition of names of places. In Section SECREF64 , we show that spatial concepts can be utilized for effective self-localization."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The objectives of this study were to build a robot that learns words related to places and efficiently utilizes this learned vocabulary in self-localization. Lexical acquisition related to places is expected to enable a robot to improve its spatial cognition. A schematic representation depicting the target task of this study is shown in Fig. FIGREF3 . This study assumes that a robot does not have any vocabularies in advance but can recognize syllables or phonemes. The robot then performs self-localization while moving around in the environment, as shown in Fig. FIGREF3 (a). An utterer speaks a sentence including the name of the place to the robot, as shown in Fig. FIGREF3 (b). For the purposes of this study, we need to consider the problems of self-localization and lexical acquisition simu"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:16:1","position":1,"section_index":16,"section_name":"Modification of localization by the acquired spatial concepts","source_file":null,"text":"Fig. FIGREF80 shows the results of the self-localization before (the top part of the figure) and after (the bottom part of the figure) the utterance for three places. The particle states are denoted by red arrows. The moving trajectory of the robot is indicated by a green dotted arrow. Figs. FIGREF80 (a), (b), and (c) show the results for the names of places “toire”, “souhatsukeN”, and “gomibako”. Further, three spatial concepts, i.e., those at INLINEFORM0 , were learned as “gomibako”. In this experiment, the utterer uttered to the robot when the robot came close to the place of INLINEFORM1 . In all the examples shown in the top part of the figure, the particles were dispersed in several places. In contrast, the number of particles near the true position of the robot showed an almost accur"}],"question":"How do they show that acquiring names of places helps self-localization?","question_id":"23d0637f8ae72ae343556ab135eedc7f4cb58032","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"The acquisition of names of places is shown to help self-localization through experiments.\",\"passage_id\":\"1602.01208:paragraph:8:2\"}]}","result":{"answer":"","claims":[],"reason":"unsupported_quote","status":"abstained"}},{"output_limit_reached":false,"output_tokens":43,"packing":{"input_tokens":662,"omitted_ids":[],"truncated":[]},"paper_id":"1602.01208","presented":[{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:5:3","position":3,"section_index":5,"section_name":"Overview of the proposed method SpCoA","source_file":null,"text":"Word segmentation is performed by using the lattices of the speech recognition results."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:10:2","position":2,"section_index":10,"section_name":"Phoneme recognition accuracy of uttered sentences","source_file":null,"text":"Table TABREF54 shows the results of PAR. Table TABREF55 presents examples of the word segmentation results of the three considered methods. We found that the unsupervised morphological analyzer capable of using lattices improved the accuracy of phoneme recognition and word segmentation. Consequently, this result suggests that this word segmentation method considers the multiple hypothesis of speech recognition as a whole and reduces uncertainty such as variability in recognition by using the syllable recognition results in the lattice format."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:5:9","position":9,"section_index":5,"section_name":"Overview of the proposed method SpCoA","source_file":null,"text":"The proposed method can learn words related to places from the utterances of sentences. We use an unsupervised word segmentation method latticelm that can directly segment words from the lattices of the speech recognition results of the uttered sentences BIBREF22 . The lattice can represent to a compact the set of more promising hypotheses of a speech recognition result, such as N-best, in a directed graph format. Unsupervised word segmentation using the lattices of syllable recognition is expected to be able to reduce the variability and errors in phonemes as compared to NPYLM BIBREF13 , i.e., word segmentation using the 1-best speech recognition results."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:8:1","position":1,"section_index":8,"section_name":"Experiment I","source_file":null,"text":"In the experiment, we compare the following three types of word segmentation methods. A set of syllable sequences is given to the graphical model of SpCoA by each method. This set is used for the learning of spatial concepts as recognized uttered sentences INLINEFORM0 ."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:5","position":5,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In this paper, we propose nonparametric Bayesian spatial concept acquisition method (SpCoA) on basis of unsupervised word segmentation and a nonparametric Bayesian generative model that integrates self-localization and a clustering in both words and places. The main contributions of this paper are as follows:"}],"question":"Which method do they use for word segmentation?","question_id":"d557752c4706b65dcdb7718272180c59d77fb7a7","raw_output":"{\"abstain\":false,\"claims\":[{\"text\":\"unsupervised morphological analyzer capable of using lattices\",\"passage_id\":\"1602.01208:paragraph:10:2\"}]}","result":{"answer":"unsupervised morphological analyzer capable of using lattices","claims":[{"passage_id":"1602.01208:paragraph:10:2","text":"unsupervised morphological analyzer capable of using lattices"}],"reason":null,"status":"answered"}}],"sha256":"3d4c130406491973ab159c9bc0a092d2729112215149714bd873d38ac3e71fcd"}
|
outputs/requests.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"candidate_sha256":"0c8d2b3187658a15e1224a35345cbd838303b688afa1afc60434f925467f4a3c","corpus_revision":"8b99f07e2773aaa7996ce5e18be617a714ef5c78ed77de6ac00737554dcdd3a7","input_sha256":"9458bfe76074a8fa8d1685af02bcc73537aa6d338ad20591dfaff1946bc88bf4","mode":"dense","prompt_version":"quoted-answer-v2-prefill","rows":[{"paper_id":"1601.00901","passages":[{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In this paper, we propose a novel approach to joint learning of ontology and semantic parsing, which is designed for homogeneous collections of text, where each fact is usually stated only once, therefore we cannot rely on data redundancy. Our approach is text-driven, semi-automatic and based on grammar induction. It is presented in Figure 1 .The input is a seed ontology together with text annotated with concepts from the seed ontology. The result of the process is an ontology with extended instances, classes, taxonomic and non-taxonomic relations, and a semantic parser, which transform basic units of text, i.e sentences, into semantic trees. Compared to trees that structure sentences based on syntactic information, nodes of semantic trees contain semantic classes, like location, profession, color, etc. Our approach does not rely on any syntactic analysis of text, like part-of-speech tagging or dependency parsing. The grammar induction method works on the premise of curriculum learning BIBREF7 , where the parser first learns to parse simple sentences, then proceeds to learn more complex ones. The induction method is iterative, semi-automatic and based on frequent patterns. A context-free grammar (CFG) is induced from the text, which is represented by several layers of semantic annotations. The motivation to use CFG is that it is very suitable for the proposed alternating usage of top-down and bottom-up parsing, where new rules are induced from previously unparsable parts. Furthermore, it has been shown by BIBREF8 that CFGs are expressive enough to model almost every language phenomena. The induction is based on a greedy iterative procedure that involves minor human involvement, which is needed for seed rule definition and rule categorization. Our experiments show that although the grammar is ambiguous, it is scalable enough to parse a large dataset of sentences."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:12:2","position":2,"section_index":12,"section_name":"Grammar Induction Experiments","source_file":null,"text":"The grammar was also tested by parsing a sample of 100.000 test sentences. A few statistic are presented in Table 4 . More than a quarter of sentences were fully parsed, meaning that they do not have any null leaf nodes. Coverage represents the fraction of words in a sentence that were parsed (words that are not in null-nodes). The number of operations shows how many times was the Parse function called during the parsing of a sentences. It is highly correlated with the time spend for parsing a sentence, which is on average 0.16ms. This measurement was done on a single CPU core. Consequently, it is feasible to parse a collection of a million sentences, like our dataset. The same statistics were also calculated on the training set, the numbers are very similar to the test set. The fully parsed % and coverage are even slightly lower than on the test set. Some of the statistics were calculated after each iteration, but only when a non neutral rule was created. The graphs in Figure 5 show how have the statistics changed over the course of the grammar induction. Graph 5 shows that coverage and the fraction of fully parsed sentences are correlated and they grow very rapidly at the beginning, then the growth starts to slow down, which indicates that there is a long tail of unparsed nodes/sentences. In the following section, we present a concept learning method, which deals with the long tail. Furthermore, the number of operations per sentence also slows down (see Graph 5 ) with the number of rules, which gives a positive sign of retaining computational feasibility with the growth of the grammar. Graph 5 somewhat elaborates the dynamics of the grammar induction. In the earlier phase of induction many rules that define the upper structure of the tree are induced. These rules can rapidly increase the depth and number of null nodes, like rule 1 and rule 2 . They also explain the spikes on Graph 5 . Their addition to the grammar causes some rules to emerge on the top of the list with a significantly higher frequency. After these rules are induced the frequency gets back to the previous values and slowly decreases over the long run."},{"kind":"caption","paper_id":"1601.00901","passage_id":"1601.00901:caption:0","position":0,"section_index":null,"section_name":"Figures and tables","source_file":"3-Figure1-1.png","text":"Figure 1. The proposed approach to ontology and grammar induction gets a collection of text and the seed ontology as input and outputs a new ontology. The collection of text is first annotated at different levels including annotations with the concepts from existing ontology. The annotated text is then used for grammar induction, where the text is represented as semantic trees. These are used together with the grammar to induce a new ontology."},{"kind":"caption","paper_id":"1601.00901","passage_id":"1601.00901:caption:1","position":1,"section_index":null,"section_name":"Figures and tables","source_file":"4-Figure2-1.png","text":"Figure 2. Grammar induction"},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:1:1","position":1,"section_index":1,"section_name":"Grammar induction","source_file":null,"text":"The input to the process, which is illustrated in Figure 2 , is a set of predefined seed grammar rules (see Section \"Seed rules\" ) and a sample of sentences in a layered representation (see Section \"Experiments\" ) from the dataset. The output of the process is a larger set of rules forming the induced grammar. One rule is added to the grammar on each iteration. At the beginning of each iteration all the sentences are parsed with a top-down parser. The output of parsing a single sentence is a semantic tree – a set of semantic nodes connected into a tree. Here we distinguish two possible outcomes of the parsing: 1) the sentence was completely parsed, which is the final goal and 2) there is at least one part of the sentence that cannot be parsed. From the perspective of a parser the second scenario happens when there is a node that cannot be parsed by any of the rules. We name these nodes – null nodes – and they serve as the input for the next step, the rule induction. In this step several rules are constructed by generalization of null nodes. The generalization (see Section \"Rule induction\" ) is based on utilization of semantic annotations and bottom-up composition of the existing rules. Out of the induced rules, a rule with the highest frequency (the one that was generalized from the highest number of null nodes) is added to the grammar. To improve quality of the grammar, the rules are marked by so called property, which instructs the parser how to use the rule (eg., us it in parsing but not in induction). The property vitally affects result of the parsing in the following iterations potentially causing a huge semantic drift for the rest of process. Consequently, a human user needs to mark the property of each rule. The iterative process runs until a predefined stopping criteria is met. The criteria is either connected to the quality of the grammar or time limitation."}],"question":"How did they induce the CFG?","question_id":"74b0d3ee0cc9b0a3d9b264aba9901ff97048a897"},{"paper_id":"1601.00901","passages":[{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:12:2","position":2,"section_index":12,"section_name":"Grammar Induction Experiments","source_file":null,"text":"The grammar was also tested by parsing a sample of 100.000 test sentences. A few statistic are presented in Table 4 . More than a quarter of sentences were fully parsed, meaning that they do not have any null leaf nodes. Coverage represents the fraction of words in a sentence that were parsed (words that are not in null-nodes). The number of operations shows how many times was the Parse function called during the parsing of a sentences. It is highly correlated with the time spend for parsing a sentence, which is on average 0.16ms. This measurement was done on a single CPU core. Consequently, it is feasible to parse a collection of a million sentences, like our dataset. The same statistics were also calculated on the training set, the numbers are very similar to the test set. The fully parsed % and coverage are even slightly lower than on the test set. Some of the statistics were calculated after each iteration, but only when a non neutral rule was created. The graphs in Figure 5 show how have the statistics changed over the course of the grammar induction. Graph 5 shows that coverage and the fraction of fully parsed sentences are correlated and they grow very rapidly at the beginning, then the growth starts to slow down, which indicates that there is a long tail of unparsed nodes/sentences. In the following section, we present a concept learning method, which deals with the long tail. Furthermore, the number of operations per sentence also slows down (see Graph 5 ) with the number of rules, which gives a positive sign of retaining computational feasibility with the growth of the grammar. Graph 5 somewhat elaborates the dynamics of the grammar induction. In the earlier phase of induction many rules that define the upper structure of the tree are induced. These rules can rapidly increase the depth and number of null nodes, like rule 1 and rule 2 . They also explain the spikes on Graph 5 . Their addition to the grammar causes some rules to emerge on the top of the list with a significantly higher frequency. After these rules are induced the frequency gets back to the previous values and slowly decreases over the long run."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:12:0","position":0,"section_index":12,"section_name":"Grammar Induction Experiments","source_file":null,"text":"The grammar was induced on 10.000 random sentences taken from the dataset described in Section \"Datasets\" . First, a list of 45 seed nodes was constructed. There were 22 domain independent linguistic rules, 17 category rules and 6 top-level rules. The property assignment was done by the authors. In every iteration, the best rule is shown together with the number of nodes it was induced from, and ten of those nodes together with the sentences they appear in. The goal was set to stop the iterative process after two hours. We believe this is the right amount of time to still expect quality feedback from a human user."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:11:3","position":3,"section_index":11,"section_name":"Datasets","source_file":null,"text":"There are almost 1.1 million sentences in the collection. The average length of a sentence is 18.3 words, while the median length is 13.8 words. There are 2.3 links per sentence."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:19:0","position":0,"section_index":19,"section_name":"Discussion","source_file":null,"text":"We have presented an approach for joint ontology learning and semantic parsing. The approach was evaluated by building an ontology representing biographies of people. The first sentences of person Wikipedia pages and the combination of DBpedia and Freebase were used as a dataset. This dataset was suitable for our approach, because the text is equipped with human tagged annotations, which are already linked to the ontology. In other cases a named entity disambiguation would be needed to obtain the annotations. The next trait of the dataset, that is suitable for our approach, is the homogeneous style of writing. Otherwise, if the style was more heterogeneous, the users would have to participate in more iterations to achieve the same level of coverage. The participation of the users may be seen a cost, but on the other hand it allows them to learn about the dataset without reading it all. The users does not learn so much about specific facts as they learn about the second order information, like what types of relations are expressed and their distribution."},{"kind":"paragraph","paper_id":"1601.00901","passage_id":"1601.00901:paragraph:11:0","position":0,"section_index":11,"section_name":"Datasets","source_file":null,"text":"The datasets for experiments were constructed from English Wikipedia and knowledge bases DBpedia BIBREF9 and Freebase BIBREF6 . DBpedia provides structured information about Wikipedia articles that was scraped out of their infoboxes. First sentences of Wikipedia pages describing people were taken as the textual dataset, while DBpedia relations expressing facts about the same people were taken as the dataset for supervised relation learning. Note that each DBpedia instance has a Wikipedia page. A set of person instances was identified by querying DBpedia for instances that have a person class. For the textual dataset, Wikipedia pages representing these entities were parsed by the in-house Wikipedia markup parser to convert the markup into plain text. Furthermore, the links to other Wikipedia pages were retained. Here is an example of a sentence in plain text:"}],"question":"How big is their dataset?","question_id":"9eb5b336b3dcb7ab63f673ba9ab1818573cce6c3"},{"paper_id":"1601.01705","passages":[{"kind":"abstract","paper_id":"1601.01705","passage_id":"1601.01705:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"We describe a question answering model that applies to both images and structured knowledge bases. The model uses natural language strings to automatically assemble neural networks from a collection of composable modules. Parameters for these modules are learned jointly with network-assembly parameters via reinforcement learning, with only (world, question, answer) triples as supervision. Our approach, which we term a dynamic neural model network, achieves state-of-the-art results on benchmark datasets in both visual and structured domains."},{"kind":"paragraph","paper_id":"1601.01705","passage_id":"1601.01705:paragraph:7:0","position":0,"section_index":7,"section_name":"Questions about images","source_file":null,"text":"Our first task is the recently-introduced Visual Question Answering challenge (VQA) BIBREF22 . The VQA dataset consists of more than 200,000 images paired with human-annotated questions and answers, as in fig:vqa:qualitative-results."},{"kind":"caption","paper_id":"1601.01705","passage_id":"1601.01705:caption:5","position":5,"section_index":null,"section_name":"Figures and tables","source_file":"8-Table2-1.png","text":"Table 2: Results on the GeoQA dataset, and the GeoQA dataset with quantification. Our approach outperforms both a purely logical model (LSP-F) and a model with learned perceptual predicates (LSP-W) on the original dataset, and a fixedstructure NMN under both evaluation conditions."},{"kind":"paragraph","paper_id":"1601.01705","passage_id":"1601.01705:paragraph:6:0","position":0,"section_index":6,"section_name":"Experiments","source_file":null,"text":"The framework described in this paper is general, and we are interested in how well it performs on datasets of varying domain, size and linguistic complexity. To that end, we evaluate our model on tasks at opposite extremes of both these criteria: a large visual question answering dataset, and a small collection of more structured geography questions."},{"kind":"paragraph","paper_id":"1601.01705","passage_id":"1601.01705:paragraph:7:1","position":1,"section_index":7,"section_name":"Questions about images","source_file":null,"text":"We use the VQA 1.0 release, employing the development set for model selection and hyperparameter tuning, and reporting final results from the evaluation server on the test-standard set. For the experiments described in this section, the input feature representations $w_i$ are computed by the the fifth convolutional layer of a 16-layer VGGNet after pooling BIBREF12 . Input images are scaled to 448 $\\times $ 448 before computing their representations. We found that performance on this task was best if the candidate layouts were relatively simple: only describe, and and find modules are used, and layouts contain at most two conjuncts."}],"question":"What benchmark datasets they use?","question_id":"5712a0b1e33484ebc6d71c70ae222109c08dede2"},{"paper_id":"1601.02166","passages":[{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:0:1","position":1,"section_index":0,"section_name":"Cross-lingual transfer learning of sequence models","source_file":null,"text":"What can we do for all the languages for which no training data is available? Unsupervised POS induction algorithms have methodological problems (in-sample evaluation, community-wide hyper-parameter tuning, etc.), and performance is prohibitive of downstream applications. Some work on unsupervised POS tagging has assumed other resources such as tag dictionaries BIBREF0 , but such resources are also only available for a limited number of languages. In our experiments, we assume that no training data or tag dictionaries are available. Our only assumption is a bit of text translated into multiple languages, specifically, fragments of the Bible. We will use Bible data for annotation projection, as well as for learning cross-lingual word embeddings (§3)."},{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:0:3","position":3,"section_index":0,"section_name":"Cross-lingual transfer learning of sequence models","source_file":null,"text":"Annotation projection refers to transferring annotation from one or more source languages to the target language (for which no labeled data is otherwise available), typically through word alignments. In our experiments below, we use an unsupervised word alignment algorithm to align $15\\times 12$ language pairs. For 15 languages, we have predicted POS tags for each word in our multi-parallel corpus. For each word in one of our 12 target language training datasets, we thus have up to 15 votes for each word token, possibly weighted by the confidence of the word alignment algorithm. In this paper, we simply use the majority votes. This is the set-up assumed throughout in this paper (see §3 for more details):"},{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:1:1","position":1,"section_index":1,"section_name":"Empirical Gaussian priors","source_file":null,"text":"When we estimate Gaussian priors from source language models, we will learn which features are invariant across languages, and which are not. We thereby introduce an ellipsoid regularizer whose centre is the average source model. In our experiments, we consider both the case where variance is assumed to be constant – which we call L2-regularization with priors (L2-Prior) — and the case where both variances and means are learned – which we call empirical Gaussian priors (EmpGauss). L2-Prior is the L2-CRF objective with $\\sigma ^2_j=C$ with $C$ a regularization parameter, and $\\mu _j=\\hat{\\mu _j}$ the average value of the corresponding parameter in the observed source models. EmpGauss replaces the above objective with $LL(\\lambda )+\\sum _j\\log \\frac{1}{\\sigma \\sqrt{2\\pi }}e^{-\\frac{(\\lambda _j-\\mu _j)^2}{2\\sigma ^2}}$ , which, assuming model parameters are mutually independent, is the same as jointly optimising model probability and likelihood of the data. Note that minimizing the squared weights is equivalent to maximizing the log probability of the weights under a zero-mean Gaussian prior, and in the same way, this is equivalent to minimising the above objective with empirically estimated parameters $\\hat{\\mu _j}$ and $\\sigma {\\mu _j}$ . In other words, empirical Gaussian priors are bounding ellipsoids on the hypothesis space with learned widths and centres. Also, note that in single-source cross-lingual transfer learning, observed variance is zero, and we therefore replace this with a regularization parameter $C$ shared with the baseline. In the single-source set-up, L2-Prior is thus equivalent to EmpGauss. We use L-BFGS to maximize our baseline L2-regularized objectives, as well as our empirical Gaussian prior objectives."},{"kind":"paragraph","paper_id":"1601.02166","passage_id":"1601.02166:paragraph:0:0","position":0,"section_index":0,"section_name":"Cross-lingual transfer learning of sequence models","source_file":null,"text":"The people of the world speak about 6,900 different languages. Open-source off-the-shelf natural language processing (NLP) toolboxes like OpenNLP and CoreNLP cover only 6–7 languages, and we have sufficient labeled training data for inducing models for about 20–30 languages. In other words, supervised sequence learning algorithms are not sufficient to induce POS models for but a small minority of the world's languages."},{"kind":"abstract","paper_id":"1601.02166","passage_id":"1601.02166:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"Sequence model learning algorithms typically maximize log-likelihood minus the norm of the model (or minimize Hamming loss + norm). In cross-lingual part-of-speech (POS) tagging, our target language training data consists of sequences of sentences with word-by-word labels projected from translations in $k$ languages for which we have labeled data, via word alignments. Our training data is therefore very noisy, and if Rademacher complexity is high, learning algorithms are prone to overfit. Norm-based regularization assumes a constant width and zero mean prior. We instead propose to use the $k$ source language models to estimate the parameters of a Gaussian prior for learning new POS taggers. This leads to significantly better performance in multi-source transfer set-ups. We also present a drop-out version that injects (empirical) Gaussian noise during online learning. Finally, we note that using empirical Gaussian priors leads to much lower Rademacher complexity, and is superior to optimally weighted model interpolation."}],"question":"What languages did they experiment with?","question_id":"e67d2266476abd157fc8c396b3dfb70cb343471e"},{"paper_id":"1601.02543","passages":[{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:3:0","position":0,"section_index":3,"section_name":"Conclusion","source_file":null,"text":"In this paper we proposed a methodology to identify words that could lead to confusion at any given node of a speech recognition based system. We used edit distance as the metric to identifying the possible confusion between the active words. We showed that this metric can be used effectively to enhance the performance of a speech solution without actually putting it to people test. There is a significant saving in terms of being able to identify recognition bottlenecks in a menu based speech solution through this analysis because it does not require actual people testing the system. This methodology was adopted to restructuring the set of active words at each node for better speech recognition in an actual menu based speech recognition system that caters to masses."},{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:1:2","position":2,"section_index":1,"section_name":"Evaluation without Testing","source_file":null,"text":"We hypothesize that we can identify the performance of a menu based speech system by identifying the possible confusion among all the words that are active at a given node. If active words at a given node are phonetically similar it becomes difficult for the speech recognition system to distinguish them which in turn leads to recognition errors. We used Levenshtein distance BIBREF4 , BIBREF5 a well known measure to analyze and identify the confusion among the active words at a given node. This analysis gives a list of all set of words that have a high degree of confusability among them; this understanding can be then used to (a) restructure the set of active words at that node and/or (b) train the words that can be confused by using a larger corpus of speech data. This allows the speech recognition engine to be equipped to be able to distinguish the confusing words better. Actual use of this analysis was carried out for a speech solution developed for Indian Railway Inquiry System to identify bottlenecks in the system before its actual launch."},{"kind":"abstract","paper_id":"1601.02543","passage_id":"1601.02543:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"Speech based solutions have taken center stage with growth in the services industry where there is a need to cater to a very large number of people from all strata of the society. While natural language speech interfaces are the talk in the research community, yet in practice, menu based speech solutions thrive. Typically in a menu based speech solution the user is required to respond by speaking from a closed set of words when prompted by the system. A sequence of human speech response to the IVR prompts results in the completion of a transaction. A transaction is deemed successful if the speech solution can correctly recognize all the spoken utterances of the user whenever prompted by the system. The usual mechanism to evaluate the performance of a speech solution is to do an extensive test of the system by putting it to actual people use and then evaluating the performance by analyzing the logs for successful transactions. This kind of evaluation could lead to dissatisfied test users especially if the performance of the system were to result in a poor transaction completion rate. To negate this the Wizard of Oz approach is adopted during evaluation of a speech system. Overall this kind of evaluations is an expensive proposition both in terms of time and cost. In this paper, we propose a method to evaluate the performance of a speech solution without actually putting it to people use. We first describe the methodology and then show experimentally that this can be used to identify the performance bottlenecks of the speech solution even before the system is actually used thus saving evaluation time and expenses."},{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:2:3","position":3,"section_index":2,"section_name":"Case Study","source_file":null,"text":"Table TABREF6 shows the list of active word at the node 1 when the speech application was initially designed and Table TABREF7 shows the edit distance between all the active words at the node service given in Fig. FIGREF4 . The distance between words Sahi and Galat was found to be INLINEFORM0 which was set at the threshold, namely INLINEFORM1 . This threshold value was used to identify confusing active words. Clearly, as seen in the Table the distance between word pairs fare, pnr and pnr, prasthan is INLINEFORM2 and INLINEFORM3 respectively, which is very close to the threshold value of INLINEFORM4 . This can cause a high possibility that /fare/ may get recognized as pnr and vice-versa."},{"kind":"paragraph","paper_id":"1601.02543","passage_id":"1601.02543:paragraph:0:0","position":0,"section_index":0,"section_name":"Introduction","source_file":null,"text":"There are several commercial menu based ASR systems available around the world for a significant number of languages and interestingly speech solution based on these ASR are being used with good success in the Western part of the globe BIBREF0 , BIBREF1 , BIBREF2 , BIBREF3 . Typically, a menu based ASR system restricts user to speak from a pre-defined closed set of words for enabling a transaction. Before commercial deployment of a speech solution it is imperative to have a quantitative measure of the performance of the speech solution which is primarily based on the speech recognition accuracy of the speech engine used. Generally, the recognition performance of any speech recognition based solution is quantitatively evaluated by putting it to actual use by the people who are the intended users and then analyzing the logs to identify successful and unsuccessful transactions. This evaluation is then used to identifying any further improvement in the speech recognition based solution to better the overall transaction completion rates. This process of evaluation is both time consuming and expensive. For evaluation one needs to identify a set of users and also identify the set of actual usage situations and perform the test. It is also important that the set of users are able to use the system with ease meaning that even in the test conditions the performance of the system, should be good, while this can not usually be guaranteed this aspect of keeping the user experience good makes it necessary to employ a wizard of Oz (WoZ) approach. Typically this requires a human agent in the loop during actual speech transaction where the human agent corrects any mis-recognition by actually listening to the conversation between the human user and the machine without the user knowing that there is a human agent in the loop. The use of WoZ is another expense in the testing a speech solution. All this makes testing a speech solution an expensive and time consuming procedure."}],"question":"what bottlenecks were identified?","question_id":"8d793bda51a53a4605c1c33e7fd20ba35581a518"},{"paper_id":"1601.04012","passages":[{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:20:27","position":27,"section_index":20,"section_name":"Determining Event Coreference","source_file":null,"text":"For the experiments, Cybulska and Vossen use the ECB+ dataset BIBREF191 . The ECB+ corpus contains a new corpus component, consisting of 502 texts, describing different instances of event types. They provide results in terms of several metrics: recall, precision and F-score, MUC BIBREF192 , B3 BIBREF184 , mention-based CEAF BIBREF185 , BLANC BIBREF193 , and CoNLL F1 BIBREF194 , and find that the introduction of the granularity concept into similarity computation improves results for every metric."},{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:19:15","position":15,"section_index":19,"section_name":"Extracting Events","source_file":null,"text":"The TempEval-3 dataset was mostly automatically generated, using a temporal merging system. The half-million token text corpus from English Gigaword2 was automatically annotated using TIPSem, TIPSem-B BIBREF140 and TRIOS BIBREF152 . These systems were re-trained on the TimeBank and AQUAINT corpus, using the TimeML temporal relation set. The outputs of these three state-of-the-art system were merged using a merging algorithm BIBREF151 . The dataset used comprised about 500K tokens of “silver\" standard data and about 100K tokens of “gold\" standard data for training, compared to the corpus of roughly 50K tokens corpus used in TempEval 1 and 2."},{"kind":"caption","paper_id":"1601.04012","passage_id":"1601.04012:caption:11","position":11,"section_index":null,"section_name":"Figures and tables","source_file":"44-TableXI-1.png","text":"Table XI. Evaluation results (recall / precision / f-score for Task 1 in Whole data set (W), Abstracts only (A) and Full papers only (F)"},{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:16:0","position":0,"section_index":16,"section_name":"Extracting Events from Textual Documents","source_file":null,"text":"Different models of events have been used in computational linguistics work geared toward information extraction."},{"kind":"paragraph","paper_id":"1601.04012","passage_id":"1601.04012:paragraph:19:1","position":1,"section_index":19,"section_name":"Extracting Events","source_file":null,"text":"We describe a few of the approaches that have been used for extracting TimeML type events. Quite a few papers that attempt to do so have been published BIBREF121 , BIBREF138 , BIBREF139 , BIBREF140 , BIBREF141 , and we pick just a few representative papers."}],"question":"Which datasets are used in this work?","question_id":"eac042734f76e787cb98ba3d0c13a916a49bdfb3"},{"paper_id":"1601.06068","passages":[{"kind":"abstract","paper_id":"1601.06068","passage_id":"1601.06068:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"One of the limitations of semantic parsing approaches to open-domain question answering is the lexicosyntactic gap between natural language questions and knowledge base entries -- there are many ways to ask a question, all with the same answer. In this paper we propose to bridge this gap by generating paraphrases of the input question with the goal that at least one of them will be correctly mapped to a knowledge-base query. We introduce a novel grammar model for paraphrase generation that does not require any sentence-aligned paraphrase corpus. Our key idea is to leverage the flexibility and scalability of latent-variable probabilistic context-free grammars to sample paraphrases. We do an extrinsic evaluation of our paraphrases by plugging them into a semantic parser for Freebase. Our evaluation experiments on the WebQuestions benchmark dataset show that the performance of the semantic parser significantly improves over strong baselines."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:11:1","position":1,"section_index":11,"section_name":"Baselines","source_file":null,"text":"We compare our paraphrasing models with monolingual machine translation based model for paraphrase generation BIBREF24 , BIBREF36 . In particular, we use Moses BIBREF37 to train a monolingual phrase-based MT system on the Paralex corpus. Finally, we use Moses decoder to generate 10-best distinct paraphrases for the test questions."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The main contributions of this paper are two fold. First, we present an algorithm (§ \"Paraphrase Generation Using Grammars\" ) to generate paraphrases using latent-variable PCFGs. We use the spectral method of narayan-15 to estimate L-PCFGs on a large scale question treebank. Our grammar model leads to a robust and an efficient system for paraphrase generation in open-domain question answering. While CFGs have been explored for paraphrasing using bilingual parallel corpus BIBREF14 , ours is the first implementation of CFG that uses only monolingual data. Second, we show that generated paraphrases can be used to improve semantic parsing of questions into Freebase logical forms (§ \"Semantic Parsing using Paraphrasing\" ). We build on a strong baseline of reddylargescale2014 and show that our grammar model competes with MT baseline even without using any parallel paraphrase resources."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"We address the above problems by using paraphrases of the original question. Paraphrasing has shown to be promising for semantic parsing BIBREF9 , BIBREF10 , BIBREF11 . We propose a novel framework for paraphrasing using latent-variable PCFGs (L-PCFGs). Earlier approaches to paraphrasing used phrase-based machine translation for text-based QA BIBREF12 , BIBREF13 , or hand annotated grammars for KB-based QA BIBREF10 . We find that phrase-based statistical machine translation (MT) approaches mainly produce lexical paraphrases without much syntactic diversity, whereas our grammar-based approach is capable of producing both lexically and syntactically diverse paraphrases. Unlike MT based approaches, our system does not require aligned parallel paraphrase corpora. In addition we do not require hand annotated grammars for paraphrase generation but instead learn the grammar directly from a large scale question corpus."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:1:0","position":0,"section_index":1,"section_name":"Paraphrase Generation Using Grammars","source_file":null,"text":"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG. L-PCFGs are PCFGs where the nonterminals are refined with latent states that provide some contextual information about each node in a given derivation. L-PCFGs have been used in various ways, most commonly for syntactic parsing BIBREF15 , BIBREF16 , BIBREF17 , BIBREF18 , BIBREF19 , BIBREF20 ."}],"question":"Do they evaluate the quality of the paraphrasing model?","question_id":"117aa7811ed60e84d40cd8f9cb3ca78781935a98"},{"paper_id":"1601.06068","passages":[{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:9:0","position":0,"section_index":9,"section_name":"Experimental Setup","source_file":null,"text":"Below, we give details on the evaluation dataset and baselines used for comparison. We also describe the model features and provide implementation details."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:13:0","position":0,"section_index":13,"section_name":"Results and Discussion","source_file":null,"text":"In this section, we present results from five different systems for our question-answering experiments: original, mt, naive, ppdb and bilayered. First two are baseline systems. Other three systems use paraphrases generated from an L-PCFG grammar. naive uses a word lattice with a single start-to-end path representing the input question itself, ppdb uses a word lattice constructed using the PPDB rules, and bilayered uses bi-layered L-PCFG to build word lattices. Note that naive does not require any parallel resource to train, ppdb requires an external paraphrase database, and bilayered, like mt, needs a parallel corpus with paraphrase pairs. We tune our classifier features and GraphParser features on the development data. We use the best setting from tuning for evaluation on the test data."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:11:0","position":0,"section_index":11,"section_name":"Baselines","source_file":null,"text":"We use GraphParser without paraphrases as our baseline. This gives an idea about the impact of using paraphrases."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:8:2","position":2,"section_index":8,"section_name":"Learning","source_file":null,"text":"where $\\Phi (p, u, g, q, \\mathcal {K}) \\in \\mathbb {R}^n$ denotes the features for the tuple of paraphrase, ungrounded and grounded graphs. The feature function has access to the paraphrase, ungrounded and grounded graphs, the original question, as well as to the content of the knowledge base and the denotation $|g|_\\mathcal {K}$ (the denotation of a grounded graph is defined as the set of entities or attributes reachable at its target node). See sec:details for the features employed. The model parameters are estimated with the averaged structured perceptron BIBREF35 . Given a training question-answer pair $(q,\\mathcal {A})$ , the update is: $\n\\theta ^{t+1} \\leftarrow \\theta ^{t} + \\Phi (p^+, u^+, g^+, q,\n\\mathcal {K}) - \\Phi (\\hat{p}, \\hat{u}, \\hat{g}, q, \\mathcal {K})\\,,\n$ "},{"kind":"caption","paper_id":"1601.06068","passage_id":"1601.06068:caption:2","position":2,"section_index":null,"section_name":"Figures and tables","source_file":"7-Figure3-1.png","text":"Figure 3: Ungrounded graphs for an input question and its paraphrases along with its correct grounded graph. The green squares indicate NL or Freebase entities, the yellow rectangles indicate unary NL predicates or Freebase types, the circles indicate NL or Freebase events, the edge labels indicate binary NL predicates or Freebase relations, and the red diamonds attach to the entity of interest (the answer to the question)."}],"question":"What are the baselines?","question_id":"423bb905e404e88a168e7e807950e24ca166306c"},{"paper_id":"1601.06068","passages":[{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:1:0","position":0,"section_index":1,"section_name":"Paraphrase Generation Using Grammars","source_file":null,"text":"Our paraphrase generation algorithm is based on a model in the form of an L-PCFG. L-PCFGs are PCFGs where the nonterminals are refined with latent states that provide some contextual information about each node in a given derivation. L-PCFGs have been used in various ways, most commonly for syntactic parsing BIBREF15 , BIBREF16 , BIBREF17 , BIBREF18 , BIBREF19 , BIBREF20 ."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"We address the above problems by using paraphrases of the original question. Paraphrasing has shown to be promising for semantic parsing BIBREF9 , BIBREF10 , BIBREF11 . We propose a novel framework for paraphrasing using latent-variable PCFGs (L-PCFGs). Earlier approaches to paraphrasing used phrase-based machine translation for text-based QA BIBREF12 , BIBREF13 , or hand annotated grammars for KB-based QA BIBREF10 . We find that phrase-based statistical machine translation (MT) approaches mainly produce lexical paraphrases without much syntactic diversity, whereas our grammar-based approach is capable of producing both lexically and syntactically diverse paraphrases. Unlike MT based approaches, our system does not require aligned parallel paraphrase corpora. In addition we do not require hand annotated grammars for paraphrase generation but instead learn the grammar directly from a large scale question corpus."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The main contributions of this paper are two fold. First, we present an algorithm (§ \"Paraphrase Generation Using Grammars\" ) to generate paraphrases using latent-variable PCFGs. We use the spectral method of narayan-15 to estimate L-PCFGs on a large scale question treebank. Our grammar model leads to a robust and an efficient system for paraphrase generation in open-domain question answering. While CFGs have been explored for paraphrasing using bilingual parallel corpus BIBREF14 , ours is the first implementation of CFG that uses only monolingual data. Second, we show that generated paraphrases can be used to improve semantic parsing of questions into Freebase logical forms (§ \"Semantic Parsing using Paraphrasing\" ). We build on a strong baseline of reddylargescale2014 and show that our grammar model competes with MT baseline even without using any parallel paraphrase resources."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:3:1","position":1,"section_index":3,"section_name":"Bi-Layered L-PCFGs","source_file":null,"text":"In their traditional use, the latent states in L-PCFGs aim to capture syntactic information. We introduce here the use of an L-PCFG with two layers of latent states: one layer is intended to capture the usual syntactic information, and the other aims to capture semantic and topical information by using a large set of states with specific feature functions."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:1:1","position":1,"section_index":1,"section_name":"Paraphrase Generation Using Grammars","source_file":null,"text":"In our estimation of L-PCFGs, we use the spectral method of narayan-15, instead of using EM, as has been used in the past by matsuzaki-2005 and petrov-2006. The spectral method we use enables the choice of a set of feature functions that indicate the latent states, which proves to be useful in our case. It also leads to sparse grammar estimates and compact models."}],"question":"What latent variables are modeled in the PCFG?","question_id":"ad362365656b0b218ba324ae60701eb25fe664c1"},{"paper_id":"1601.06068","passages":[{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:2:4","position":4,"section_index":2,"section_name":"Paraphrases Generation Algorithm","source_file":null,"text":"We train the L-PCFG $G_{\\mathrm {syn}}$ on the Paralex corpus BIBREF9 . Paralex is a large monolingual parallel corpus, containing 18 million pairs of question paraphrases with 2.4M distinct questions in the corpus. It is suitable for our task of generating paraphrases since its large scale makes our model robust for open-domain questions. We construct a treebank by parsing 2.4M distinct questions from Paralex using the BLLIP parser BIBREF25 ."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:4:0","position":0,"section_index":4,"section_name":"Paraphrase Classification","source_file":null,"text":"Our sampling algorithm overgenerates paraphrases which are incorrect. To improve its precision, we build a binary classifier to filter the generated paraphrases. We randomly select 100 distinct questions from the Paralex corpus and generate paraphrases using our generation algorithm with various lattice settings. We randomly select 1,000 pairs of input-sampled sentences and manually annotate them as “correct” or “incorrect” paraphrases. We train our classifier on this manually created training data. We follow madnani2012, who used MT metrics for paraphrase identification, and experiment with 8 MT metrics as features for our binary classifier. In addition, we experiment with a binary feature which checks if the sampled paraphrase preserves named entities from the input sentence. We use WEKA BIBREF32 to replicate the classifier of madnani2012 with our new feature. We tune the feature set for our classifier on the development data."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:11:1","position":1,"section_index":11,"section_name":"Baselines","source_file":null,"text":"We compare our paraphrasing models with monolingual machine translation based model for paraphrase generation BIBREF24 , BIBREF36 . In particular, we use Moses BIBREF37 to train a monolingual phrase-based MT system on the Paralex corpus. Finally, we use Moses decoder to generate 10-best distinct paraphrases for the test questions."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:12:0","position":0,"section_index":12,"section_name":"Implementation Details","source_file":null,"text":"For WebQuestions, we use 8 handcrafted part-of-speech patterns (e.g., the pattern (DT)?(JJ.? $\\mid $ NN.?){0,2}NN.? matches the noun phrase the big lebowski) to identify candidate named entity mention spans. We use the Stanford CoreNLP caseless tagger for part-of-speech tagging BIBREF38 . For each candidate mention span, we retrieve the top 10 entities according to the Freebase API. We then create a lattice in which the nodes correspond to mention-entity pairs, scored by their Freebase API scores, and the edges encode the fact that no joint assignment of entities to mentions can contain overlapping spans. We take the top 10 paths through the lattice as possible entity disambiguations. For each possibility, we generate $n$ -best paraphrases that contains the entity mention spans. In the end, this process creates a total of $10n$ paraphrases. We generate ungrounded graphs for these paraphrases and treat the final entity disambiguation and paraphrase selection as part of the semantic parsing problem."},{"kind":"paragraph","paper_id":"1601.06068","passage_id":"1601.06068:paragraph:3:3","position":3,"section_index":3,"section_name":"Bi-Layered L-PCFGs","source_file":null,"text":"Once the two feature functions (syntactic in $G_{\\mathrm {syn}}$ and semantic in $G_{\\mathrm {par}}$ ) are created, each nonterminal in the training treebank is assigned two latent states (cluster identifiers). Figure 2 shows an example annotation of trees for three paraphrase questions from the Paralex corpus. We compute the parameters of the bi-layered L-PCFG $G_{\\mathrm {layered}}$ with a simple frequency count maximum likelihood estimate over this annotated treebank. As such, $G_{\\mathrm {layered}}$ is a combination of $G_{\\mathrm {syn}}$ and $G_{\\mathrm {par}}$ , resulting in 24,000 latent states (24 syntactic x 1000 semantic)."}],"question":"How many paraphrases are generated per question?","question_id":"c359ab8ebef6f60c5a38f5244e8c18d85e92761d"},{"paper_id":"1601.06081","passages":[{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:5:5","position":5,"section_index":5,"section_name":"Classification Experiments","source_file":null,"text":"Three Class Classification. Finally we also tested feature predictivity on a three class classification task (UL vs GN vs FT). Since in this case we did not performed downsampling, we use the ZeroR classifier as a baseline. For the sake of interpretability of results, along with precision, recall and F1 we also provide the Matthews Correlation Coefficient (MCC) which is useful for unbalanced datasets, as presented in BIBREF39 for the multiclass case. MCC returns a value between -1 and +1, where +1 represents a perfect prediction, 0 no better than random and -1 indicates total disagreement. Results are consistent with previous experiments. In Table 8 , all feature configurations show an improvement over the baseline ( $p<0.001$ ) but the temporal features (TIMEX) have far lower discriminative power as compared to others groups of features (MCC=0.339)."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:7:2","position":2,"section_index":7,"section_name":"Ecological Experiments in the News Domain","source_file":null,"text":"Also in this case our features are able to discriminate between reliable and non-reliable stories (namely those coming from NYT and WWN). In particular, all the features together performed very well (F1 = 0.864), improving over all other subgroups of features (p $<$ 0.001), and NE, TIMEX, READ performed equally well improving over AFF that was the least effective (p $<$ 0.001). Still, AFF improves over the random baseline (p $<$ 0.001)."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:4:5","position":5,"section_index":4,"section_name":"Descriptive Statistics","source_file":null,"text":"Turning to the analysis of variance, we see that FT is – on average – a more cohesive genre, with lower standard deviations, while GN and UL have higher and closer standard deviations. In fact, all differences in the standard deviations reported in the tables are statistically significant (f-test, $p<0.001$ ) apart between UL and GN in Fog, Kincaid and in ALL sentiment (signalled with * in the respective Tables)."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:5:3","position":3,"section_index":5,"section_name":"Classification Experiments","source_file":null,"text":"In Table 7 we report the performances of the various classification tasks in term of precision, recall and F1 over the single classes. Interestingly, for almost all feature combinations the classifiers had slightly higher precision than recall for UL, while the contrary holds for FT and GN."},{"kind":"paragraph","paper_id":"1601.06081","passage_id":"1601.06081:paragraph:5:4","position":4,"section_index":5,"section_name":"Classification Experiments","source_file":null,"text":"News vs Fairy Tales. Finally, we wanted to check whether UL being “half-way\" between GN and FT can be observed in our classification experiments as well. If this hypothesis is correct, by classifying GN vs. FT we would expect to find higher performance than previous experiments. Results show that this is in fact the case. All features together performed better than all previous experiment and incredibly well (F1= 0.978), again improving over all the other subgroups of features alone ( $p<0.001$ ) apart from READ that performs equally well (F1=0.973, no statistically significant difference). Notably, all other groups of features improves over the UL vs. GN and the UL vs. FT tasks. Finally, all groups of features had a statistically significant improvement over the random baseline ( $p<0.001$ )."}],"question":"How accurate is their predictive model?","question_id":"6f8881e60fdaca7c1b35a5acc7125994bb1206a3"},{"paper_id":"1601.06738","passages":[{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:0:3","position":3,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In the following we provide an account of linguistic hedges that is both functional, and semantically grounded. In its most basic formulation, the operation requires no additional parameters, although we also show that the formulae can be generalised if necessary. Our account of linguistic hedges uses the label semantics framework to model concepts BIBREF12 . This is a random set approach which quantifies an agent's subjective uncertainty about the extent of application of a concept. We refer to this uncertainty as semantic uncertainty BIBREF13 to emphasise that it concerns the definition of concepts and categories, in contrast to stochastic uncertainty which concerns the state of the world. In BIBREF13 the label semantics approach is combined with conceptual spaces BIBREF14 and prototype theory BIBREF15 , to give a formalisation of concepts as based on a prototype and a threshold, located in a conceptual space. This approach is discussed in detail in section \"Conceptual Spaces\" . An outline of the paper is then as follows: section \"Approaches to linguistic hedges\" discusses different approaches to linguistic hedges from the literature, and compares these with our model. Subsequently, in section \"Label semantics approach to linguistic hedges\" , we give formulations of the hedges `very' and `quite'. These are formed by considering the dependence of the threshold of a hedged concept on the threshold of the original concept. We give a basic model and two generalisations, show that the models can be composed and investigate the behaviour in the limit of composition. Section \"Discussion\" compares our results to those in the literature and proposes further lines of research."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:4:0","position":0,"section_index":4,"section_name":"Approaches to linguistic hedges","source_file":null,"text":"Linguistic hedges have been given varying treatments in the literature. In this section we summarise these different approaches and state the approach that we wish to take, discussing properties that hedge modifiers may need. We give two specific approaches from the literature with which we will compare our results."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:6:10","position":10,"section_index":6,"section_name":"Hedges with unmodified prototypes","source_file":null,"text":"The effect of these hedges are illustrated in the following example."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:6:12","position":12,"section_index":6,"section_name":"Hedges with unmodified prototypes","source_file":null,"text":"These hedges can also be applied across multiple dimensions, demonstrated in the example below."},{"kind":"paragraph","paper_id":"1601.06738","passage_id":"1601.06738:paragraph:12:0","position":0,"section_index":12,"section_name":"Discussion","source_file":null,"text":"We have presented formulae for linguistic hedges which are both functional and semantically grounded. The modifiers presented arise naturally from the label semantics framework, in which concepts are represented by a prototype and threshold. Our hedges have an intuitive meaning: if I think that the threshold for a concept `small' is of a certain width, then the threshold for the concept `very small' will be narrower. On the other hand, the threshold for the concept `quite small' will be broader. The hedges proposed are examples of `type 1' hedges, i.e. they operate equally across all dimensions of the fuzzy set associated with a concept. The first result presented is somewhat similar to a powering modifier since the core and support of the set remain the same. In BIBREF9 , BIBREF7 , it is argued that this property is undesirable for hedges used in fuzzy expert systems, since if a query is returning too large a set of answers, this type of contraction hedge does not reduce this overabundance. However, although the hedges we propose do not at their simplest address the overabundance issue, we argue that they address another problem associated with powering hedges, in that they have a clear semantic grounding that the powering modifiers lack."}],"question":"Does this paper address the variation among English dialects regarding these hedges?","question_id":"320d72a9cd19b52c29dda9ddecd520c9938a717f"},{"paper_id":"1602.00812","passages":[{"kind":"abstract","paper_id":"1602.00812","passage_id":"1602.00812:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"As the name suggests, type-logical grammars are a grammar formalism based on logic and type theory. From the prespective of grammar design, type-logical grammars develop the syntactic and semantic aspects of linguistic phenomena hand-in-hand, letting the desired semantics of an expression inform the syntactic type and vice versa. Prototypical examples of the successful application of type-logical grammars to the syntax-semantics interface include coordination, quantifier scope and extraction.This chapter describes the Grail theorem prover, a series of tools for designing and testing grammars in various modern type-logical grammars which functions as a tool . All tools described in this chapter are freely available."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:26","position":26,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As to the proof search strategy used by Grail, it is an instance of the “dancing links” algorithm BIBREF35 : when connecting atomic formulas, we always link a formula which has the least possibilities and we rewrite the abstract proof structures only once a fully linked proof structure has been produced. Though the parser is not extremely fast, evaluation both on randomly generated statements and on multimodal statements extracted from corpora show that the resulting algorithm performs more than well enough BIBREF36 ."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:24","position":24,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As a compromise between efficiency and flexibility, Grail allows the grammar writer to specify a first-order approximation of her structural rules. Unlike the test for validity in multiplicative linear logic which is valid for any set of structural rules, specifying such a first-order approximation is valid only when there is a guarantee that all derivable sequents in the multimodal grammar are a subset of their approximations derivable in first-order linear logic. Errors made here can be rather subtle and hard to detect. It is recommended to use such methods to improve parsing speed only when a grammar has been sufficiently tested and where it is possible to verify whether no valid readings are excluded, or, ideally, to prove that the subset relation holds between the multimodal logic and its first-order approximation."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:0:0","position":0,"section_index":0,"section_name":"Introduction","source_file":null,"text":"This chapter describes a series of tools for developing and testing type-logical grammars. The Grail family of theorem provers have been designed to work with a variety of modern type-logical frameworks, including multimodal type-logical grammars BIBREF0 , NL $_{cl}$ BIBREF1 , the Displacement calculus BIBREF2 and hybrid type-logical grammars BIBREF3 ."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:12:0","position":0,"section_index":12,"section_name":"Tools","source_file":null,"text":"Table 9 lists the different theorem provers which are available. Grail 0 BIBREF42 and Grail 3 BIBREF43 use the multimodal proof net calculus of Section \"Multimodal proof nets\" , whereas LinearOne BIBREF44 uses the first-order proof nets of Section \"First-order proof nets\" . GrailLight BIBREF45 is a special-purpose chart parser, intended for use with an automatically extracted French grammar for wide-coverage parsing and semantics BIBREF34 , BIBREF46 . All provers are provided under the GNU Lesser General Public License �� this means, notably, there is no warranty, though I am committed to making all software as useful as possible; so contact me for any comments, feature requests or bug reports. All theorem provers can be downloaded from the author's GitHub site."}],"question":"What formalism does Grail use?","question_id":"2b52d481b30185d2c6e7b403d37277f70337d6ca"},{"paper_id":"1602.00812","passages":[{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:24","position":24,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As a compromise between efficiency and flexibility, Grail allows the grammar writer to specify a first-order approximation of her structural rules. Unlike the test for validity in multiplicative linear logic which is valid for any set of structural rules, specifying such a first-order approximation is valid only when there is a guarantee that all derivable sequents in the multimodal grammar are a subset of their approximations derivable in first-order linear logic. Errors made here can be rather subtle and hard to detect. It is recommended to use such methods to improve parsing speed only when a grammar has been sufficiently tested and where it is possible to verify whether no valid readings are excluded, or, ideally, to prove that the subset relation holds between the multimodal logic and its first-order approximation."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:0:0","position":0,"section_index":0,"section_name":"Introduction","source_file":null,"text":"This chapter describes a series of tools for developing and testing type-logical grammars. The Grail family of theorem provers have been designed to work with a variety of modern type-logical frameworks, including multimodal type-logical grammars BIBREF0 , NL $_{cl}$ BIBREF1 , the Displacement calculus BIBREF2 and hybrid type-logical grammars BIBREF3 ."},{"kind":"caption","paper_id":"1602.00812","passage_id":"1602.00812:caption:14","position":14,"section_index":null,"section_name":"Figures and tables","source_file":"24-Figure9.11-1.png","text":"Fig. 9.11 Interactive Grail output"},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:12:0","position":0,"section_index":12,"section_name":"Tools","source_file":null,"text":"Table 9 lists the different theorem provers which are available. Grail 0 BIBREF42 and Grail 3 BIBREF43 use the multimodal proof net calculus of Section \"Multimodal proof nets\" , whereas LinearOne BIBREF44 uses the first-order proof nets of Section \"First-order proof nets\" . GrailLight BIBREF45 is a special-purpose chart parser, intended for use with an automatically extracted French grammar for wide-coverage parsing and semantics BIBREF34 , BIBREF46 . All provers are provided under the GNU Lesser General Public License — this means, notably, there is no warranty, though I am committed to making all software as useful as possible; so contact me for any comments, feature requests or bug reports. All theorem provers can be downloaded from the author's GitHub site."},{"kind":"paragraph","paper_id":"1602.00812","passage_id":"1602.00812:paragraph:10:26","position":26,"section_index":10,"section_name":"Multimodal proof nets","source_file":null,"text":"As to the proof search strategy used by Grail, it is an instance of the “dancing links” algorithm BIBREF35 : when connecting atomic formulas, we always link a formula which has the least possibilities and we rewrite the abstract proof structures only once a fully linked proof structure has been produced. Though the parser is not extremely fast, evaluation both on randomly generated statements and on multimodal statements extracted from corpora show that the resulting algorithm performs more than well enough BIBREF36 ."}],"question":"Does Grail accept Prolog inputs?","question_id":"48fa2ccc236e217fcf0e5aab0e7a146faf439b02"},{"paper_id":"1602.01208","passages":[{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:2:1","position":1,"section_index":2,"section_name":"Simultaneous learning of places and vocabulary","source_file":null,"text":"Taguchi et al. proposed a method for the unsupervised learning of phoneme sequences and relationships between words and objects from various user utterances without any prior linguistic knowledge other than an acoustic model of phonemes BIBREF1 , BIBREF14 . Further, they proposed a method for the simultaneous categorization of self-position coordinates and lexical learning BIBREF15 . These experimental results showed that it was possible to learn the name of a place from utterances in some cases and to output words corresponding to places in a location that was not used for learning."},{"kind":"abstract","paper_id":"1602.01208","passage_id":"1602.01208:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"In this paper, we propose a novel unsupervised learning method for the lexical acquisition of words related to places visited by robots, from human continuous speech signals. We address the problem of learning novel words by a robot that has no prior knowledge of these words except for a primitive acoustic model. Further, we propose a method that allows a robot to effectively use the learned words and their meanings for self-localization tasks. The proposed method is nonparametric Bayesian spatial concept acquisition method (SpCoA) that integrates the generative model for self-localization and the unsupervised word segmentation in uttered sentences via latent variables related to the spatial concept. We implemented the proposed method SpCoA on SIGVerse, which is a simulation environment, and TurtleBot2, which is a mobile robot in a real environment. Further, we conducted experiments for evaluating the performance of SpCoA. The experimental results showed that SpCoA enabled the robot to acquire the names of places from speech sentences. They also revealed that the robot could effectively utilize the acquired spatial concepts and reduce the uncertainty in self-localization."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:1","position":1,"section_index":0,"section_name":"Introduction","source_file":null,"text":"Several studies on language acquisition by robots have assumed that robots have no prior lexical knowledge. These studies differ from speech recognition studies based on a large vocabulary and natural language processing studies based on lexical, syntactic, and semantic knowledge BIBREF0 , BIBREF1 . Studies on language acquisition by robots also constitute a constructive approach to the human developmental process and the emergence of symbols."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The objectives of this study were to build a robot that learns words related to places and efficiently utilizes this learned vocabulary in self-localization. Lexical acquisition related to places is expected to enable a robot to improve its spatial cognition. A schematic representation depicting the target task of this study is shown in Fig. FIGREF3 . This study assumes that a robot does not have any vocabularies in advance but can recognize syllables or phonemes. The robot then performs self-localization while moving around in the environment, as shown in Fig. FIGREF3 (a). An utterer speaks a sentence including the name of the place to the robot, as shown in Fig. FIGREF3 (b). For the purposes of this study, we need to consider the problems of self-localization and lexical acquisition simultaneously."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:1:1","position":1,"section_index":1,"section_name":"Lexical acquisition","source_file":null,"text":"Roy et al. proposed a computational model that enables a robot to learn the names of objects from an object image and spontaneous infant-directed speech BIBREF0 . Their results showed that the model performed speech segmentation, word discovery, and visual categorization. Iwahashi et al. reported that a robot properly understands the situation and acquires the relationship of object behaviors and sentences BIBREF2 , BIBREF3 , BIBREF4 . Qu & Chai focused on the conjunction between speech and eye gaze and the use of domain knowledge in lexical acquisition BIBREF6 , BIBREF7 . They proposed an unsupervised learning method that automatically acquires novel words for an interactive system. Qu & Chai's method based on the IBM translation model BIBREF11 estimates the word-entity association probability."}],"question":"Does their model start with any prior knowledge of words?","question_id":"1bdf7e9f3f804930b2933ebd9207a3e000b27742"},{"paper_id":"1602.01208","passages":[{"kind":"abstract","paper_id":"1602.01208","passage_id":"1602.01208:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"In this paper, we propose a novel unsupervised learning method for the lexical acquisition of words related to places visited by robots, from human continuous speech signals. We address the problem of learning novel words by a robot that has no prior knowledge of these words except for a primitive acoustic model. Further, we propose a method that allows a robot to effectively use the learned words and their meanings for self-localization tasks. The proposed method is nonparametric Bayesian spatial concept acquisition method (SpCoA) that integrates the generative model for self-localization and the unsupervised word segmentation in uttered sentences via latent variables related to the spatial concept. We implemented the proposed method SpCoA on SIGVerse, which is a simulation environment, and TurtleBot2, which is a mobile robot in a real environment. Further, we conducted experiments for evaluating the performance of SpCoA. The experimental results showed that SpCoA enabled the robot to acquire the names of places from speech sentences. They also revealed that the robot could effectively utilize the acquired spatial concepts and reduce the uncertainty in self-localization."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:1:1","position":1,"section_index":1,"section_name":"Lexical acquisition","source_file":null,"text":"Roy et al. proposed a computational model that enables a robot to learn the names of objects from an object image and spontaneous infant-directed speech BIBREF0 . Their results showed that the model performed speech segmentation, word discovery, and visual categorization. Iwahashi et al. reported that a robot properly understands the situation and acquires the relationship of object behaviors and sentences BIBREF2 , BIBREF3 , BIBREF4 . Qu & Chai focused on the conjunction between speech and eye gaze and the use of domain knowledge in lexical acquisition BIBREF6 , BIBREF7 . They proposed an unsupervised learning method that automatically acquires novel words for an interactive system. Qu & Chai's method based on the IBM translation model BIBREF11 estimates the word-entity association probability."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:4:1","position":1,"section_index":4,"section_name":"Generative model","source_file":null,"text":"The model that was developed for spatial concept acquisition is a probabilistic generative model that integrates a self-localization with the simultaneous clustering of places and words. Fig. FIGREF13 shows the graphical model for spatial concept acquisition. Table TABREF14 shows each variable of the graphical model. The number of words in a sentence at time INLINEFORM0 is denoted as INLINEFORM1 . The generative model of the proposed method is defined as equation ( EQREF11 -). DISPLAYFORM0 "},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:5","position":5,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In this paper, we propose nonparametric Bayesian spatial concept acquisition method (SpCoA) on basis of unsupervised word segmentation and a nonparametric Bayesian generative model that integrates self-localization and a clustering in both words and places. The main contributions of this paper are as follows:"},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:11:1","position":1,"section_index":11,"section_name":"Estimation accuracy of spatial concepts","source_file":null,"text":"Further, we compared the proposed method with a method of word clustering without location information for the investigation of the effect of lexical acquisition using location information. In particular, a method of word clustering without location information used the Dirichlet process mixture (DPM) of the unigram model of an SBP representation. The parameters corresponding to those of the proposed method were the same as the parameters of the proposed method and were estimated using Gibbs sampling."}],"question":"How do they evaluate how their model acquired words?","question_id":"21c104d14ba3db7fe2cd804a191f9e6258208235"},{"paper_id":"1602.01208","passages":[{"kind":"abstract","paper_id":"1602.01208","passage_id":"1602.01208:abstract:0","position":0,"section_index":null,"section_name":"Abstract","source_file":null,"text":"In this paper, we propose a novel unsupervised learning method for the lexical acquisition of words related to places visited by robots, from human continuous speech signals. We address the problem of learning novel words by a robot that has no prior knowledge of these words except for a primitive acoustic model. Further, we propose a method that allows a robot to effectively use the learned words and their meanings for self-localization tasks. The proposed method is nonparametric Bayesian spatial concept acquisition method (SpCoA) that integrates the generative model for self-localization and the unsupervised word segmentation in uttered sentences via latent variables related to the spatial concept. We implemented the proposed method SpCoA on SIGVerse, which is a simulation environment, and TurtleBot2, which is a mobile robot in a real environment. Further, we conducted experiments for evaluating the performance of SpCoA. The experimental results showed that SpCoA enabled the robot to acquire the names of places from speech sentences. They also revealed that the robot could effectively utilize the acquired spatial concepts and reduce the uncertainty in self-localization."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:4","position":4,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In order to solve the abovementioned problems, in this study, we adopted the following approach. An utterance is recognized as not a single phoneme sequence but a set of candidates of multiple phonemes. We attempt to suppress the variability in the speech recognition results by performing word discovery taking into account the multiple candidates of speech recognition. In addition, the names of places are learned by associating with words and positions. The lexical acquisition is complemented by using certain particular spatial information; i.e., this information is obtained by hearing utterances including the same word in the same place many times. Furthermore, in this study, we attempt to address the problem of the uncertainty of self-localization by improving the self-position errors by using a recognized utterance including the name of the current place and the acquired spatial concepts, as shown in Fig. FIGREF3 (e)."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:8:2","position":2,"section_index":8,"section_name":"Experiment I","source_file":null,"text":"The remainder of this section is organized as follows: In Section SECREF43 , the conditions and results of learning spatial concepts are described. The experiments performed using the learned spatial concepts are described in Section SECREF49 to SECREF64 . In Section SECREF49 , we evaluate the accuracy of the phoneme recognition and word segmentation for uttered sentences. In Section SECREF56 , we evaluate the clustering accuracy of the estimation results of index INLINEFORM0 of spatial concepts for each teaching utterance. In Section SECREF60 , we evaluate the accuracy of the acquisition of names of places. In Section SECREF64 , we show that spatial concepts can be utilized for effective self-localization."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:2","position":2,"section_index":0,"section_name":"Introduction","source_file":null,"text":"The objectives of this study were to build a robot that learns words related to places and efficiently utilizes this learned vocabulary in self-localization. Lexical acquisition related to places is expected to enable a robot to improve its spatial cognition. A schematic representation depicting the target task of this study is shown in Fig. FIGREF3 . This study assumes that a robot does not have any vocabularies in advance but can recognize syllables or phonemes. The robot then performs self-localization while moving around in the environment, as shown in Fig. FIGREF3 (a). An utterer speaks a sentence including the name of the place to the robot, as shown in Fig. FIGREF3 (b). For the purposes of this study, we need to consider the problems of self-localization and lexical acquisition simultaneously."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:16:1","position":1,"section_index":16,"section_name":"Modification of localization by the acquired spatial concepts","source_file":null,"text":"Fig. FIGREF80 shows the results of the self-localization before (the top part of the figure) and after (the bottom part of the figure) the utterance for three places. The particle states are denoted by red arrows. The moving trajectory of the robot is indicated by a green dotted arrow. Figs. FIGREF80 (a), (b), and (c) show the results for the names of places “toire”, “souhatsukeN”, and “gomibako”. Further, three spatial concepts, i.e., those at INLINEFORM0 , were learned as “gomibako”. In this experiment, the utterer uttered to the robot when the robot came close to the place of INLINEFORM1 . In all the examples shown in the top part of the figure, the particles were dispersed in several places. In contrast, the number of particles near the true position of the robot showed an almost accurate increase in all the examples shown in the bottom part of the figure. Thus, we can conclude that the proposed method can modify self-localization by using spatial concepts."}],"question":"How do they show that acquiring names of places helps self-localization?","question_id":"23d0637f8ae72ae343556ab135eedc7f4cb58032"},{"paper_id":"1602.01208","passages":[{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:5:3","position":3,"section_index":5,"section_name":"Overview of the proposed method SpCoA","source_file":null,"text":"Word segmentation is performed by using the lattices of the speech recognition results."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:10:2","position":2,"section_index":10,"section_name":"Phoneme recognition accuracy of uttered sentences","source_file":null,"text":"Table TABREF54 shows the results of PAR. Table TABREF55 presents examples of the word segmentation results of the three considered methods. We found that the unsupervised morphological analyzer capable of using lattices improved the accuracy of phoneme recognition and word segmentation. Consequently, this result suggests that this word segmentation method considers the multiple hypothesis of speech recognition as a whole and reduces uncertainty such as variability in recognition by using the syllable recognition results in the lattice format."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:5:9","position":9,"section_index":5,"section_name":"Overview of the proposed method SpCoA","source_file":null,"text":"The proposed method can learn words related to places from the utterances of sentences. We use an unsupervised word segmentation method latticelm that can directly segment words from the lattices of the speech recognition results of the uttered sentences BIBREF22 . The lattice can represent to a compact the set of more promising hypotheses of a speech recognition result, such as N-best, in a directed graph format. Unsupervised word segmentation using the lattices of syllable recognition is expected to be able to reduce the variability and errors in phonemes as compared to NPYLM BIBREF13 , i.e., word segmentation using the 1-best speech recognition results."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:8:1","position":1,"section_index":8,"section_name":"Experiment I","source_file":null,"text":"In the experiment, we compare the following three types of word segmentation methods. A set of syllable sequences is given to the graphical model of SpCoA by each method. This set is used for the learning of spatial concepts as recognized uttered sentences INLINEFORM0 ."},{"kind":"paragraph","paper_id":"1602.01208","passage_id":"1602.01208:paragraph:0:5","position":5,"section_index":0,"section_name":"Introduction","source_file":null,"text":"In this paper, we propose nonparametric Bayesian spatial concept acquisition method (SpCoA) on basis of unsupervised word segmentation and a nonparametric Bayesian generative model that integrates self-localization and a clustering in both words and places. The main contributions of this paper are as follows:"}],"question":"Which method do they use for word segmentation?","question_id":"d557752c4706b65dcdb7718272180c59d77fb7a7"}],"scores_sha256":"a75cce0955837f824f009cdf3eda7bd40621f636248d0a5ce47c417393f1ae98","sha256":"3529a49451fb4bd791167a6d0be4088c95004ab34c02dc6e7dd24b28b2b33231"}
|
requirements.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio==6.30.0
|
| 2 |
+
pydantic==2.12.3
|
| 3 |
+
qdrant-client==1.19.1
|
| 4 |
+
groq==1.7.0
|
| 5 |
+
pypdf==6.20.1
|
| 6 |
+
httpx==0.28.1
|
| 7 |
+
sentence-transformers==6.1.0
|
| 8 |
+
transformers==5.19.0
|
| 9 |
+
torch==2.10.0
|
| 10 |
+
torchvision==0.25.0
|
| 11 |
+
pillow==12.3.0
|
| 12 |
+
sentencepiece==0.2.1
|
| 13 |
+
papertrail-rag @ git+https://github.com/Adarsh096/PaperTrail.git@a4f3ebb15f1aaefa9af9ea24d5e1ac42178347c0
|
samples/qasper.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b15b4378988ed4e553dd312eaf334411abcf1fb28c53b846d360435eb55cd193
|
| 3 |
+
size 524772
|
samples/sentence-bert.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2703128039850ba7e098bfc6c7d9f3f3e75e6318815c5dd90af71085b1d384e
|
| 3 |
+
size 570263
|
samples/sources.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "qasper",
|
| 4 |
+
"url": "https://aclanthology.org/2021.naacl-main.365.pdf",
|
| 5 |
+
"bytes": 524772,
|
| 6 |
+
"sha256": "b15b4378988ed4e553dd312eaf334411abcf1fb28c53b846d360435eb55cd193",
|
| 7 |
+
"license": "CC-BY-4.0",
|
| 8 |
+
"source": "https://aclanthology.org/2021.naacl-main.365/"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"name": "sentence-bert",
|
| 12 |
+
"url": "https://aclanthology.org/D19-1410.pdf",
|
| 13 |
+
"bytes": 570263,
|
| 14 |
+
"sha256": "e2703128039850ba7e098bfc6c7d9f3f3e75e6318815c5dd90af71085b1d384e",
|
| 15 |
+
"license": "CC-BY-4.0",
|
| 16 |
+
"source": "https://aclanthology.org/D19-1410/"
|
| 17 |
+
}
|
| 18 |
+
]
|