UBI Allocation Curve

Universal Basic Income (UBI) and Paid Job Compensation for Computing Providers (CP) in Swan Chain

Table of Contents

Introduction

Swan Chain is a decentralized network that connects computing providers with users requiring computational resources. To foster early network growth and incentivize CPs to join and contribute resources, a dual compensation mechanism has been designed:

  1. Universal Basic Income (UBI): Provides CPs with a predictable token income when their resources are underutilized.

  2. Paid Jobs: Offers market-priced compensation for computational tasks requested by users.

This mechanism ensures a fair and gradual distribution of tokens to providers, supporting the network's expansion until it reaches a critical mass of user-paid tasks. Importantly, the UBI distribution rate is influenced by the resource usage rate, and CPs earn market-based compensation when engaged in paid jobs.


Compensation Model

I(x)=AxBeCx(1u(x))+Pmarket(x)u(x)I(x) = A \cdot x^{B} \cdot e^{-C x} \cdot (1 - u(x)) + P_{\text{market}}(x) \cdot u(x)

The total daily income I(x) I(x) for a computing provider on day (x)( x ) comprises two components:

  1. UBI Income yUBI(x)y_{\text{UBI}}(x)

  2. Paid Job Income yPaid(x)y_{\text{Paid}}(x)

The UBI income is modeled using a gamma-like function adjusted by the resource usage rate u(x)u(x) :

yUBI(x)=AxBeCx(1u(x))y_{\text{UBI}}(x) = A \cdot x^{B} \cdot e^{-C x} \cdot (1 - u(x))

Where:

  • A=20,000A = 20,000 (Scaling factor)

  • B=0.3100B = 0.3100 (Growth rate exponent)

  • C=0.0017C = 0.0017 (Decay rate constant)

  • xx is the day number, starting from 1

  • u(x)u(x) is the resource usage rate on day(x) ( x ) (ranging from 0 to 1)

The paid job income depends on the market demand and the resource utilization:

yPaid(x)=Pmarket(x)u(x)y_{\text{Paid}}(x) = P_{\text{market}}(x) \cdot u(x)

Where:

  • Pmarket(x)P_{\text{market}}(x) is the total market value for computational resources on day (x)( x )

  • u(x) u(x) represents the proportion of a CP's resources utilized by paid job

Defining u(x)u(x)

(1) Calculate the total duration of real GPU orders across the network

Tday=iTaskECP,i(GPUk)×fk+jTaskFCP,j(GPUk)×fkT_{\text{day}} = \sum\limits_{i}Task_{\text{ECP},i}(GPU_k) \times f_k + \sum\limits_{j}Task_{\text{FCP},j}(GPU_k) \times f_k

Where:

  • TaskFCP,i(GPUk)Task_{\text{FCP},i}(GPU_k) represents the time that the ii-th FCP task uses GPUkGPU_k.

  • TaskECP,j(GPUk)Task_{\text{ECP},j}(GPU_k) represents the time that the jj-th ECP task uses GPUkGPU_k.

  • fkf_k is the revenue growth factor.

(2)Calculate the total available usage time for all GPUs in the network

Ttotal=kN(GPUk)×24×fkT_{\text{total}} = \sum\limits_k N(GPU_k) \times 24 \times f_k

Where:

  • N(GPUk)N(GPU_k) is the number of GPUkGPU_k.

(3) Calculate u(x)u(x)

u(x)=TdayTtotalu(x) = \frac{T_{\text{day}}}{T_{\text{total}}}

Defining Total Market Value Pmarket(x)P_{\text{market}}(x)

Pmarket(x)P_{\text{market}}(x) represents the cost in Swan Tokens when all GPUs in the CP are fully utilized:

Pmarket(x)=kN(GPUk)×Price(GPUk)×24P_{\text{market}}(x) = \sum\limits_k N(GPU_k) \times Price(GPU_k) \times 24

Where:

  • N(GPUk)N(GPU_k) is the number of GPUkGPU_k.

  • Price(GPUk)Price(GPU_k) is the price of GPUkGPU_k.

Algorithm Implementation

The compensation mechanism proceeds as follows:

  1. Initialization: Set day (x=1) (x = 1).

  2. Determine Resource Usage Rate: Calculate u(x)u(x) based on the CP's resource utilization by paid jobs.

  3. Compute UBI Income:

yUBI(x)=20,000×x0.3100×e0.0017x×(1u(x))y_{\text{UBI}}(x) = 20,000 \times x^{0.3100} \times e^{-0.0017 x} \times (1 - u(x))
  1. Compute Paid Job Income:

yPaid(x)=Pmarket(x)×u(x)y_{\text{Paid}}(x) = P_{\text{market}}(x) \times u(x)
  1. Calculate Total Income:

I(x)=yUBI(x)+yPaid(x)I(x) = y_{\text{UBI}}(x) + y_{\text{Paid}}(x)
  1. Distribute Income: Allocate I(x) I(x) to CPs based on their resource contributions and utilization.

  2. Increment Day: Increase x x by 1.

  3. Repeat: Continue the process for each subsequent day.

This algorithm ensures that CPs are incentivized to contribute resources to the network, receiving UBI when their resources are underutilized and earning market-based compensation when engaged in paid jobs.


Visualization of Income Over Time

Scenarios

We consider three scenarios to illustrate how CPs' income evolves over time:

  1. No Paid Jobs u(x)=0u(x) = 0 : CPs receive income solely from UBI.

  2. Low Paid Job Demand u(x)=0.1u(x) = 0.1: CPs primarily earn UBI income with a small contribution from paid jobs.

  3. Increasing Paid Job Demand: Resource usage rate u(x) u(x) increases over time, shifting CPs' income from UBI to paid jobs.

Interpretation of the Plots

1. Total Income Over 720 Days

  • Scenario 1: u(x)=0u(x) = 0

    • CPs receive income solely from UBI.

    • The total income decreases gradually over time due to the decay in the UBI function.

  • Scenario 2: u(x)=0.1u(x) = 0.1

    • CPs receive slightly less UBI income than in Scenario 1 due to the 10% resource usage.

    • Paid job income contributes minimally, resulting in a slightly lower total income.

  • Scenario 3: Increasingu(x)Increasing u(x)

    • Initially, total income is similar to Scenario 1.

    • As u(x)u(x) increases, paid job income increases while UBI income decreases.

    • Total income remains relatively stable or increases slightly, demonstrating that paid job income offsets the reduction in UBI.

2. Income Components for Scenario 3

  • UBI Income:

    • Decreases over time as resource usage rate u(x)u(x) increases.

    • Reflects the transition from reliance on UBI to paid jobs.

  • Paid Job Income:

    • Increases over time with the increase in u(x)u(x) .

    • Compensates for the decrease in UBI income.

  • Total Income Stability:

    • The sum of UBI and paid job income maintains income stability for CPs.

3. Resource Usage Rate u(x)u(x) for Scenario 3

  • Shows a smooth increase from 0 to 0.8 over 720 days.

  • Reflects the gradual adoption of paid tasks in the network.

Data Points Illustration

Below is a table of computed token allocations for selected days:

DayDaily UBI (y)Cumulative UBI

1

19,966.03

19,966.03

30

54,549.22

1,261,976.56

60

64,262.68

3,062,143.25

90

69,246.55

5,072,341.49

120

71,941.60

7,194,431.61

150

73,261.06

9,375,212.61

180

73,666.56

11,581,013.65

210

73,430.22

13,788,817.87

240

72,728.28

15,982,188.47

270

71,682.24

18,149,084.82

300

70,379.70

20,280,565.34

330

68,885.86

22,369,958.88

360

67,250.50

24,412,305.58

390

65,512.29

26,403,963.32

420

63,701.70

28,342,321.28

450

61,843.01

30,225,585.83

480

59,955.70

32,052,616.78

510

58,055.51

33,822,799.99

540

56,155.17

35,535,946.61

570

54,265.01

37,192,212.48

600

52,393.39

38,792,032.93

630

50,547.09

40,336,069.55

660

48,731.55

41,825,166.37

690

46,951.10

43,260,313.71

720

45,209.18

44,642,617.97

Note: The "Cumulative UBI" column represents the definite integral of y(x) from day 1 to the specified day.

This table shows simulated data for UBI distribution calculated under the condition of U(x) = 0. The actual UBI release will dynamically change based on the network CP resource utilization rate.


Impact of the Design

Incentivizing Optimal Resource Utilization

  • Adaptive Compensation: CPs are motivated to engage in paid jobs as they become available, earning higher income through market rates.

  • Resource Availability: UBI ensures that CPs keep their resources available to the network, even during periods of low demand.

Sustainable Long-Term Distribution

  • Transition to Market-Based Economy: As the network matures and paid job demand increases, CPs naturally shift from UBI reliance to market compensation.

  • Controlled Token Issuance: The decreasing UBI allocation over time prevents token oversupply, maintaining economic stability.

Economic Implications

  • Income Stability: CPs benefit from a combination of UBI and paid job income, smoothing income fluctuations.

  • Market Alignment: Compensation reflects real-time network demand, promoting efficient resource allocation.


Conclusion

The combined UBI and paid job compensation model for Swan Chain computing providers effectively balances incentives, supporting early network growth while promoting efficient resource utilization. By dynamically adjusting CPs' income based on resource usage rates and market demand, the model ensures sustainable network development and economic stability as the network transitions to a mature, user-driven ecosystem.


Future Work

  • Dynamic Market Pricing: Implement real-time market pricing mechanisms for paid jobs to reflect supply and demand accurately.

  • Adaptive UBI Parameters: Explore methods to adjust UBI parameters ( A ), ( B ), and ( C ) based on network growth metrics.

  • Enhanced Monitoring Tools: Develop systems to track resource usage and job completion accurately, ensuring fair compensation.


Appendix

Sample Calculations

Scenario 1: No Paid Jobs

Day 1:

  • UBI Income: yUBI(1)=20000×10.31×e0.0017×119,965.90tokensy_{\text{UBI}}(1) = 20000 \times 1^{0.31} \times e^{-0.0017 \times 1} \approx 19,965.90 \, \text{tokens}

  • Paid Job Income: 0tokens0 \, \text{tokens} (No paid job demand)

  • Total Income: I(1)=19,965.90+0=19,965.90tokensI(1) = 19,965.90 + 0 = 19,965.90 \, \text{tokens}

Scenario 2: Low Paid Job Demand

Day 1:

  • UBI Income: yUBI(1)=20000×10.31×e0.0017×119,965.90tokensy_{\text{UBI}}(1) = 20000 \times 1^{0.31} \times e^{-0.0017 \times 1} \approx 19,965.90 \, \text{tokens}

  • Paid Job Income: yPaid(1)=50000×0.1=5,000tokensy_{\text{Paid}}(1) = 50000 \times 0.1 = 5,000 \, \text{tokens}

  • Total Income: I(1)=19,965.90+5,000=24,965.90tokensI(1) = 19,965.90 + 5,000 = 24,965.90 \, \text{tokens}

Scenario 3: Increasing Paid Job Demand

Day 360:

  • UBI Income: yUBI(360)=20000×3600.31×e0.0017×36013,898.99tokensy_{\text{UBI}}(360) = 20000 \times 360^{0.31} \times e^{-0.0017 \times 360} \approx 13,898.99 \, \text{tokens}

  • Paid Job Income: yPaid(360)=50000×0.4=20,000tokensy_{\text{Paid}}(360) = 50000 \times 0.4 = 20,000 \, \text{tokens}

  • Total Income: I(360)=13,898.99+20,000=33,898.99tokensI(360) = 13,898.99 + 20,000 = 33,898.99 \, \text{tokens}

Day 720:

  • UBI Income: yUBI(720)=20000×7200.31×e0.0017×720×(10.8)2,477.66tokensy_{\text{UBI}}(720) = 20000 \times 720^{0.31} \times e^{-0.0017 \times 720} \times (1 - 0.8) \approx 2,477.66 \, \text{tokens}

  • Paid Job Income: yPaid(720)=50000×0.8=40,000tokensy_{\text{Paid}}(720) = 50000 \times 0.8 = 40,000 \, \text{tokens}

  • Total Income: I(720)=2,477.66+40,000=42,477.66tokensI(720) = 2,477.66 + 40,000 = 42,477.66 \, \text{tokens}

Observations

  • Income Stability: Despite the decrease in UBI income over time, total income remains stable or increases due to higher compensation from paid jobs.

  • Incentive Alignment: Community participants (CPs) are incentivized to participate in paid jobs without experiencing significant income loss during transitions from UBI reliance to paid employment.


Last updated