Thinking Fast and Slow: Data-Driven Adaptive DeFi Borrow-Lending Protocol

Mahsa Bastankhah, Viraj Nadkarni, Chi Jin, Sanjeev Ramesh Kulkarni, Pramod Viswanath

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Decentralized finance (DeFi) borrowing and lending platforms are crucial to the decentralized economy, involving two main participants: lenders who provide assets for interest and borrowers who offer collateral exceeding their debt and pay interest. Collateral volatility necessitates over-collateralization to protect lenders and ensure competitive returns. Traditional DeFi platforms use a fixed interest rate curve based on the utilization rate (the fraction of available assets borrowed) and determine over-collateralization offline through simulations to manage risk. This method doesn’t adapt well to dynamic market changes, such as price fluctuations and evolving user needs, often resulting in losses for lenders or borrowers. In this paper, we introduce an adaptive, data-driven protocol for DeFi borrowing and lending. Our approach includes a high-frequency controller that dynamically adjusts interest rates to maintain market stability and competitiveness with external markets. Unlike traditional protocols, which rely on user reactions and often adjust slowly, our controller uses a learning-based algorithm to quickly find optimal interest rates, reducing the opportunity cost for users during periods of misalignment with external rates. Additionally, we use a low-frequency planner that analyzes user behavior to set an optimal over-collateralization ratio, balancing risk reduction with profit maximization over the long term. This dual approach is essential for adaptive markets: the short-term component maintains market stability, preventing exploitation, while the long-term planner optimizes market parameters to enhance profitability and reduce risks. We provide theoretical guarantees on the convergence rates and adversarial robustness of the short-term component and the long-term effectiveness of our protocol. Empirical validation confirms our protocol’s theoretical benefits.

Original languageAmerican English
Title of host publication6th Conference on Advances in Financial Technologies, AFT 2024
EditorsRainer Bohme, Lucianna Kiffer
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959773454
DOIs
StatePublished - Sep 2024
Event6th Conference on Advances in Financial Technologies, AFT 2024 - Vienna, Austria
Duration: Sep 23 2024Sep 25 2024

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume316

Conference

Conference6th Conference on Advances in Financial Technologies, AFT 2024
Country/TerritoryAustria
CityVienna
Period9/23/249/25/24

ASJC Scopus subject areas

  • Software

Keywords

  • adaptive market design
  • decentralized finance
  • Defi borrow-lending

Cite this