Skip to content

Improve "exploit max length" for Dangling Operator #43

@falcaopetri

Description

@falcaopetri

Hi.

Maximum rule length is an interesting pruning technique introduced in AMIE+. In "Fast rule mining in ontological knowledge bases with AMIE+", we can read:

Maximum rule length: [...] for a not-yet-closed rule of length maxLen−1, AMIE+ will not apply the add-dangling-atom operator O_D, because this results in a non-closed rule, which will be neither output nor refined. In the same spirit, if the same rule contains more than two non-closed variables (see Sect. 3.3), AMIE+ will skip the application of the add-closing-atom operator O_C . This happens because an application of the operator O C can close at most two variables with one atom. This reasoning also applies to the instantiation operator O_I: rules with more than one non-closed variable are not refined with instantiated atoms, because the addition of an instantiated atom can close at most one variable.

Summing up, we have that:

  • Dangling operator checks if there are non-closed variables
  • Closing operator checks if there are more than two non-closed variables
  • Instantiation operator checks if there are more than one non-closed variable

I guess that dangling operator can be safely modified to consider if there are more than one non-closed variable, just as the instantiation operator.

Indeed, the dangling operator will:

  • Close an open variable
  • Add an open variable

Therefore, it can close at most one variable. The newly added variable may be closed by instantiation operator, but the previously opened variables cannot.

Best,
Antonio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions