Machine Learning

Archimedes has been theorized, tested and trained concurrently, for almost a year.

Model Design

For any AI model, each set of input data needs to be first defined and ultimately determined to train the algorithm.
Mozaic's machine learning team currently extracts data block by block and coin price data through one minute feeds when modeling.

This has specific reasoning:

  • Each chain has different update frequencies
  • Block-by-block APY data is quantifiable and encapsulates numerous other metrics
  • One minute token price data is key for selling native protocol tokens (when farming) in a volatile market
Training Archimedes to become the most efficient yield farmer.

Initial Test Case

An initial 14 day simulation (April 7th - 14th, 2022) was conducted theoretically with Archimedes and Mozaic's stablecoin vault, farming on cBridge.
Archimedes rebalanced funds on the Avalanche chain for approximately five days out of the fourteen, the Ethereum chain for four, and an alternating combination of the Optimism, Polygon, Fantom, and Ethereum again for the other five days. Spikes in yield on AAVE were also captured (27%) for a large portion of one of the days.
Harnessing Mozaic’s omnichain stablecoin vault over the 14 days produced a geometric daily expected return of approximately 19.02%.
Leaving 100% of your assets in the best performing vault over the same 14 day period only yielded 13.98%.

Staking Optimizer

A live test was conducted for Archimedes, farming on Stargate single-sided staking pools.
During this process, an APY data extraction tool was developed to capture necessary modeling data to train Archimedes. This extraction tool extracts any APY data block by block.
Archimedes Live Test Results

Trading Optimizer

Protocols use their native token as rewards to increase their APYs.
Another live test was conducted on Stargate to show a competitive edge gained as Archimedes sells native token rewards.
STG Rewards Competitive Edge
Last modified 23d ago