Summary
This work introduces Text2NKG. A proclaimed first method of extracting n-ary facts from text for construction a KG. The focus on n-ary is a more complex task than standard RE as an n-ary fact can hold more entities than the standard RDF {subject, relation, object}.
Candidate 3-ary span tuples are formed from entities combinations in a sentence. This is embedded using BERT, and put through linear classifiers (Feed-Forward-Networks). The resulting 3-ary facts are then combined for n-ary facts using "hetero-ordered merging". The fine-tuning process makes use of a data augmentation technique, a balancing parameter to compensate for the large amount of "no relation" labels, and without merging.
The method is verified on HyperRED (the only public hyperrelational dataset currently available), and beats several SOTA methods.
Strengths
- The motivation and contributions of the paper are clear and concrete. The previous limitations of research (Diversity, determination of order, and variability) are clearly mentioned and addressed.
- The authors compare to a variety of different baselines, including SOTA LLM (GPT).
- For this, a number of prompt templates have been considered
- Despite the sometimes overwhelming amount of notations, the work is generally pleasant to read.
Weaknesses
- The provided code is complex with low readibility (>5 nested for/while statements with little/no comments and no documentation).
- Code makes mention of ACE dataset, but this does not seem to have made it into the end-work, adding to the confusion.
- Other than the case study in Figure 5, the error analysis is fairly weak and generally performance based. There is no inspection provided as to what explains (for example) the discrepancy between "Text2NKG" and "Text2NKG w/o HM".
- Prompt templates for GPT that were considered (or eventually used for best result) are not included
- BERT was trained on a copy of Wikipedia in 2018. There seems to be no consideration that the data in HyperRED may overlap with the pre-training data of BERT.
- The work hyperfixates on a single benchmark: HyperRED, despite others being mentioned.
Comments:
Figure 2: Typo "hyper-relaional"
Line 159: typo
Line 214: Broken sentence.
Line 219: Why was it decided to name these Generative and Pipeline and not specific to the previous works? (BART and UniRE)
Table 2: The GPT results dont need 4 decimal places
Table 2: typo (pipelinge)
Equation 6: It is unclear to me how this is derived, and it is not explained why (the how is there) this specific formulation works.
Figure 5a: Figure is hard to read.
Questions
Questions:
- Line 40: Several more benchmarks for NKG are mentioned (JF17K, Wikipeople, WD50K, etc.), but not considered (or no argumentation is provided). Why were these not considered?
- From inspection, what are cases where the model fails (e.g. seemingly difficult cases where it struggles) or cases where it consistenly succeeds?