- Information Retrieval: Infoboxes, document enrichment
- Question answering
- Summarization and translation
- Logical Reasoning
(the sol, currency_of, Peru)Generate patterns based on a set of occurrences
Rapier uses inductive logic programming techniques to discover rules for extracting fields from documents
Example of features used for information extraction (each line = a feature for a pair)
Repeat the following procedure until ...:
The relation classifier is expressed as a softmax:
For a given sentence, the loss is expressed as:
We used 3 datasets for evaluation
| Dataset | Model | B3 | V-measure | ARI | |||||
| Classifier | Reg. | F1 | Prec. | Rec. | F1 | Hom. | Comp. | ||
| NYT+FB | rel-LDA | 29.1 | 24.8 | 35.2 | 30.0 | 26.1 | 35.1 | 13.3 | |
| rel-LDA1 | 36.9 | 30.4 | 47.0 | 37.4 | 31.9 | 45.1 | 24.2 | ||
| March. | $-\mathcal{L}_\text{S}$ | 35.2 | 23.8 | 67.1 | 27.0 | 18.6 | 49.6 | 18.7 | |
| PCNN | $-\mathcal{L}_\text{S}$ | 27.6 | 24.3 | 31.9 | 24.7 | 21.2 | 29.6 | 15.7 | |
| March. | $\mathcal{L}_\text{S} + \mathcal{L}_\text{U}$ | 37.5 | 31.1 | 47.4 | 38.7 | 32.6 | 47.8 | 27.6 | |
| PCNN | $\mathcal{L}_\text{S} + \mathcal{L}_\text{U}$ | 39.4 | 32.2 | 50.7 | 38.3 | 32.2 | 47.2 | 33.8 | |
| T-REx SPO | rel-LDA | 11.9 | 10.2 | 14.1 | 5.9 | 4.9 | 7.4 | 3.9 | |
| rel-LDA1 | 18.5 | 14.3 | 26.1 | 19.4 | 16.1 | 24.5 | 8.6 | ||
| March. | $-\mathcal{L}_\text{S}$ | 24.8 | 20.6 | 31.3 | 23.6 | 19.1 | 30.6 | 12.6 | |
| PCNN | $-\mathcal{L}_\text{S}$ | 25.3 | 19.2 | 37.0 | 23.1 | 18.1 | 31.9 | 10.8 | |
| March. | $\mathcal{L}_\text{S} + \mathcal{L}_\text{U}$ | 29.5 | 22.7 | 42.0 | 34.8 | 28.4 | 45.1 | 20.3 | |
| PCNN | $\mathcal{L}_\text{S} + \mathcal{L}_\text{U}$ | 36.3 | 28.4 | 50.3 | 41.4 | 33.7 | 53.6 | 21.3 | |
| T-REx DS | rel-LDA | 9.7 | 6.8 | 17.0 | 8.3 | 6.6 | 11.4 | 2.2 | |
| rel-LDA1 | 12.7 | 8.3 | 26.6 | 17.0 | 13.3 | 23.5 | 3.4 | ||
| March. | $-\mathcal{L}_\text{S}$ | 9.0 | 6.4 | 15.5 | 5.7 | 4.5 | 7.9 | 1.9 | |
| PCNN | $-\mathcal{L}_\text{S}$ | 12.2 | 8.6 | 21.1 | 12.9 | 10.1 | 18.0 | 2.9 | |
| March. | $\mathcal{L}_\text{S} + \mathcal{L}_\text{U}$ | 19.5 | 13.3 | 36.7 | 30.6 | 24.1 | 42.1 | 11.5 | |
| PCNN | $\mathcal{L}_\text{S} + \mathcal{L}_\text{U}$ | 19.7 | 14.0 | 33.4 | 26.6 | 20.8 | 36.8 | 9.4 | |
Main idea = exploit other ways to formalize the main hypothesis (two entities = same relation each time)
Main idea = Work directly in a representation space and perform a posteriori clustering
When two entities have multiple relationships, we need to capture this information
# Defines the workspace
workspace = experiment("/tmp/xp1", "grec.local.ger")
workspace.server(12345)
# Download/prepare datasets
ds = Dataset.find("org.acm.recsys.cb2014").prepare()
ds = tag("dataset", "cbrecsys2014", ds)
for dim in [50, 100]:
# Run a model
model = GrecModel(dim=tag("dim", dim), dataset=ds)
model.submit()
Evaluation(model=model, dataset=ds).submit()