SearcharxivSearch

arXiv subjects

Rohan Tangri

Publications and source records attributed to Rohan Tangri.

3 recordsLinked to original sources

Cantelli Constrained Policy Optimization

We introduce Canary, a risk-averse method designed to optimize Value-at-Risk (VaR) constrained reinforcement learning (RL) problems. We employ Cantelli's inequality to obtain a tractable, conservative and smooth bound on the VaR constraint based on the first two moments of the cost return. This yields a constraint estimator that remains stable with tight violation thresholds in dense cost regimes. Extending the trust-region framework of the Constrained Policy Optimization (CPO) method, we further provide worst-case bounds for both policy improvement and constraint violation during the training process. Empirically during training, Canary is the only method that reliably satisfies the VaR constraint in every environment tested.

cs.LG

Generalizing Impermanent Loss on Decentralized Exchanges with Constant Function Market Makers

Liquidity providers are essential for the function of decentralized exchanges to ensure liquidity takers can be guaranteed a counterparty for their trades. However, liquidity providers investing in liquidity pools face many risks, the most prominent of which is impermanent loss. Currently, analysis of this metric is difficult to conduct due to different market maker algorithms, fee structures and concentrated liquidity dynamics across the various exchanges. To this end, we provide a framework to generalize impermanent loss for multiple asset pools obeying any constant function market maker with optional concentrated liquidity. We also discuss how pool fees fit into the framework, and identify the condition for which liquidity provisioning becomes profitable when earnings from trading fees exceed impermanent loss. Finally, we demonstrate the utility and generalizability of this framework with simulations in BalancerV2 and UniswapV3.

q-fin.TR

Pearl: Parallel Evolutionary and Reinforcement Learning Library

Reinforcement learning is increasingly finding success across domains where the problem can be represented as a Markov decision process. Evolutionary computation algorithms have also proven successful in this domain, exhibiting similar performance to the generally more complex reinforcement learning. Whilst there exist many open-source reinforcement learning and evolutionary computation libraries, no publicly available library combines the two approaches for enhanced comparison, cooperation, or visualization. To this end, we have created Pearl (https://github.com/LondonNode/Pearl), an open source Python library designed to allow researchers to rapidly and conveniently perform optimized reinforcement learning, evolutionary computation and combinations of the two. The key features within Pearl include: modular and expandable components, opinionated module settings, Tensorboard integration, custom callbacks and comprehensive visualizations.

cs.LG