Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 6.09 KB

File metadata and controls

67 lines (53 loc) · 6.09 KB

Measuring compositionality

Compositionality and Neural Machine Translation

  • On Compositionality in Neural Machine Translation, 2019.
    • Discuss two manifestations of compostionality in NMT:
      • Productivity - the ability of the model to extend its predictions beyond the observed length in training data
      • Systematicity - the ability of the model to systematically combine known parts and rules
    • They find that inadequate temporal processing in the form of poor encoder representations is a bottleneck for both productivity and systematicity.
    • They also propose simple pretraining mechanism which leads to significant BLEU improvement.
  • On Compositional Generalization of Neural Machine Translation, acl 2021.
    • "our compositional generalization test set consists of 2,160 novel compounds, with up to 5 atoms and 7 words [...] generalization ability can be evaluated based on compound translation error rate"
    • Problem Definition: atoms, primitive elements in the train set whereas compounds are obtained by composing atoms; due to hardness of generating sentence-level compounds, the authors constrain compounds to syntactic constituents, and define atoms as basic semantic components in constituents, and assign randomly multiple sentential contexts for investigating each compounds.
    • Test a model: train Transformer on standard benchmark, e.g. WMT17 En-Zh, test it on the constructed dataset, to see its performance on those compounds within the test sentence.
    • Analysis: investigating factors - compound frequency, compound length, atom frequency, atom co-occurrence, linguistic factors, external context.
  • The paradox of the compositionality of natural language: a neural machine translation case study, 2021.
    • Question
    • Methodology: testing systematicity, substitutivity, overgeneralization,

Define compositionality, or generalize compositionally

  • Compositionality Decomposed: How doNeural Networks Generalise?, JAIR 2020.
    • Collect different definitions of compositionality and translate them into five task-independent tests
      1. can models systematically combine known parts and rules?
      2. can models extends its prediction beyond the lengths in training set?
      3. are the model's composition operations local or global?
      4. can models' prediction be robust to synonym substitution (paraphrasing)?
      5. does the model favor rules or exceptions during training?

Impose compositionality on (neural) models

Data augmentation based approach

Compositionality and interpretability