A Report on FOLIO: An Expert Assistant for Portfolio Managers
Proceedings of the Eighth International Joint Conference on Artificial Intelligence. Expert Systems. Pages 212-213.
© 1983 International Joint Conferences on Artificial Intelligence
Abstract
FOLIO is an expert system to assist portfolio managers. It interviews a client and, on the basis of expert knowledge, determines the client's investment goals and the portfolio that best mee ts them . FOLIO is a test bed for a theory of heuristic reasoning ab out unc ertainty (Cohen and Grinberg , 1983), and its task has many parallels to established AI paradigms such as diagnosis in medicine and construction of a student model in ICAI domains. FOLIO uses a goal programming algorithm (Hillier and Lieberm CJ. n, 1980) as a relaxation method for resolving the client's multiple goals into a portfolio that fits them optimally. This paper discusses the motivations for building FOLIO; its task, design, and operation; and examples of its recommendations.
- Cohen, P. R., and Grinberg , M. R. 1083. A Th eory of Heuristic Reasoning about Uncertainty. Th e AI Magazine. Summer-Fall , 1983.
- Genesereth , M. R. and Smith , D. E. 1982. Meta-Level Architecture. HPP Report 81•6. Department of Com~uter Science. Stanford University. Stanford, CA.
- Hillier, F. S., and Li eberman , G. J. 1980. Introd uc tion to Operations Researc h. San Fran c isco, CA.: Holden-Day, Inc.
- Rudd, A. and Clasing, H. J. 1982. Modern Port folio Tlleory. Homewood , Illinois: Dow Jone:s-lrwin.
- Sharpe, W. F. 1970. Portfolio theory and capital m::~rkets. New York: McGraw-Hill
- Sharpe, W. F. 1981. Investments. Englewood Cliffs, NJ.: Prentice-Hall .
- Paul Cohen is an NL Industries Fellow. The authors are grateful to Professor William F. Sharpe of Stanford University for many interesting and fruitful conversations.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
A report on FOLIO: An expert assistant for portfolio managers
Paul R. Cohen
Heuristic Programming Project Department of Computer Science Stanford University, Stanford CA. 84305
Mark D. Lieberman Drexel Burnham Lambert Palo Alto Square, Palo Alto CA 94306
goal is to allocate a client's assets to one or more funds of securities, rather than to individual securiti ccs. FOLIO recognizes nine funds (or classes) of securities. These include dividend oriented , low risk stocks, government and highly rated taxable bonds of mixed maturities, tax- free municipal bonds, growth stocks, and others. FOLIO infers the client 's goals during an interview and, at the end, composes z. portfolio of shares in each fund. This composition is guaranteed to provide an optimum fit to the client's goals. FOLIO leaves the investment advisor free to instantiate its recommendations with particular securities.
Since asset allocation involves shares in funds of securities, FOLIO requires only aggregate knowledge about the properties of the securities in each fund; for example, it knows the average riskiness and rate of return for the entire fund, not for individual securities within it. This hils three important consequences. First, the program need not i<.now thousands of stocks and bonds individually and intimately. Second, since aggregate figures change more slowly than those for individual securities, FOLIO can be kept current without perpetually changing parameter values for large numbers of securities. Third, the responsibil ity for security analysis rests with the investment advisor, not with FOLIO.
The Structure of FOLIO
FOLIO has three main components: a set of interview functions, a forward -chaining production system for inferring the client's goals, and a goal programming algorithm to maximize the fit of the client's portfolio to his goals. The interview functions are very simple, distinguished only by an editor to allow the client to change his answers. Since most clients are asked the same questions, each client is asked all the questions at the beginning of the consultation.
FOLIO uses a goal programming algorithm to maximize the fit of a portfolio to the goals that the portfolio is supposed to satisfy. Goal programming is a kind of linear programming in which the objective function is made up of terms describing the deviations from the target values of each goal. The result is a solution that minimizes the summed deviation from all the goals.
Fourteen goals received much discussion. These include hedges, goals for different kinds of income, and goals for acceptable degrees of risk. Each goal is represented by five parameters: a target value that is more desirable than any other; a penally for exceeding the target value, which is a monotonically nondecreasing function of the difference between the target value and th8 actual value; a similar penalty for falling short of tile target
Abstract
FOLIO is an expert system to assist portfolio managers. It interviews a client and, on the basis of expert knowledge, determines the client's investment goals and the portfolio that best meets them. FOLIO is a test bed for a theory of heuristic reasoning about uncertainty (Cohen and Grinberg, 1983), and its task has many parallels to established AI paradigms such as diagnosis in medicine and construction of a student model in ICAI domains. FOLIO uses a goal programming algorithm (Hillier and LiebermCJ.n, 1980) as a relaxation method for resolving the client's multiple goals into a portfolio that fits them optimally. This paper discusses the motivations for building FOLIO; its task, design, and operation; and examples of its recommendations.
Motivations for FOLIO
Modern portfolio theory (Rudd and Clasing, 1982; Sharpe, 1981) is currently applied by large institutions to problems of asset allocation for large clients, such as pension funds, as well as for small , individual clients. The central idea of these applications is to divide up the client's assets between several funds that have different characteristics. The relevant characteristics of the client are the client's desired risk and return; given these, an optimum allocation of assets can be found with a quadratic programming algorithm (Sharpe, 1970). Other characteristics of the client, besides those associated with risk and return, can enter into the problem but in practice are rarely considered. This may be because it is difficult to assess these factors iJ.CCurately. ·The client's risk tolerance is uncertain, as is his or her tax status, asset structure, and investment goals. The information provided by the client is often incomplete and inaccurate, and sometimes it is even contradictory. Thus, no matter how sophisticated an asset allocation algorithm is, its recommendations are subject to the same suspicion as the data on which they are based.
Our goal in the FOLIO project has been to develop an asset allocation program that is sensitive to the uncertainty implicit in client data. Our research takes two paths: first, our work on an expert system to interview a client and recommend a portfolio and, second, our development of a theory of heuristic reasoning about the uncertainty that arises during the interview. This paper discusses the expert system research.
The Asset Allocation Problem
FOLIO's tasks are to figure out what the client needs, and to allocate his or her assets. Asset allocation is a simplification of the more genP.ral problem of portfolio management, because the value; a lower bound, below which the penalty becomes infinite; and an upper bounct, above whi ch the penalty becomes infinite. These p2rameters are described by four linear co!lstraints on each goal:
Wh.ere Fi is a number that indicates whether and to what extent fund i satisfies a given goal, in this case, g1 .
Assuming that lowerbound :<::; target ::; upperbound (which is always the case), if a portfolio could be found such that ditr and di ff + were equal to zero for every goal , that portfolio wou ld be a perfect fit to its goals. This rarely happens, however, so, instead, one might try to find a portfolio that minimiLes the sum of diff + and diW for all goals g. In fact , ;:~n additional embelli s~ment allow~ us to emphasize some goals over others: We can multiply diff + and/or di1f- by a number that indicates the importance of aghieving goal 0 , and try to minimize the y foll owing sum:
In fact, p + . and p- . are just the respective penalties for 9' gl exceeding and falling short of the target value for goal i. r=quation 2 is minimized with a modified, two·phase simplex algori thm (Hill ier and Lieberman, 1980). Parts of the algorithm are written in Franz Lisp (FOLIO's "native language" ). although the array pivoting procedures are Pascal "foreign functions. " The algorithm takes about five minutes to produce a portfolio· for a client with three or four accounts on a lightly loaded DEC 11/780.
Having discussed how· FOLIO derives a portfolio from a description of the client's goals, we now turn to the problem of inferring those goals from data collected during the interview. FOLIO infers a clien t's goals with heuristic rules, two of which are shown in Figure 1.
In general , the conditions of FOLIO's ruies test some aspect of the client'~ assets structure, risk :>latus, statec! goals, or tax bracket. Most conclusions specify one or more goal statements. The first of the rules in Fig·.ff'e 1 asks whether the client needs a chunk of cash in less than a year. if so, it is the judgment ·oi FOLIO's consultinq exuert that the necessary sum
- IF the client needs a rr~ l ativcly large sum of money f·om this account in less than a year,
- THEN set tho lower bound for the goal of "preserve capital" to produce the needed amount.
- IF the client has a medium or high income need, and the client is not in a high tax bracket, and the client has low tolerance for risk to income
- T~:EN set the target value for taxable interest to its maximum, and set the penalty for failing to achieve the target to be proportional to the cl ient's incom::: need.
Figure 1:
Two of FOLIO's rules for inferring goals
should be invested in a fund that preserves capi tal (in practice, a money market fund). Note that, because a lower bound is ~ct in this exampl<l, the program wi ll try to guarantee that at least the need<:d amount is invested in money market funds. 1 The first rule in Figure 1 explicitly mentions the client's account. In fact, most of FOLIO's rules apply to the "current" account, which may be one of several. Some rules, however, look at all the accounts at once. For example, FOLIO would recommend that a client's portfolio produce interest in the account that is taxed the least; indeed, it encourages the client by its recommendations to seek as mLrch interest a:; possible in tax.free and tax-deferred accounts.
Tha second rule in Figure 1 illustrates the flexibility of using penalties in addition to target values for goals. FOLIO will seek as much taxable interest as possible for a client who satisfies the conditions of the rule, but it will not be penalized severely for failing to realize the maximum figure if the client's income need is not high. Rules with conclusions that are sensitive to the magnitude of a parameter in the conditions are· useful when the conditions are uncertain. For example, one may be uncertain whether the client has enough interest-need to warrant the goal of maximum taxable interest. If the client says his or her interest need is very high, then FOLIO can be relat iwJiy certain that the :~ctu a l interest need is at lea~t medium, and so will set a penalty that will make it stri ve to achieve tl10 maximum possible taxable interest. If, on the other hand , thA client's stated interest need is medium, then FOLIO is less certain whether it is at least medium, and ~o will not penalize itself so he:wily for failing to achieve the maximum pos:;ible interest.
1 tn practice, if contrad ictory bounds are set. the linear programming algorithm wil: !.le unable ~o find a feasible solution. For example, if we require that 80% of a client's assets produce tax. free interest, and 60% produce capital gains, and 40% produce taxable iroterest, the LP will lllow up because 180% of the client'" assets are being required for three mlltli311y exclusive goals. Of course, it in perfectly pc1 missiblc to want flO% of the assets to pwduce dividends and 80% to produce Crtj.Jital gain!:>, b[:cau~e these an=!n't mutually exc:lusive. In general, FOLIO's rules set tar~Jl'l vah:es nnrl penalty functions instead of bounds to avoid the prohlems i: ·,herent i11 S(:Uino inflexible bou11ds.
Note that the rules' conclusions do not ~pecify funds but, rather, goals. It is the responsibi lity of the goal programming algorithm to make a selection of funds that best satisfy the goals.
The current version of FOLIO uses about 50 of these rules to infer one or more of the five parameters of each of 14 goals. Many rules conclude about all fi ve parameters of a goal. It is possible to have multiple values for a goal parameter; for example, the target value for the "preserve-capital" goal might be set to both 2.0o/o and 7.0% by different inference rules. Currently, such conflicts are resolved by other heuristics rul es; for example, if there are multiple values for p' for a goal , the maximum of the values is chosen. Conflicts should be resolved by selecting the value in which FOLIO has the most certainty, but this awaits the theory of reasoning about uncert o.i;1ty discussed in Cohen and Grinberg (1983).
Summary and Future Research
FOLIO is an expert assistant for portfolio managers. It analyses the client's needs and suggests allocations of clients' assets to a sma!l numbor of asset classes. It has three concep tually distinct parts: The first conducts <1n interview and produces many useful parameters (such as tax bracket, and proportion of current investments in equity). The second part uses expert, heuristic inference rules to infer the client's goals. Lastly, FOLIO uses an optimizing technique to ensure that the final portfolio comes as close as possible to satisfying the client's goals. FOLIO's recommendations are in terms of classes of investments. The investment advisor who uses FOLIO then implements these recommend<: ti ons by buying securities that belong in the recommended classes.
FOLIO is as yet untested, although it is currently being run on extant accounts. The program is immune to a problem that we believe troubles human advisors, namely, forming a preconception about the client and then ignoring interview evidence that is contrary to the preconception. We expect that a program like FOLIO could significantly increase an advisor's efficiency, and, of course, it is a natural fron\-end for an electronic filing system fer storing client information. Running alone, overnight perhaps, it could review old accounts in the light of current economic circumstances and alert the advisor to accounts that may need adjustments in their portfolios.
Acknowledgements
Paul Cohen is an NL Industries Fellow. The authors are grateful to Professor William F. Sharpe of Stanford University for many interesting and fruitful conversations.
@inproceedings{ijcai1983p50,
title = {A Report on FOLIO: An Expert Assistant for Portfolio Managers},
author = {Cohen, Paul R. and Lieberman, Mark D.},
booktitle = {Proceedings of the Eighth International Joint Conference on
Artificial Intelligence, {IJCAI-83}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Alan Bundy},
pages = {212--213},
year = {1983},
note = {Expert Systems},
url = {https://ijcai.org/proceedings/1983/50},
}
TY - CPAPER TI - A Report on FOLIO: An Expert Assistant for Portfolio Managers AU - Cohen, Paul R. AU - Lieberman, Mark D. T2 - Proceedings of the Eighth International Joint Conference on Artificial Intelligence, IJCAI-83 PB - International Joint Conferences on Artificial Intelligence PY - 1983 SP - 212 EP - 213 UR - https://ijcai.org/proceedings/1983/50 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards