Hostname: page-component-89b8bd64d-7zcd7 Total loading time: 0 Render date: 2026-05-10T08:20:35.829Z Has data issue: false hasContentIssue false

Flexible Utility Function Approximation via Cubic Bezier Splines

Published online by Cambridge University Press:  01 January 2025

Sangil Lee*
Affiliation:
University of Pennsylvania University of Pennsylvania
Chris M. Glaze
Affiliation:
University of Pennsylvania
Eric T. Bradlow
Affiliation:
University of Pennsylvania
Joseph W. Kable
Affiliation:
University of Pennsylvania
*
Correspondence should be made to Sangil Lee, Department of Psychology, School of Arts and Sciences, University of Pennsylvania, Philadelphia, PA, USA. Email: sangillee3rd@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

In intertemporal and risky choice decisions, parametric utility models are widely used for predicting choice and measuring individuals’ impulsivity and risk aversion. However, parametric utility models cannot describe data deviating from their assumed functional form. We propose a novel method using cubic Bezier splines (CBS) to flexibly model smooth and monotonic utility functions that can be fit to any dataset. CBS shows higher descriptive and predictive accuracy over extant parametric models and can identify common yet novel patterns of behavior that are inconsistent with extant parametric models. Furthermore, CBS provides measures of impulsivity and risk aversion that do not depend on parametric model assumptions.

Information

Type
Theory and Methods
Creative Commons
Creative Common License - CCCreative Common License - BY
This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Copyright
Copyright © 2020 The Author(s)
Figure 0

Figure 1. Three classes of modeling approaches in ITC & RC. Outlined above are characteristics of three different classes of modeling approaches to intertemporal choice and risky choice data. Parametric and fully non-parametric approaches have multiple tradeoffs in theoretical motivation, interpretability, flexibility, and required amount of data. Structured non-parametric approaches try to strike a balance between these two approaches

Figure 1

Table 1. Survey of commonly used ITC and RC models

Figure 2

Figure 2. Delay-specific discount rates and probability-specific degrees of risk aversion for different parametric models. a is the delay-specific discount rate of ITC models in Table 1. All parametric models of ITC in consideration show either constant (exponential) or decreasing delay-specific discount rates. b is the probability-specific degree of risk aversion, which is the log of the ratio between objective and subjective probabilities. A measure above 0 would indicate over-appreciation of probabilities and hence risk-seeking, while a measure below 0 would indicate risk-aversion. All parametric models of RC in consideration assume a behavioral pattern that switches between risk-aversion and risk-seeking at most once. In other words, the probability-specific degree of risk aversion for all RC parametric models can cross 0 (risk-neutral point) at most once

Figure 3

Figure 3. Example 1-piece and 2-piece CBS (a and b, respectively), and model specification of ITC (c) and RC (d) using 1-piece (left) and 2-piece CBS (right). Example 1-piece CBS is shown in (a), and 2-piece CBS is shown in (b). While each piece requires 4 points, because adjoining points overlap, 2-piece CBS requires 7 points. c Shows how CBS is used to flexibly model the delay discounting function and d shows how CBS is used to flexibly model the probability weighting function. In both ITC and RC, the coordinates of the points are free parameters that are estimated. The parameter constraints are shown on the right of each panel in dotted boxes. In the case of 2-piece CBS, there is one less degree of freedom than number of parameters due to the necessity of (x2,y2)\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$$x_{{2}},y_{{2}})$$\end{document}, (x3,y3)\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$$x_{{3}},y_{{3}})$$\end{document}, and (x4,y4)\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$$x_{{4}},y_{{4}})$$\end{document} being on the same line

Figure 4

Table 2. Simulating utility functions for CBS recovery

Figure 5

Figure 4. Choice dataset simulations and recovery results. a, b Shows the average MAE of parametric and CBS functions under different simulating utility functions for ITC and RC, respectively. The large graphs on the left side show the average MAEs across all six simulating functions, while the small graphs on the right side show them for each of the six simulating functions separately. The dotted line shows the MAE of parametric models, while the solid line shows the MAE of CBS models. The dark dotted line shows the MAE of correctly specified parametric models, which serves as the theoretical lower bound of MAE at different dataset sizes

Figure 6

Figure 5. In-sample and out-of-sample prediction performance in ITC (a, left), and RC (b, right). In ITC, 6 parametric models and 2 CBS models are assessed; in RC, 10 parametric models and 2 CBS models are assessed. In both in-sample and out-of-sample, each model’s accuracy (top row) and Tjur’s D (bottom row) are assessed. The error bars represent the standard error of the mean

Figure 7

Figure 6. Plots of eight example participants’ choices in ITC, their best parametric fits and their best CBS fits as determined by LOOCV. a Shows 4 participants whose highest LOOCV Tjur’s D came from parametric models and b shows 4 participants whose highest LOOCV Tjur’s D came from CBS. In each panel, the top row shows the best parametric model (by LOOCV) and the bottom row shows the CBS fit. a participants are selected such that the diverse parametric forms can be shown; b participants are selected to show a variety of CBS fits that did not conform to parametric forms

Figure 8

Figure 7. Plots of eight example participants’ choices in RC, their best parametric fits and their best CBS fits as determined by LOOCV. a Shows 4 participants whose highest LOOCV Tjur’s D came from parametric models and b shows 4 participants whose highest LOOCV Tjur’s D came from CBS. In each panel, the top row shows the best parametric model (by LOOCV) and the bottom row shows the CBS fit. a Participants are selected such that the diverse parametric forms can be shown; b Participants are selected to show a variety of CBS fits that did not conform to parametric forms

Figure 9

Figure 8. Deviation from common parametric forms. a Shows CBS prediction performance minus the maximum of parametric models’ prediction performance in ITC. CBS shows increasingly better predictions as the average daily change in discount rate becomes positive. b Shows the average fitted CBS functions for ITC grouped by the average daily change in discount rate. The solid line is the median function, with gray shade showing the standard errors. c Shows that, in RC, CBS provides better predictions in participants who do not alternate between risk aversion and risk seeking or alternate more than one time. Panel D shows the average fitted CBS functions for RC grouped by the number of switches between risk-aversion and risk-seeking behavior. *t test against 0, p<.05\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$$p< .05$$\end{document}. **p<.01\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$$p< .01$$\end{document}, ***p<.001\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$$p <.001$$\end{document}

Figure 10

Figure 9. Cross-session correlations and standard errors of overall measures of delay discounting (a, c) and risk aversion (b, d) as estimated by the Area Under the Curve (AUC) of CBS. In a, b, the abscissa marks the AUC measure of each participant in session 1 and the ordinate marks the AUC measure of each participant in session 2. The cross-session Pearson correlation measure of AUC was 0.79 for ITC and 0.60 for RC, both with p-values less than .001. c, d shows the standard errors of the AUC estimates obtained through a jackknife procedure

Supplementary material: File

Lee et al. supplementary material

Supplemental Materials
Download Lee et al. supplementary material(File)
File 769.2 KB