{
  "title": "Current strategy and empirical action frequency in the same Hedge run",
  "source": "https://arxiv.org/abs/2012.02125",
  "source_pdf_sha256": "38d6e27dbbdc0e8e834e4cb08c46ef8cf2d93cdf2580465cc1751956520cfe2c",
  "source_locations": [
    "Section 4, page 27: matching-pennies payoffs, equilibrium, and learning-rate schedule",
    "Section 3.4.2, pages 23-24: entropy/Hedge response to empirical frequencies"
  ],
  "relationship_to_source": "New independently generated illustration of the paper's setting, not extracted data and not a reconstruction of Figure 3. Conventional cumulative-payoff Hedge is specified completely below; t denotes the round about to be played and the history has t-1 observations.",
  "game": {
    "row_payoffs": [
      [
        1,
        0
      ],
      [
        0,
        1
      ]
    ],
    "column_payoffs": [
      [
        0,
        1
      ],
      [
        1,
        0
      ]
    ],
    "note": "A constant-sum version of the zero-sum matching-pennies game, equivalent under the additive column-payoff shift.",
    "equilibrium_heads_probabilities": [
      0.5,
      0.5
    ]
  },
  "algorithm": {
    "name": "Hedge / entropy-regularized cumulative-payoff maximization",
    "eta_t": "1/sqrt(t)",
    "initial": "uniform weights, p_1 = q_1 = 1/2",
    "row_heads_probability": "sigmoid((2*sum_{s<t} J_s - (t-1))/sqrt(t))",
    "column_heads_probability": "sigmoid(((t-1) - 2*sum_{s<t} I_s)/sqrt(t))",
    "feedback": "Each learner sees the opponent's realized action after both have independently drawn their actions. Both probabilities are calculated before either new draw."
  },
  "simulation": {
    "rounds": 20000,
    "seed": 2025,
    "rng": "Python random.Random(seed).random(), two draws per round: row then column",
    "displayed_player": "row",
    "empirical_frequency": "sum_{s<=t} I_s / t (actions, not a moving average and not the average of p_t)",
    "rendering": "All rounds evaluated; SVG polylines simplified in display space with 0.2-pixel Ramer-Douglas-Peucker tolerance. No temporal smoothing."
  },
  "metrics": {
    "row_final_heads_frequency": 0.5021,
    "column_final_heads_frequency": 0.49565,
    "row_final_strategy": 0.22735715882437524,
    "row_last_half_strategy_min": 0.10840834485635462,
    "row_last_half_strategy_max": 0.8935571873848722,
    "row_last_half_frequency_min": 0.49064804035700427,
    "row_last_half_frequency_max": 0.5083164593578247,
    "row_realized_average_external_regret": 0.0025,
    "column_realized_average_external_regret": 0.00395
  },
  "limitations": "One finite seeded trace illustrates the distinction. It neither proves an asymptotic theorem nor estimates the distribution over runs. The cited theorem provides the separate nonconvergence result for its stated classes of learning rules.",
  "generator": "tools/build-no-regret-average.py",
  "verification": "python3 tools/build-no-regret-average.py --check"
}
