Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Encryption Windows backtest #213

Open
rad2520 opened this issue Aug 30, 2024 · 0 comments
Open

Dynamic Encryption Windows backtest #213

rad2520 opened this issue Aug 30, 2024 · 0 comments
Assignees
Milestone

Comments

@rad2520
Copy link

rad2520 commented Aug 30, 2024

goal:
backtest the DEW algorithm on real historic subnet metagraph data to observe behavior for different subnet types under different parameter settings.

open/close encryption window is just opening/closing measurement windows of the backtest and resetting Dc(e) and Dd(e).

pick starting epoch, then run over all epochs up to the latest. starting epoch should be as early in the subnets history as possible, where reasonably large validator and miner population has joined the subnet and consensus stabilized.

run on the major Bittensor subnets, due to significantly higher diversity and activity volume i.e.

  • s1, s8, s9, s18, s19, s24, s25

run on functional Commune subnets with sufficient history i.e. Synthia, OpenScope, Mosaic

creating a rich dataset of real encryption windows to derive stats and analysis

initial parameters:

  • p = 0.05
  • max_encryption_duration = off

analysis ideas

  • plot average encryption window length with p = 0.025, 0.03, 0.035, 0.04 etc up to 0.15
  • plot x axis encryption windows, y axis encryption length to visualize outliers and to see if there are any noticeable patterns. this can be used for picking the max_encrpytion_duration parameter individually per subnet
  • calculate gini coefficient for distribution of portions of the final percent difference (approx p) between Dc(e) and Dd(e) across epochs contained per encryption window and plot it x axis encryption windows y axis gini coefficient
    -> this will give us an easy to interpret view of how evenly copier reward penalty is distributed across epochs e.g. if its usually the case that 1-2 epochs make up 70% of the reward penalty in a 10 epoch encryption window
  • get average encryption length for every relevant-enough BT subnet with p=0 and 9% delegation fee
@rad2520 rad2520 changed the title DEW backtest Dynamic Encryption Windows backtest Aug 30, 2024
@rad2520 rad2520 added this to the Weight Copy milestone Aug 30, 2024
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

No branches or pull requests

2 participants