The Theory of Games Andrea Schalk [email protected] School of Computer Science University of Manchester Copyright c A. Schalk 2013 i Preface A note to 2020{2019 students of COMP34120 from Jon Shapiro What follows is the 2013 version of a set of lecture notes Written by An- drea Schalk. This was produced by Andrea for the first semester (or more specifically weeks 2 { 5) of an earlier version of this course. It is a shortened and slightly refocused version of a beautiful set of notes for a full-semester course on the theory of games which Dr. Schalk used to teach. The course COMP34120 was devised by Andrea, Xiao-Jun, and me, and these notes were written by Andrea to support her part of the course. Now Andrea has moved on to other teaching, and I have taken over her part of the course. Andrea has very generously agreed to allow me to continue to use her lecture notes, and as I think they are extremely good, and very appropriate for this course, I intend to use them as a textbook. As students you need to note a few things. First, Andrea writes this as if she is teaching the course, which she no longer is. So, on page 2 where she writes \I expect", is not quite right. We are covering the material more quickly and in less depth than she did in the previous course, but are covering more material. I will try to make clear through Blackboard which parts of the notes are relevant for each week. I will not necessarily follow the B, S, A designation of exercises and their relations to exam question, but the exam will not be harder than that. Basically, if you skip to the \What is a game" section in the middle of page 2, you will start where I want you to start. You may also skip page 4, because she is not going to update these notes. From page 5 on is what we will use. There are bookmarks which relate to lectures in earlier version of the course. Ignore them; they no longer pertain. It is also worth noting these notes were produced in 2013. The field, and Andrea's knowledge of the field has developed. These might not be exactly what she would write today. Jon Shapiro September 11, in the year of Covid, 2020 ii This page intentionally left blank. 1 We will not be going through every detail of the notes and it is every student’s responsi- bility to ensure that they have read and understood the relevant material. You will not get much out of these sessions if you haven’t done the reading. There are a few exercises in the notes to help you apply the ideas to concrete examples. Most of these should be straightforward after a thorough study of the notes. Solutions to the exercises are included. Exam questions might take the form of simpler exercises, or might ask you to outline how one might go about solving a more complicated one. The exercises have a rating. This can be: B Basic: I expect you to be able to do this in the exam. S Simple: I expect you to describe how to solve an exercise like this in the exam. A Advanced: These exercises are there for students who want to gain a more thorough understanding, and who would like something to work through. There are also items labelled ‘question’ which encourage you to pause before reading on and to think about the issue raised there. Many of these questions are answered in the following paragraph or two. The material is relevant for the first project in which small groups of students are required to write a program playing a game called kalah. The resulting programs will be run against each other, and some of the project mark will be assigned based on performance in this direct comparison. There will also be some questions in the exam covering the material in these notes. My main responsibility within this course unit is concerned with the delivery of the mate- rial described in these notes. I will also provide some help for the first semester group project in the sessions in Week 7-11. If you have questions about other aspects you should ask the appropriate member of the lecturing team. What is a game? A technical definition of a game appears in the next chapter, here we just want to give an intuition. Every time people (or, more generally, agents) interact with each other and jointly influence an outcome we can think of it as a game. There are lots of examples and everybody will have encountered at least some of these: Somebody has an old mp3-player that he know longer wants. He’s offering it to his • friend and will give it to the person who offers him the most in return. How should his friends decide how much to bid? What rules should he set so that he gets the largest amount? In a shared student flat the kitchen and the bathroom need to be cleaned regularly to • stay in a decent condition—else the landlord is going to make trouble (and most people don’t enjoy living in a filthy place). Does game theory tell us something about what the likely behaviour of the inhabitants is going to be, and does it help explaining it? On a network there is a limited capacity for transporting data. How should the indi- • vidual machines on it be configured to ensure that – the capacity is shared fairly and – the existing capacity is fully exploited whenever there is sufficient demand? Bear in mind that a machine sending information will have no information about what the other machines on the network are doing. We can think of the buying and the selling of shares on the stock market as a game (lots • of entities interact, and the outcome is defined by money and shares changing hands). If we could predict how the market is going to behave in the future we could make a lot of money. 2 There are, of course, also the better known (and expected) examples of playing a board or card game. What all these ‘games’ have in common is that they can be defined more formally in such a way that they have the following properties: A number of agents interact with each other. These are known as the players. • At the end of their interactions there is an outcome that can be described numerically— • each player receives a pay-off which may be negative. There are clearly defined rules as to what decisions each agent can make at which point • in time and once all such decisions have been made the outcome is uniquely determined. These are fairly broad requirements, which are met by many situations in the real world. That is the reason games have been so successful at modelling a great variety of issues, and they are used in areas such as computer science, sociology, economics, biology, and mathematics. In some of these subjects it is quite difficult to come up with a mathematical model that allows a worthwhile analysis of some situation, and in many cases the theory of games supplies by far the most productive one. Rather than trying to describe something through a set of equations all that is required here is the codification of the rules, and putting a number to the potential outcomes that somehow measures its ‘benefit’ (or detriment) to the participants. Game theory allows for an analysis of the resulting model. In some cases, where many similar transactions occur, it can be quite easy to describe the rules for the interaction of two individuals, and the complexity arises from the fact that many such interactions occur over a period of time. We see in the chapters on modelling that this can give rise to systems which are very expressive, but which are still only partly understood. Games have also been successfully studied as models of conflict, for example in biology (animals or plants competing for resources or mating partners) as well as in sociology (people competing for resources, or those with conflicting aims). In particular in the early days of the theory of games a lot of work was funded by the military. Two basic assumptions are being made here which are not completely unproblematic: It is assumed that the numeric value associated with a particular outcome (that is, the • pay-off for each player) adequately reflects the worth of that outcome to all the players. Each player is concerned with maximizing his own outcome (this is sometimes known • as ‘rational behaviour’) without regard of the outcome for the other players. We do not spend much time in questioning these assumptions, but you should be aware of them. Game theory cannot say anything about situations where these don’t apply. In the real world people do not always behave rationally. To give a practical example, assume you are given a coin and, when observing it being thrown, you notice that it shows heads about 75% of the time, and tails the remaining 25%. When asked to bet on such a coin, a player’s chances are maximized by betting on heads every single time. It turns out, however, that people typically bet on heads 75% of the time only! One has to make some kind of assumption on how people will behave in a given situation in order to model it. In the absence of the above rationality assumption it might be possible instead to describe ‘typical’ behaviour and use that (this is often done in economy) but we do not pursue that idea here.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages103 Page
-
File Size-