Jekyll2023-01-27T03:52:38+00:00/feed.xmlJoey RudolerHome of a curious data scientist / physicist / musician / literary fanboyOptimal Kick Return Paths (NFL Big Data Bowl 2022)2022-01-07T03:00:00+00:002022-01-07T03:00:00+00:00/blog/2022/01/07/big-data-bowl<p>The following is not exactly a blog post - rather, it’s my team’s submission to the 2022 NFL Big Data Bowl. The league released three seasons of tracking data from special teams plays, and asked for creative projects using that data to gain insights for NFL teams.</p> <h1 id="introduction">Introduction</h1> <p>The basic question we seek to answer is:</p> <blockquote> <p><em>What path should a kick returner take?</em></p> </blockquote> <p>Or, in the mind of a data scientist, can we devise a mathematical framework which can tell us the optimal return path for a kick returner given the current distribution of defenders and blockers on the field? This 2022 NFL Big Data Bowl project is our attempt to do so.</p> <p>The basic idea is as follows:</p> <h3 id="model">Model</h3> <p>We begin by regressing the tracking data of kick returns, as summarized by 100 features, onto the value of a kick return. Note that the <em>value</em> of a yard line is the expected points of the next score if you start at that yard line, and so the value of a kick return is simply the value of the end yard line of the kick return. This regression yields a function $$\hat{f}$$ which, given the tracking data of a kick return frame, returns the expected value of that kick return frame.</p> <h3 id="predict">Predict</h3> <p>Given $$\hat{f}$$ and the tracking data of all players on the field during a given kick return frame, we compute the kick returner’s optimal next location by maximizing $$\hat{f}$$ over a set of candidate next locations for the kick returner. With this, we can compute the optimal kick return location at any frame, and we can compute a complete optimal kick return path by repeating the procedure over sequential frames.</p> <h3 id="evaluate-players">Evaluate players</h3> <p>We conclude our study by comparing actual kick return movements to our computed optimal movements, and by devising a metric to judge a kick returner’s decision making.</p> <h1 id="the-regression">The Regression</h1> <p>We use a multiple linear regression model primarily because we want control over an <em>explicit</em> model of kick return decision-making with interpretable and actionable weights associated with each input feature. We could instead use a neural network to (potentially) improve predictive power, but neural nets lack interpretability, and so we would not be able to say with any certainty <em>why</em> our model suggested certain return paths. Of course, predictive power is important, so this is a good area for future work.</p> <h2 id="response-column">Response Column</h2> <p>Our response variable (dependent variable) is $$V$$, the “value” of the ending yard line of a kickoff return. We define the value of a yardline $$z$$, where $$z$$ means $$z$$ yards away from scoring a touchdown, as the expected number of points of the next score given that you start with a first down at yard line $$z$$. To find $$V_z$$ for each $$z$$, we simply take the average value of all points of the next score from every first down at yard line $$z$$ from 2010 to 2018. Then, we smooth these values. We performed this computation using <code class="language-plaintext highlighter-rouge">nflFastR</code> data in a separate project . Below is a plot of $$V_z$$ as a function of $$z$$.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1tbbTe1ws0iG02XtUi2VPHZGHWa64nur8" alt="" /></p> <p>For the remiander of the project, we use the $$x$$ coordinate of the $$\{(x,y)\}$$ grid representing the football field, where $$x \in [0,120]$$ denotes the yard line, $$y\in [0,53.3]$$ denotes the latitude, and the origin $$(0,0)$$ denotes the bottom left corner of the field. Thus the value of a kick return ending at yardline $$x$$ is $$V_{110-x}$$.</p> <h2 id="feature-kick-returners-yardline">Feature: Kick Returner’s Yardline</h2> <p>$$x_{kr}$$, the $$x$$ yardline of the kick return in the current frame, is a feature because the value of a kick return frame depends on how close the kick returner is to the endzone.</p> <h2 id="feature-jth-projected-gap-distance">Feature: $$j^{th}$$-Projected-Gap-Distance</h2> <p>For each $$j \in \{1,...,11\}$$, we find the $$y$$-distance to the $$j^{th}$$ closest defender when the kick returner is projected onto the average $$x$$ location of the defenders. Mathematically, letting $$kr$$ be the index of the kick returner, $$dj$$ be the index of the $$j^{th}$$ closest defender, and $$\theta = -(dir_{kr} - 90)$$, the feature is given by $$\Delta y_{dj} = (y_{dj} - y_{kr}) + (\frac{1}{11}\sum_{j=1}^{11}x_{dj} - x_{kr})\cdot \tan(\theta).$$</p> <p>Here is a picture which illustrates the feature.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1RReSGzmIbjJ8-tV6SWtmBq1s2NrUJv0i" alt="" /></p> <h2 id="indicator-variable-jth-defender-cannot-catch-the-kick-returner">Indicator Variable: $$j^{th}$$-Defender-Cannot-Catch-The-Kick-Returner</h2> <p>Letting $$dj$$ denote the $$j^{th}$$ closest defender to the kick returner, we want an indicator variable</p> $C_j = \unicode{x1D7D9}\{ dj \text{ cannot catch } kr\}.$ <p>We define $$C_j$$ as 1 if and only if $$dj$$ cannot get to the intersection $$**$$ in the explanatory image below before $kr$, which is calculated using the locations, speed, and direction of the $$kr$$ and $$dj$$. Note that $$C_j$$ itself is not a feature, but will be used in a feature below.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1rJHev2T2Jn8FqJUkC3jwZKAPfvP_uiZv" alt="" /></p> <h2 id="indicator-variable-jth-defender-is-blocked">Indicator Variable: $$j^{th}$$-Defender-Is-Blocked</h2> <p>Letting $dj$ denote the $j^{th}$ closest defender to the kick returner, we want an indicator variable</p> $B_j = \unicode{x1D7D9}\{ dj \text{ is blocked} \}.$ <p>We define $$B_j$$ as 1 if and only if a blocker can get to the intersection $*$ in the explanatory image below before $dj$, which is calculated using the locations, speed, and direction of the blockers and $$dj$$. $$B_j$$ itself is not a feature, but will be used in a feature below.</p> <p><strong>Note</strong>: we assume that each blocker is only able to block a single defender. Defenders and blockers are considered in order of their proximity to the kick returner. For instance, we first consider the closest defender; if a blocker can intercept them, that blocker is ineligible when we consider the second closest defender. Thus, the $j$th defender is blocked if and only if their is an <em>available</em> defender that can reach intersection $*$ first.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1o35rS5CHW0Cpk3pu83F88sJDvpfUcA29" alt="" /></p> <h2 id="feature-segmented-distance-to-the-jth-closest-defender">Feature: Segmented Distance to the $$j^{th}$$ Closest Defender</h2> <p>First, let</p> $A_j = (1-B_j) \cdot (1 - C_j)$ <p>be the $$j^{th}$$-<em>Able-to-Tackle</em> indicator variable, which is 1 if and only if the $j^{th}$ defender can catch $kr$ and is not blocked.</p> <p>Denote the distance between the kick returner $$kr$$ and the $$j^{th}$$ closest defender $$dj$$ as $$d(kr,dj) := \sqrt{(x_{kr}-x_{dj})^2 + (y_{kr}-y_{dj})^2}.$$</p> <p>Let $$\lambda_1$$ and $$\lambda_2$$ be hyperparameters encoding how close $$kr$$ and $$dj$$ are in terms of $$x$$-distance in yards. For now, we set $$\lambda_1 = 2$$ and $$\lambda_2 = 2$$. If inclined, we can do a cross validation to determine better values for these hyperparameters.</p> <p>Then, in our regression, we want terms indicating the distance of $$kr$$ to $$dj$$, with different coefficients depending on whether the defender is in front of or behind the kicker, whether the defender is blocked, and whether the defender can catch the kick returner. For example, a defender who is 5 yards away from the kick returner should be treated differently depending on whether he is blocked or not. Also, a defender who is 1 yard away from the kick returner should be treated differently depending on whether he is in front of or behind the returner. Defenders can have a vastly different impact on the outcome of the play depending on these conditions.</p> <p>So, for the $$j^{th}$$ defender, we have 8 <em>segmented-distance</em> features: \begin{align*} &amp; d(kr,dj) \cdot \unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (\lambda_1,\infty) \} \cdot A_j \\ &amp; d(kr,dj) \cdot \unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (\lambda_1,\infty) \} \cdot (1-A_j) \\ &amp; d(kr,dj) \cdot\unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (0,\lambda_1] \} \cdot A_j \\ &amp; d(kr,dj) \cdot\unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (0,\lambda_1] \} \cdot (1-A_j) \\ &amp; d(kr,dj) \cdot \unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (-\lambda_2,0] \} \cdot A_j \\ &amp; d(kr,dj) \cdot \unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (-\lambda_2,0] \} \cdot (1-A_j) \\ &amp; d(kr,dj) \cdot \unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (-\infty, -\lambda_2] \} \cdot A_j \\ &amp; d(kr,dj) \cdot \unicode{x1D7D9}\{ x_{kr} - x_{dj} \in (-\infty, -\lambda_2] \} \cdot (1-A_j) \\ \end{align*}</p> <h2 id="run-the-regression">Run the Regression</h2> <p>Using these 100 features (1 $x_{kr}$ feature, 11 projected-gap-distance features, and 88 segmented distance features), and our response column $V$, we run an ordinary linear regression to obtain a function $\hat{f}$ which, given the tracking data of all players on the field during a kick return, returns the expected value of the play.</p> <p>We train the regression on all kick returns (removing touchbacks) from 2018 and 2019, leaving all kick returns from 2020 as testing data. The out-of-sample rmse is $0.51$, which is fine considering the magnitude of $V$ and how noisy kick returns are.</p> <h1 id="algorithm-choosing-the-optimal-run-path-for-a-kick-returner">Algorithm: Choosing the Optimal Run Path for a Kick Returner</h1> <p>The result of our regression is a function $\hat f$ which, given the $(x,y,s,dir)$ variables of each player on the field during a given kick return frame, outputs the expected value of this kick return.</p> <p>To choose the optimal run path for a kick returner, we use a greedy algorithm. The basic idea is that, given the tracking data of all players on the field during the current frame of a kick return, we choose the kick returner’s location for the next frame as the location which maximizes the value of $\hat{f}$, keeping the variables for all the other players the same.</p> <p>More specifically, suppose the kick returner’s state at the current frame is given by $(x_{0,kr},y_{0,kr},s_{0,kr},a_{0,kr},dir_{0,kr})$. Let $\mathcal{C}$ denote the set of candidate kick returner states for the next frame. $\mathcal{C}$ consists of 16 equidistant points on the circle centered at $(x_{0,kr},y_{0,kr})$, having radius $s_{0,kr} \cdot \Delta t$, where $\Delta t = 0.1$ seconds is the time difference between frames. Moreover, if $(x_{1,kr},y_{1,kr})$ is a kick returner’s candidate location for the next frame, then his candidate next direction $dir_{1,kr}$ is given by the angle from $(x_{0,kr},y_{0,kr})$ to $(x_{1,kr},y_{1,kr})$, and his candidate next speed is given by $s_{1,kr} = s_{0,kr} + a_{0,kr}\cdot \Delta t.$ Note that his candidate next acceleration $a_{1,kr}$ is irrelevant because acceleration is not used in our features or in $\hat f$. Moreover, we can’t even compute $a_{1,kr}$ because we have no information about the kick returner’s jerk (derivative of his acceleration). In symbols, a kick returner’s optimal next state is given by</p> $(x_{*,kr},y_{*,kr}) := \text{arg}\max_{\mathcal{C}} \hat{f}(x_{1,kr},y_{1,kr},s_{1,kr},dir_{1,kr}).$ <p>Using our optimization framework, we can construct the kick returner’s optimal return path during a kick return. Our predictions can allow us to:</p> <ol> <li>Visualize and assess a returner’s decision making on individual plays by comparing their observed path to a simulated optimal path.</li> <li>Establish quantitative metrics for evaluating a returner’s decision-making.</li> </ol> <p>We provide examples and discuss in more detail below.</p> <!-- In fact, by substituting $kr$ for the index $j$ of any other player on the field in the above algorithm, we can compute the optimal movement for _any player_ on the field during a kick return. --> <h1 id="examples-compare-a-kick-returners-actual-movement-to-his-computed-optimal-movement-over-the-course-of-several-frames">Examples: Compare a kick returner’s actual movement to his computed optimal movement over the course of several frames.</h1> <p>Here, we consider several example kick returns (all real plays from 2020 - our holdout dataset).</p> <p>At a given point in each of these kick returns, we start with the actual state of every player on the field, and compute the kick returner’s optimal movement 5 frames ahead. We show the kick returner’s <span style="color:green">computed optimal trajectory in green</span>, and show his <span style="color:red">observed trajectory in red</span>. We also show the observed trajectories of the blockers in black and the <span style="color:red">defenders in blue</span>.</p> <h3 id="example-1">Example 1</h3> <p><img src="https://drive.google.com/uc?export=view&amp;id=1dJ_RN0bTHUWxdprIDGQlU6BpbtPmGQvx" alt="" /></p> <p>At the start of this kick return, the kick returner moves southwest, but our algorithm recommends moving northwest. Moving northwest involves going towards the open field, whereas going southwest involves moving towards the blockers.</p> <h3 id="example-2">Example 2</h3> <p><img src="https://drive.google.com/uc?export=view&amp;id=1ttJNZAXt5doR_bN1WXYZpiW0mIu0ht7K" alt="" /></p> <p>At a critical juncture in this kick return, the kick returner moves backwards to try to run around the entire field, but ends up losing 15 yards. Our algorithm recommends moving slightly forwards and getting tackled.</p> <h3 id="example-3">Example 3</h3> <p><img src="https://drive.google.com/uc?export=view&amp;id=1coGBI-9Sh9KIM_ohlv-pQ7kUucpY2wue" alt="" /></p> <p>The kick returner moves southwest towards his blockers, but our algorithm recommends moving northwest towards the open field.</p> <h1 id="example-for-each-frame-compare-a-kick-returners-actual-movement-to-his-computed-optimal-movement">Example: For each frame, compare a kick returner’s actual movement to his computed optimal movement.</h1> <p>Here, we consider an example kick return. At each frame, given the actual state of every player on the field, we compute the kick returner’s optimal movement for the next frame. After each frame, we reset the location of each player to his actual location. The animation below shows the kick returner’s actual movement (in red) and the optimal movement at each step (in green), along with the blockers (in black) and the defenders (in blue).</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1pjxxuEakx8mulxW4yHq3RSlmWvbgvbTg" alt="" /></p> <p>At the beginning of the return, our algorithm wants the returner to move upwards towards the open field. As the play develops and that option is closed off by defenders, the algorithm changes tactics to try and find the best path that seeks open space and utilizes blockers.</p> <p>This visualization - showing the frame-by-frame deviations of the algorithm from the returner’s actual path - should help provide some intuition for the metrics we describe in the following section.</p> <h1 id="two-metrics-for-evaluating-a-kick-returners-decision-making-adom-and-aebo">Two metrics for evaluating a kick returner’s decision making: <em>ADOM</em> and <em>AEBO</em></h1> <h2 id="adom"><em>ADOM</em></h2> <p>For the $$i^{th}$$ frame, let $$(x_{i+1,1},y_{i+1,1})$$ be the kick returner’s observed next location, and let $$(x_{i+1,*},y_{i+1,*})$$ be our computed optimal next location for the kick returner. The distance $$d_i$$ between these 2 points is</p> $d_i = \sqrt{(x_{i1}-x_{i*})^2 + (y_{i1}-y_{i*})^2}.$ <p>We define a kick returner’s <em>average deviation from optimal movement</em>, or <em>ADOM</em>, as the distance between the observed and optimal next kick-returner locations averaged over all his kick-return frames,</p> $ADOM := \frac{1}{n} \sum_{\text{frames } i=1}^{n} d_i.$ <p>A <em>lower</em> $$ADOM$$ indicates better kick-return decision making.</p> <p>For instance, the $$ADOM$$ of the example kick return shown above is $$0.55$$, indicating that the kick returner is on average about a half yard away from optimal movement during that kick return.</p> <p>As we used all kick returns from 2018 and 2019 as training data for our regression, this leaves all 2020 kick returns as hold-out testing data.</p> <p>Rather than evaluate every frame of every play, to increase our computational efficiency we found the optimal next kick-returner location for every $$10^{th}$$ frame of every kick return from 2020. We then computed $$ADOM$$ for every kick returner in this period, which produced the rankings of the 10 best kick return decision makers, for kick returners recording at least 15 kick returns. Note that a lower <em>ADOM</em> corresponds to better decision making during returns.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1_gVAdZ4l3wCvEdPqzApwELf2FIbM9lWV" alt="" /></p> <p>To understand how <em>ADOM</em> relates to a more familiar metric used to judge kick returns, average return yardage, we plot <em>ADOM</em> vs. avg. return yardage below.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1CKkXoh8kWIdFoK0ZWnX9Q3kzk_htEqrw" alt="" /></p> <p>There is no clear relationship across returners between ADOM and Average Return Yardage. This is not necessarily surprising; ADOM is not directly an outcome-based metric, meaning that it only reflects how close the returner’s decisions are to the optimal decisions - ADOM does not tell us anything about the yardage that those decisions earn. So, a lower ADOM does not necessarily directly correspond to higher return yardage. ADOM weighs all decisions equally, so it reflects which players make good decisions <strong>consistently</strong> - not which players make critical good decisions resulting in high yardage gains. Inconsistent players and so-called “home run hitters” who take high-variance strategies might have high yardage numbers but a low ADOM.</p> <p>To evaluate which players make <strong>critical, high-impact</strong> decisions that result in large yardage gains, we develop another metric.</p> <h2 id="aebo"><em>AEBO</em></h2> <p>The <em>expected value added</em>, or <em>EVA</em>, of moving from $$(x_{i0},y_{i0})$$ to the observed next location $$(x_{i+1,1},y_{i+1,1})$$ in the $$i^{th}$$ frame is</p> $EVA_{i,obs} = \hat f( x_{i+1,1}, y_{i+1,1}) - \hat f(x_{i0},y_{i0}).$ <p>Similarly, the <em>EVA</em> of moving from $$(x_{i0},y_{i0})$$ to the computed optimal next location $$(x_{i+1,*},y_{i+1,*})$$ in the $i^{th}$ frame is</p> $EVA_{i,*} = \hat f( x_{i+1,*}, y_{i+1,*}) - \hat f(x_{i0},y_{i0}).$ <p>We define a kick returner’s <em>average EVA below optimal</em>, or <em>AEBO</em>, as the difference in optimal EVA and observed EVA averaged over all his kick-return frames,</p> $AEBO := \frac{1}{n} \sum_{\text{frames } i=1}^{n} \big( EVA_{i,*} - EVA_{i,obs} \big).$ <p>We computed $AEBO$ on the same dataset on which we computed <em>ADOM</em>, producing another ranking of the 10 best kick return decision makers, for kick returners recording at least 15 kick returns.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1unLj2w3u-IeYeEKHygQakSNBxLyweMuC" alt="" /></p> <p>A <em>lower</em> $AEBO$ indicates better <strong>critical</strong> kick-return decision making. AEBO accomplishes this because it evaluates the <em>difference in predicted outcomes</em> based on decisions, rather than the difference in the decisions themselves. Therefore, it does not value all decisions equally - decisions are effectively weighted by their importance (as measured by EVA).</p> <p>As before, we plot <em>AEBO</em> vs. avg. return yardage to gain insight on our metric.</p> <p><img src="https://drive.google.com/uc?export=view&amp;id=1FvPVxE2RuFD3aCNZL8mcABZ9z3JzcMV5" alt="" /></p> <p>The correlation between AEBO and Average Return Yardage is striking - clearly players with a lower AEBO (and therefore better critical decision making) earn more yards.</p> <p>This result, which comes from held out data (not the data our model was trained on), provides evidence that our model and our approach are valid. Our approach led to a metric <em>AEBO</em>, which gave us a way to evaluate kick returners and produced a ranking that matched our intuition of what it means to be a good kick returner - highly ranked players have high average return yardage. Hence we feel validated in our approach.</p> <p>Moreover, <em>AEBO</em> is blind to the <em>final</em> outcome of a kick return, yet players with a low <em>AEBO</em> are the players with a high avg. return yardage! This is a fantastic insight because it gives us a way of finding <strong>hidden value</strong>. NFL teams want players who produce a high avg. return yardage. Unfortunately, the final outcome of a kick return is very noisy, because players can benefit from an exceptional block or a lucky missed tackle, for instace. <em>AEBO</em> mitigates this noise by aggregating over <em>all</em> of a kick returner’s frames, not just his final outcomes.</p> <p>NFL teams should consider using <em>AEBO</em> as a tool to evaluate a kick returner’s value. Players with a low <em>AEBO</em> might be undervalued - they may be due for an increase in yardage sooner rather than later. On the other hand, players with a high <em>AEBO</em> may be overrated - perhaps they’re just getting lucky and are due for a regression when their poor decision-making catches up with them.</p> <h1 id="conclusion">Conclusion</h1> <p>We devised a novel framework for computing the optimal return path for a kick returner. Our pipeline of regressing kick return tracking data on the value of a kick return gave us a function $\hat f$ to compute the expected value of a kick return frame, and we maximized this $\hat{f}$ to find the next location for a kick returner to move to.</p> <ul> <li>We used our algorithm to evaluate kick returner’s decision making and to examine critical junctures in kick returns. This is potentially valuable for NFL coaches to show players where they could have made better decisions.</li> <li>Our <em>AEBO</em> metric allows us to quantitatively evaluate a kick returner’s gameplay without being overly reliant on the noisy final outcomes of his kick returns. This is potentially valuable for NFL teams looking to evaluate personnel and find hidden talent.</li> </ul> <h2 id="future-work">Future Work</h2> <p>There is still much room for improvement, which is expected when working on such a complex problem. Future work includes:</p> <ul> <li>Improve the features and consider feature importance.</li> <li>Consider a deep neural network instead of a regression for $\hat{f}$.</li> <li>Consider using a minimax-game-tree framework, rather than a greedy algorithm, for computing the optimal return path.</li> </ul> <h2 id="our-code">Our Code</h2> <p>We wrote all our code in a single <code class="language-plaintext highlighter-rouge">Colab</code> file, which can be found at the following link.</p> <blockquote> <p>https://drive.google.com/file/d/1e9kIU5ZTCLfQdKfZP3s1mqFVT_wX-7Gc/view?usp=sharing</p> </blockquote> <h2 id="citations">Citations</h2> <ol> <li>Value_1st_Down: <code class="language-plaintext highlighter-rouge">1stdown_model1.R</code> from https://github.com/snoopryan123/x_pts_nfl/tree/main/code2</li> </ol> <h2 id="find-us-on-twitter">Find Us on Twitter</h2> <p>Ryan Brill: <code class="language-plaintext highlighter-rouge">@RyanBrill_</code></p> <p>Joey Rudoler: <code class="language-plaintext highlighter-rouge">@JRudoler</code></p> <p>Tai Nguyen: <code class="language-plaintext highlighter-rouge">@taidn97</code></p>The following is not exactly a blog post - rather, it’s my team’s submission to the 2022 NFL Big Data Bowl. The league released three seasons of tracking data from special teams plays, and asked for creative projects using that data to gain insights for NFL teams.Modernism is really a bad attempt at the Random Surfing Model2021-07-14T03:00:00+00:002021-07-14T03:00:00+00:00/blog/2021/07/14/modernism-as-stochasticity<p><img src="https://eisnermuseum.org/wp-content/uploads/2019/10/Kandinsky_-_Jaune_Rouge_Bleu.jpg" alt="Modern Art" /></p> <h2 id="lets-talk-about-art">Let’s talk about art</h2> <p>Throughout my high school and college years, I was constantly baffled by the prominence of an interdisciplinary artistic movement known as <a href="https://en.wikipedia.org/wiki/Modernism">Modernism</a>. As far as I could tell, the only thing about Modern Art that was consistent was that it was confusing and aesthetically unappealing. Think I’m being harsh? Listen to some of John Cage’s <a href="https://www.youtube.com/watch?v=N0-y8oNDLgU">prepared piano</a> and tell me I’m wrong. Anyways, this post will be aimed at trying to talk through my understanding of Modernism, how it’s justified, and why I think it’s still kind of dumb. Disclaimer that my summaries of historical and artistic movements are based 20% off real coursework and 80% off of Wikipedia.</p> <h2 id="some-background">Some background</h2> <p>Modernism as a movement in art is really tied to a deeper philosophy that arose in the late 19th and early 20th centuries which advocated for a departure from the artistic and societal norms which had dominated Western Culture until that point. Following the Dark Ages, art and culture flourished during the Renaissance, and as Renaissance humanism sparked the European Enlightenment people truly began to believe that human ingenuity was powerful enough to effectively perfect ourselves in the domains of science, philosophy, and art.</p> <p>The profits of the Industrial Revolution fueled the confidence of artists and scientists alike. The idea of the artistic “genius” who could create art from the depths of his own imagination and emotions was essential to the artistic movement of Romanticism, and on the other side of the spectrum artistic Realists did everything they could to reproduce our world as precisely and as truthfully as possible. While these approaches were aesthetically quite different, they both emphasized tremendous technical expertise. The Enlightenment corresponded to a period of tremendous musical progress as well, which also saw the rise of veritable “genius” composers like Mozart and Beethoven. Likewise, the speed of scientific progress had reached such a fever pitch that overconfidence was pervasive in the 18th and 19th centuries, and in some cases patently absurd. In 1878 a physicist named <a href="https://en.wikipedia.org/wiki/Philipp_von_Jolly">Philipp von Jolly</a> (awesome name, by the way) tried to dissuade a young student at the University of Munich by the name of Max Planck from entering the field, claiming that in physics “almost everything is already discovered, and all that remains is to fill a few unimportant holes.” Luckily Planck did not heed his professor’s advice, as his work pioneered quantum theory and earned him the Nobel Prize as he joined Einstein, Schrödinger, and others in completely revolutionizing how we understand matter and the universe.</p> <h2 id="motivating-modernism">Motivating Modernism</h2> <p>Understandably, this belief that humans have “figured it out” rubbed some people the wrong way. What if we’re getting it wrong? What if we’re missing something like jazz or, oh I don’t know, relativity theory? As someone who likes math and has a strong interest in machine learning, all this certainty and confidence in humans as “optimizers” of some cultural and scientific cost function still seems crazy. It’s like using a batch gradient descent algorithm with a really small step size - using <em>everyone’s</em> input and weighting each one very little. This makes culture susceptible to groupthink - whatever is popular and appeals to the masses will continue to be chosen as “optimal”. Modernists try to introduce the possibility for change, and to seek new and fruitful artistic modes, by radically deviating from the norm. This is closer to stochastic gradient descent with a large step size - we add some randomness to the mix, give more voice to those advocating change, and take bigger leaps.</p> <p>Perhaps a more direct analogy is the well-known <a href="https://en.wikipedia.org/wiki/Random_surfing_model">Random Surfer Model</a> in graph theory / computer science. This model describes the probability that a random user visits a web page. Now, most of the time users navigate in a manner that is fairly linear - they follow links from one page to the next. For simplicity, we can assume they follow all links with equal probability. The problem, though, is that sometimes you get stuck in a loop and get bored. Most links on Facebook lead elsewhere on Facebook, but you’re not going to spend your <em>entire</em> day / browsing session on various Facebook pages (well, hopefully not). Odds are, you’ll get sick of the platform and jump somewhere else - maybe YouTube, to watch videos of <a href="https://www.youtube.com/watch?v=DSehQsYU9h4">Red Pandas</a> frolicking. So a better model adds in some probability that you will jump to another web page (or graph <em>node</em>) entirely, and thereby avoids getting bogged down poking around the same sites forever.</p> <p>This is almost exactly how Modernism - in art, literature, and music - functions. Artists are inclined to make small deviations from their earlier work or that of their predecessors. A painter might use a bit more blue, a novelist might make slightly better use of vernacular speech, a violinist might kick the tempo up a few notches. These changes, though, are likely not drastic enough to create lasting change without some sort of coordinated effort to adopt them. More importantly though, the small changes might not be substantial enough to even make a noticeable difference in the product. Maybe increasing the tempo of a song by 20% sounds terrible, but doubling it would be a revelation. In math parlance, artists can get stuck in a local minumum - their style seems great compared to all similar options, but could potentially be inferior to a radically different option (an <em>absolute</em> minumum). They need to introduce some stochasticity - to deviate from what is normal in unexpected and potentially random or arbitrary ways, in order to find new and exciting art forms.</p> <h2 id="so-what">So what?</h2> <p>The results are tremendous - without this kind of experimentation we would never have been blessed with the work of <a href="https://www.youtube.com/watch?v=KYQCwoas3rk">The Bird</a> or untraditional novelists like Kurt Vonnegut (<em>Cat’s Cradle</em> might be my favorite book, period) or digital / <a href="https://upload.wikimedia.org/wikipedia/commons/7/7d/Electricsheep-14525.jpg">mathematically inspired art</a>.</p> <p>I have a problem though, when artists perist with techniques and art forms that are simply not appealing to anyone, with the ideological hope of shattering our learned aesthetic preferences. I’d recommend reading Modernist composer John Cage’s insightful <a href="https://ciufo.org/classes/ae_sp14/reading/cage_future.pdf">essay</a> “The Future of Music: Credo” - the man is brilliant, but clearly has an axe to grind with the established musical precedents. He writes, “If this word “music” is reserved for eighteenth- and nineteenth-century instruments, we can substitute a more meaningful term: organization of sound.” He advocates using noise and electronic sound generators - these ideas ultimately led to the sampling tehcniques prominent in rap and the many types of electronic music that are popular today. He also advocates for atonal music, and famously composed a piece that is just four minutes and thirty three seconds of <a href="https://www.youtube.com/watch?v=JTEFKFiXSx4">silence</a>. I have to say these latter ideas are lost on me. Music is fundamentally mathematical - something Cage was acutely aware of - and the harmonics and tonal systems we tend to like are not coincidental. <a href="https://www.youtube.com/watch?v=jv2WJMVPQi8">This</a> sounds better than <a href="https://www.youtube.com/watch?v=B_8-B2rNw7s">this</a>, end of story.</p> <p>But hey, that’s just my opinion. Thanks for reading my ramblings, and please reach out with any related ideas or modern art pieces you think will change my mind!</p>First post2021-03-15T03:57:13+00:002021-03-15T03:57:13+00:00/blog/2021/03/15/first-post<p>I’ve never been much of a blogger, but I guess there’s no time like the present. I have a lot of ideas, so maybe I’ll put them here instead of talking my friends’ ears off.</p> <p>I’m interested in posting about some of the following:</p> <ul> <li>Life vignettes that feel poignant and/or educational. I find that writing or talking about important experiences helps me to concretize and digest them.</li> <li>Sports! I could talk about Joel Embiid for days on end. #EMVPiid</li> <li>Statistics, and statistical decision-making</li> <li>Music - I think I have good taste, at least this will help me track what I’ve been listening to.</li> <li>Books - I’m a painfully slow reader, but I have a soft spot for quality literature. I particularly like modern American Fiction.</li> </ul>I’ve never been much of a blogger, but I guess there’s no time like the present. I have a lot of ideas, so maybe I’ll put them here instead of talking my friends’ ears off.