Psychology of UX in Decentralized Exchanges - Madalina Raicu (Vega Protocol)

ETHMilan 2023 · 19 Dec 2023 · 16:07

Madalina Raicu, a software engineer with a human-computer interaction background who contributes to the open source Vega trading console, looks at decentralized exchange design through the lens of psychology. Using examples from Uniswap, Curve, Balancer and Vega, they walk through cognitive load, Jakob's law, progressive disclosure, anchoring, loss aversion and the Zeigarnik effect, and show how each shapes the way people filter information, find meaning, act in time and remember their trades.

Speakers

Topics

From ETHMilan 2023, hosted by ETH Milan.

Transcript

um hello everyone my name is madelina and today I'll speak about sorry today I'll speak about psychology of viser experience in decentralized exchanges this is going to be um interesting for people who are concerned with greater user adoption and user retention in defi but it is going to be a different take we won't be talking about uh programmatic trading but more about ux and UI um and we will be talking about ux but it is going to be a different take um we won't be talking about accessibility but more about usability and cognitive biases and teristics that can be applied in the centralized exchanges

uis um right I would like to introduce myself um sorry my background is in computer science but I specialize in human computer interaction I have worked as a software engineer for trading and portfolio management applications for uh more than four years in traditional Finance with black rock and then I have shifted towards a more decentralized scope since last year I started contributing to a decentralized application which is a trading console all the code is open source this da runs on the Vega blockchain uh which is built specifically for trading

derivatives which also allows for permissionless Market creation um its Alpha maned has been released uh recently in May this year having cash settled Futures that are life and soon after the upcoming release people would also be able to propose and trade Perpetual markets okay so I would like to start the topic that I have chosen today with a question that in my experience it has driven everything that I have worked on so far which is what do people want from a trading UI and based on my own experience implementing user feedback the answer would be everything yes a person trading just wants a UI that is intuitive user

friendly and efficient well they want speed and responsiveness to make quick decisions to take advantage of Market opportunities but also it needs to slow them down to safely complete all the confirmation steps they need to have all the data at their fingertips and they need it now but they would not be interested in everything so it shouldn't overload them with too much information for more complex exchanges it needs to be customizable if a user feels efficient with their own layouts they should be able to create them however there shouldn't be an empty canvas they can experience a customization overload how do they learn how to use the exchange if it does not have an appealing layout by default and

last but not least they need to trust the process and it needs to be secure but what if something goes wrong what if they do a mistake where can they get some help and support but this is true for exchanges in general regardless if they're centralized or not but today we will be talking about the centralized exchanges and the psychology of design behind it and the cognitive biases and principles that may affect the trading user experience before continuing I need to make sure I'm making a very clear disclaimer this presentation needs to be visual to make sense so what I plan to do is an easy to digest ux case study on multiple decentralized exchanges that

are out there so I'm used for swaps some used for derivatives but there is no intention to do any type of critique nor advertising a very simple way for me to start talking about this would be to bring up a classic which is the cognitive load Theory this theory states that people have a limited amount of mental resources available to process the information so a platform can be designed in a way that minimizes distractions or reduces complex features however things are never that simple this actually contradicts Tesla's law which reminds us that if you simplify too much you may end up just transferring some complexity to the user and now let's get a little bit technical because we're trying to design something

that is a bit specific let's talk about some key factors that can impact the trading experience and the cost of transaction processing indexes the first one is liquidity users may experience why there be dusk spreads and slippage when trading if there is lower liquidity and that is why dexes Implement different liquidity mechanisms which allow users to provide liquidity to the platform and earn fees in exchange meaning that it impacts the fee structure on dexes same as the order books or any other types of models such as amm that have an impact on the pricing and the execution of Trades um however you may say dexes offer a higher level of security as users now have full control over their

private keys these assets are not held in a centralized location but users are now responsible for managing their own security and they may be at risk of losing their assets if they do a mistake all right now keeping those four important factors in mind how do we design for this okay to do that let's try to simplify and break down the user journey in a decentralized exchange because any user interacting with a DEX will filter and gather the information to connect their wallet and start trading and then seek of seek the meaning of what's in front of them so that they can start trading safely uh or provide liquidity and then they need to

act within a given time uh in order to place the most profitable orders to assess if they can minimize slipage and generally follow their own trading strategy and then they need to store bits of this interaction related to um their funds and realize profit and loss so to improve their user experience we need to understand the biases and teristics affecting these four decision cycle steps now let's dive in we'll start um with some laws that are repeatedly applied in popular dexes for the aforementioned four categories category number one information users filter out a lot of the information that they receive even when it could be very

important and I'm going to start with one of the most popular ux laws very simple to understand and practice if the number of choices increases then the time to make a decision increases as well and a very nice example uh of this law are lists to apply this law to dexes designer simplified the UI in order to minimize the number of clicks required to select a token to swap and here you have very popular example of dex's Unis swap curve and balancer methods to select a token you do have the scrollable model to find the token designers made it even easier by allowing users to narrow down that list with a search filter these uis from this slide they do look very similar right

why is that well that is because users transfer expectations they have built around one familiar product to another one that appears similar and that is called the Jacobs law staying on the same law right here in this GIF we have examples of more than nine popular swapping dexes and you can see how they are following very similar patterns for their swapping wi designers they end up leveraging existing mental models on exchanges so that users can focus on their tasks rather than on learning new processes and this is very common and you can see this being applied on in General on any sort of trading uis so apart from limiting the users's

need to learn new models designers are also breaking down complex information and they're disclosing it sequentially at the moment the users need it most this leads us to a design pattern that sequences information and actions across several views which is called Progressive disclosure the purpose is to lower the chances that users feel overwhelmed by what they encounter so by disclosing information progressively interaction designers reveal only the essentials and they help users manage the complexity of what they see in this example the user finds out information regarding the price impact and fees and then about the route used for optimization only by

interacting with the UI it is important to note that designers need to choose very well what to disclose first and in what order why because people rely too heavily on the first piece of information they receive when they're making decisions and this is called the anchoring bias now indexes a platform can be designed in a way that discloses everything in a perfect sequence for the trading process however one thing that gives the user the motivation to look for more would be the confirmation bias as people are more likely to believe information that confirms their existing beliefs or expectations and if they don't find it they might look for it especially on trading platforms when users have certain expectations

regarding cost breakdowns indexes this law can be applied by designing the platform in a way that enables users to double check or that reinforces Traders confidence in their trades you may say by providing clear and accurate Market data or offering risk management tools and this leads us to help the users Find the meaning users need to seek the meaning of what's in front of them to analyze Market data so that they can start trading safely manage risk and if they want to provide liquidity and I'll start talking about processing the information when people are presented with complex shapes or a set of ambiguous elements their brains choose to interpret them in the easiest manner

possible this law can be applied by designing the platform in a way that presents information and data in a very clear and concise manner making it easier for users to understand and process this information now here on this slide I have an example of the creation of a new balancer liquidity pool the UI needs to help the user's cognitive load and working memory because the human brain can only hold a limited amount of information at once how much well it could be limited it could be around 7 plusus two chunks of information look this is an older UI of Unis swap but it exemplifies very well this concept where it was breaking down complex information such as liquidity pool details into smaller more manageable chunks that are easier for

users to understand and process and of course the user needs to pay attention and maybe remember these details in order to manage the risk of impermanent loss now we will move to another concept that falls in the meaning category and it is also related to managing the risk of your own portfolio which is called the scarcity principle in Dex say this law is applied by creating a sense of urgency or scarcity around certain trades or certain assets for example in Vegas trading console the UI highlights the fact that you're running out of collateral coloring the amount in red or orange if you may soon not be able to cover the margin on your positions now having that knowledge you

can act in time to manage effectively your collateral you can either adjust your positions or deposit more and this leads me to acting in time users need to act within a given time to trade effectively and to avoid losses there is this bias which states that people are more strongly motivated by the fear of loss than the prospect of gain and this is called loss aversion interaction designers are looking at implementing different tools for risk management and loss prevention such as by providing clear warnings when Traders are at risk of making a loss or allowing them to adjust parameters for their

orders on this slide I have chosen a very simple swap example where a user could adjust the slippage and they are getting a warning that the transaction can be front run what is interesting is that users tend to remember their interaction with the UI and store it in their memory and this leads me to the fourth category memory users store bits of the interaction in their memory they would usually remember the interaction related to the realized profit and loss or related to managing their funds which leads me to an interesting design effect that leaves a memory footprint there is this effect commonly applied in multiple uis which is called

the Z garnic effect people remember unfinished or interrupted tasks better than completed tasks now to apply this law to dexes designers can use visual cues such as progress bars or status indicate ators to show users the status of their trades and keep them engaged until the transaction is complete and here you have an example of submitting an order on the Vega blockchain and here you have an example of a waiting confirmation on making deposits while bridging with ethereum with this law right here I am finishing the section where I'm presenting some biases but also some Visual and interaction design laws that I have seen being repeatedly applied

indexes and now I would like to highlight some features that would make you realize you're on a DEX and this is how we are doing it on the Vega console uh trading console dab but that could be applied to other dexes as well first managing multiple Keys you may be able to trade on many keys manage multiple accounts while trading and only you would be managing all of them so don't forget if all the keys are yours then all the funds are just yours so it is safe only if you keep them safe now secondly trying to make you realize you're using a transparent decentralized exchange viewing as any public key

remember as a DEX user you're on a blockchain and everything is transparent you just need to know someone's public key and all the information is out there for you to check and since everything is visible on the Chain then the UI can help you visualize that too I personally believe that this transparency feature on the blockchain is really important because it promotes accountability and fairness in the trading process in a completely permissionless world now to conclude there are lots of Concepts that are out there that we could cover in this talk but I would like to highlight the impact of the concepts that have been described today and what they represent at the end of the day we want to give users an accessible way to use

the valuable features of this decentralization while trading so we want to find both usability and usefulness in Defi and we can improve usability by understanding the biases and heuristics that influence this decision cycle steps which are allowing users to filter information seek the meaning act in time and remember bits of the interaction and I believe that by taking all of these in consideration and by using them in a correct and ethical way with empathy we can lead to increased user adoption retention and satisfaction in defi with this I would like to thank you

for listening to me there is a QR code with the slides and with the sources attached if you would like to dive deep into this concept there is also a link to the open source front end of the Vega apps feel free to contact me any time ask me any questions I'll be around for the rest of the conference and more than happy to discuss anything related to dex's and psychology of user experience thank you very [Applause] much

Related talks