[Paper Review] Leveraged positions on decentralized lending platforms
The paper develops a convex optimization framework to optimize leveraged staking across multiple DeFi lending markets, deriving closed-form solutions for linear, kinked, and adaptive interest rate models, and validates with backtests showing higher APYs for leveraged strategies than unleveraged staking.
We develop a mathematical framework to optimize leveraged staking ("loopy") strategies in Decentralized Finance (DeFi), in which a staked asset is supplied as collateral, the underlying is borrowed and re-staked, and the loop can be repeated across multiple lending markets. Exploiting the fact that DeFi borrow rates are deterministic functions of pool utilization, we reduce the multi-market problem to a convex allocation over market exposures and obtain closed-form solutions under three interest-rate models: linear, kinked, and adaptive (Morpho's AdaptiveCurveIRM). The framework incorporates market-specific leverage limits, utilization-dependent borrowing costs, and transaction fees. Backtests on the Ethereum and Base blockchains using the largest Morpho wstETH/WETH markets (from January 1 to April 1, 2025) show that rebalanced leveraged positions can reach up to 6.2% APY versus 3.1% for unleveraged staking, with strong dependence on position size and rebalancing frequency. Our results provide a mathematical basis for transparent, automated DeFi portfolio optimization.
Motivation & Objective
- Motivate the study by addressing multi-market leveraged staking optimization in DeFi.
- Develop a convex optimization approach that accounts for market-specific leverage limits, utilization-dependent borrowing costs, and transaction fees.
- Derive closed-form solutions under linear, kinked, and Morpho AdaptiveCurveIRM rate models.
- Incorporate a decomposition of positions into maximally leveraged and unleveraged components to enable tractable optimization.
- Validate theoretical results with backtests on real DeFi data from Morpho on Ethereum and Base.
Proposed method
- Model each market with maxLTV, liquidity state, and a borrow rate b_i(U_i) as a function of utilization U_i.
- Decompose a position into an unleveraged sub-position and a maximally leveraged sub-position; reformulate to a convex problem over exposures only.
- Convert the multi-market problem into a convex allocation problem with a single aggregated unleveraged exposure x_0 and n leveraged exposures x_i.
- Derive closed-form (or semi-closed-form) solutions for linear, kinked, and adaptive rate models using first-order/KKT conditions; use a Lagrange multiplier to enforce the budget constraint.
- Extend the framework to include transaction costs via a rebalancing term with horizon T, distinguishing costs when collateral increases vs decreases.
- Backtest on Morpho Morpho wstETH/WETH markets on Ethereum (Jan 1–Apr 1, 2025) to compare leveraged vs unleveraged staking.
Experimental results
Research questions
- RQ1How can leveraged staking positions be optimally allocated across multiple DeFi lending markets with distinct rate models?
- RQ2Can a convex reformulation with position decomposition yield tractable closed-form or efficiently computable solutions for linear, kinked, and adaptive rate models?
- RQ3What impact do market constraints (max LTV, utilization-driven borrow costs, and transaction fees) have on optimal allocations and achievable yields?
- RQ4How do backtested APYs of leveraged strategies compare to unleveraged staking under different rebalancing frequencies and capital scales?
- RQ5Does the framework accommodate dynamic rate models like Morpho AdaptiveCurveIRM and still provide practical optimization results?
Key findings
- Leveraged staking across multiple markets can outperform unleveraged staking, with observed APYs up to 6.2% versus 3.1% for staking alone in backtests.
- The size of the capital the strategy manages (low vs high cap) significantly affects APY due to pool utilization affecting borrowing costs.
- Rebalancing frequency has a larger effect on smaller (low-cap) strategies, improving APY when done hourly rather than daily.
- A convex reformulation via position decomposition yields tractable solutions with closed-form or efficiently computable expressions under linear, kinked, and adaptive rate models.
- Transaction costs can be incorporated to adjust effective staking rates and influence optimal allocations, though the base results assume short horizons and static conditions.
- The backtest uses Morpho wstETH/WETH markets on Ethereum and demonstrates that more favorable leverage configurations (subject to risk constraints) can achieve higher yields than staking alone.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.