Skip to content

DynaMAL Implementation - #244

Draft
sandorstormen wants to merge 22 commits into
mainfrom
dynamal
Draft

DynaMAL Implementation#244
sandorstormen wants to merge 22 commits into
mainfrom
dynamal

Conversation

@sandorstormen

Copy link
Copy Markdown
Contributor

This PR creates an MVP for implementing DynaMAL in the toolbox. DynaMAL functionality is implemented as an addition to the existing MAL functionality.

The main change to the LanguageGraph is the addition of LanguageGraphModelEffect representing modifications to the instance model that are made during runtime. Each LanguageGraphAttackStep has the two fields own_additive_model_effects and own_subtractive_model_effects with a list of LanguageGraphModelEffect. Since these are dynamic in nature, the model modifications can not be calculated before runtime. Therefore LanguageGraphModelEffect includes information on which associations to traverse to be able to generate the correct additive/subtractive effects.

TODO

  • Figure out which asset the target asset expressions in a dynamic sentence should start from.
    • Implemented now as 1) the attack steps asset and 2) the base asset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant