Skip to main content
QUICK REVIEW

[Paper Review] VDHLA: Variable Depth Hybrid Learning Automaton and Its Application to Defense Against the Selfish Mining Attack in Bitcoin

Ali Nikhalat-Jahromi, Ali Mohammad Saghiri|arXiv (Cornell University)|Feb 15, 2023
Optimization and Search ProblemsComputer Science3 citations
TL;DR

This paper proposes VDHLA, a novel hybrid learning automaton that dynamically adjusts the depth of a fixed-structure learning automaton using a variable action-set learning automaton, enabling adaptive trade-offs between convergence speed and accuracy. In Bitcoin's selfish mining attack scenario, VDHLA outperforms both FSLA and the standard tie-breaking defense, achieving higher relative revenue for honest miners and significantly reducing attack profitability across stationary and non-stationary environments.

ABSTRACT

Learning Automaton (LA) is an adaptive self-organized model that improves its action-selection through interaction with an unknown environment. LA with finite action set can be classified into two main categories: fixed and variable structure. Furthermore, variable action-set learning automaton (VASLA) is one of the main subsets of variable structure learning automaton. In this paper, we propose VDHLA, a novel hybrid learning automaton model, which is a combination of fixed structure and variable action set learning automaton. In the proposed model, variable action set learning automaton can increase, decrease, or leave unchanged the depth of fixed structure learning automaton during the action switching phase. In addition, the depth of the proposed model can change in a symmetric (SVDHLA) or asymmetric (AVDHLA) manner. To the best of our knowledge, it is the first hybrid model that intelligently changes the depth of fixed structure learning automaton. Several computer simulations are conducted to study the performance of the proposed model with respect to the total number of rewards and action switching in stationary and non-stationary environments. The proposed model is compared with FSLA and VSLA. In order to determine the performance of the proposed model in a practical application, the selfish mining attack which threatens the incentive-compatibility of a proof-of-work based blockchain environment is considered. The proposed model is applied to defend against the selfish mining attack in Bitcoin and compared with the tie-breaking mechanism, which is a well-known defense. Simulation results in all environments have shown the superiority of the proposed model.

Motivation & Objective

  • To address the fundamental trade-off between convergence speed and accuracy in fixed-structure learning automata (FSLA), which are constrained by a static depth choice.
  • To design a hybrid learning automaton model that enables intelligent, dynamic adjustment of FSLA depth in response to environmental feedback.
  • To apply the proposed model to defend against selfish mining attacks in Bitcoin, a critical threat to blockchain incentive compatibility.
  • To evaluate the model’s performance under varying environmental conditions—stationary and non-stationary—using reward and action-switching metrics.
  • To compare VDHLA’s defense efficacy against the well-established tie-breaking mechanism in real-world blockchain dynamics.

Proposed method

  • VDHLA integrates a fixed-structure learning automaton (FSLA) with a variable action-set learning automaton (VASLA), where the VASLA controls the depth of the FSLA during action switching.
  • The depth adjustment occurs symmetrically (SVDHLA) or asymmetrically (AVDHLA), allowing the automaton to explore or exploit depth values based on feedback.
  • The VASLA uses a reinforcement learning mechanism with probability updates via the ϵ-P rule, where λ1 = 0.1 and λ2 = 0.01, to guide depth selection.
  • The model operates in a blockchain environment where the learning automaton acts as a decision-maker for block validation, responding to rewards (e.g., relative revenue) from mining outcomes.
  • The system uses a fail-safe parameter K and a time interval τ to control feedback frequency and depth adaptation, with θ representing a time window containing multiple τ intervals.
  • Simulations use 10,000 blocks per scenario, with performance measured via relative revenue (TNR) and total number of action switches (TNAS).

Experimental results

Research questions

  • RQ1Can a hybrid learning automaton dynamically adjust the depth of a fixed-structure automaton to balance speed and accuracy in stochastic environments?
  • RQ2How does the symmetric (SVDHLA) versus asymmetric (AVDHLA) depth adjustment strategy affect performance in stationary and non-stationary environments?
  • RQ3To what extent does VDHLA improve defense against selfish mining in Bitcoin compared to FSLA and the tie-breaking mechanism?
  • RQ4How do the parameters K (fail-safe interval), τ (time interval), and the number of τ per θ influence the defense performance in terms of relative revenue and action switching?
  • RQ5Can the proposed model maintain robustness and adaptability under changing blockchain dynamics, such as fluctuating mining difficulty or attack frequency?

Key findings

  • AVDHLA achieved a maximum relative revenue of 7,469 in the K=2, Config 4 scenario, significantly outperforming FSLA’s 7,380 under the same conditions.
  • SVDHLA with K=2 and Config 2 achieved 7,301 relative revenue, demonstrating faster convergence than FSLA, which scored 7,227 in the same setting.
  • In the K=5 scenario, AVDHLA achieved 3,028 relative revenue in Config 4, while FSLA scored only 3,001, showing consistent superiority in attack mitigation.
  • For K=9, AVDHLA recorded 2,742 relative revenue in Config 4, compared to FSLA’s 2,613, indicating sustained performance gains under higher fail-safe thresholds.
  • Lower τ values (e.g., τ=5) led to higher relative revenue for selfish miners in SVDHLA and AVDHLA, indicating that more frequent feedback improves automaton tuning and defense effectiveness.
  • Fewer τ intervals per θ (e.g., 6) led to better defense performance than more intervals (e.g., 18), as it allowed the automaton to adapt more effectively to environmental changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.