The Critical Section
About Posts Tags

Recent posts:

  • 13 Nov 2026 Factor Models and Risk Decomposition

    Previously we explored modern portfolio optimization from mostly a theoretical perspective, where everything started from a "known" expected future return and covariance. In the real world, producing these estimates is where most of the work happens. Equity risk managers have to estimate how thousands of stocks co-move, and separate those phenomena and patterns that affect entire sectors from those that are genuinely specific to a company. This post is a practical, real-world, step-by-step description of how institutional fundamental factor risk models, the dominant framework for this task, are built.


  • 10 Oct 2026 Copulas and Tail Dependence

    A portfolio can contain a hundred individually reasonable investments and still be one large bet. Mortgages issued in different cities might all depend on cheap refinancing. The individual risks look dispersed, but the circumstances that make them fail overlap. To understand diversification, we need to know both how bad each investment can get and how often they get bad together. We'll explore these concepts by looking at copulas, statistical objects that describe dependence between random variables.


  • 19 Sep 2026 On AI Research, Academia, and Competition

    Research consumes scarce resources in exchange for uncertain knowledge. You commit time and effort to a promising scientific question, often with no upfront clarity on the potential discovery's utility and impact. What motivates such a choice? For an individual, curiosity and determination may be enough. However, here I'm more concerned with the institutional incentives that drive the research behavior of corporate and academic labs. Because whether the laboratory belongs to a university or a corporation, somebody must decide which questions deserve attention, somebody must pay, and somebody must judge the results. The recent AI boom, mixing both euphoric hype and fear of the technology, has been instrumental in amplifying the different mechanisms of corporate and academic research, enough so that the differences become evident.


  • 09 Sep 2026 Candlestick Tasseography

    Modern technical analysis has roots in Charles Dow's studies of market trends at the turn of the twentieth century. Since then, chart reading has expanded into a large collection of numerical indicators built from prices and trading volume. Their appeal is understandable: markets aggregate news, expectations, and trading decisions into a price history, and indicators offer a compact way to describe its trends, momentum, and volatility. Traders use these descriptions to inform timing, execution, and risk decisions. But the leap from describing yesterday's pattern to predicting tomorrow's return makes the subject controversial, as the apparent regularities often end up being stories fitted to noise. That tension makes the tools worth understanding. In this fun little article we'll examine a few widely used indicators, explain their arithmetic, and connect them to the trading mechanisms behind price movements.


  • 24 Aug 2026 Virtualization and Deployment

    A desirable thing in computer science is to decouple the program from its execution environment. Yet, a full abstraction of the low-level execution is likely impossible, so in practice the goal is more modest: to build deployment systems that provide consistent and predictable execution environments across different and potentially failing hardware machines. In concrete terms, the program needs CPU time, memory while it is executing, files and network connections, compatible libraries and configuration, and somewhere durable for the data that must outlive it. None of these is unlimited or inherently private. So how do we achieve reliable provisioning of these resources? Let's "re-derive" the current solution from the ground-up.


Expander Graph
Figure 1: An expander - a most curious sparse graph with strong connectivity properties.
Every subset of less than half the total number of vertices has a proportionally large boundary of edges.

  • The Critical Section
  • GitHub

A personal blog for artificial intelligence and similar topics.