This is part of a weekly series covering generative AI as applied to investing, drawn from source material from the full-length book, Truth Engine: Applying AI to Investing.

We completed a detailed description of generative AI creation for good reason. Understanding mechanisms allow inductive leaps in our use, deployment, and expectations. We collect the surprising insight – teaching AI is similar to teaching humans. At every step of the process, the good teacher reduces inductive leaps for the student until the student is ready to take them (similarly to the RLHF process, the overall goal is to follow instructions). The celebrated Professor Joseph Chang at Yale Statistics was a master at setting the level for the student. More than a decade later, I can still remember Professor Chang breaking down a three state Markov process to discuss the equilibrium state. To be more accurate, he didn’t reveal the answer, he brought me to the point where I could reveal the answer for myself. We proceed with reducing gaps in expected results as we discuss prompting and Bayesian inference.

Prompting Strategies

For humans, asking a general question usually elicits a general answer. Heath, the Stanford business school professor, explains that humans tend to activate their brains in different modes.48 For instance, citing statistics will prompt humans to start estimating figures. Remarkably, there’s some evidence to suggest that prompting LLMs is similar, activating subnetworks that are specialized for tasks.78,79 For humans, switching brain modes or multi-tasking is difficult. Recent research first had to reveal that since humans have one brain, true multi-tasking isn’t possible. Multitasking is really switching brain modes sequentially. Professor Cal Newport, the author of “Deep Work”, notes multi-tasking degrades performance on tasks due to an attention residue that lingers between tasks.33 Changing contexts for an LLM is as easy as initiating a new session, allowing the user to stay at a high level. When we frame using LLMs in terms of activating subnetworks, we can effectively access the latent knowledge contained in the generative LLM. That makes it easier to accomplish tasks by reducing cognitive load and context switching. Why do most people find it easier to manage a project rather than execute it? It’s not just that more work has to be done. There’s painful context switch from planning to execution. In fact, planning is so different that we’ve all experienced starting a project but requiring guidance and feedback to create the structure of a good presentation or report. Prompt engineering allows a democratization of management. LLMs have made its users into managers in the new AI age.

While in the planning context, it especially makes sense to use generative AI. By staying in the planning context when using LLMs for planning, and it forms the super structure for the task. The first problem is that the LLM can be too good at generating ideas, rattling on and on. One tip from Dally addresses this. Dally, well-aware of the importance of the planning context, makes a list of tasks for the day. Then, he immediately draws a line. All tasks underneath the line he just concedes they won’t be done. For him, he refines the planning stage by immediately balancing the need to get things done in an effective display of essentialism.

Newport analyzes executive Jack Dorsey, sketching out a character who doesn’t engage in deep work, rather seeking to manage many contexts. Newport exactly hits on the usage mode of LLMs. When you use generative AI, you are Jensen Huang, Jack Welch, Henry Singleton, Gordon Moore, or Andy Grove. You have access to a broad and deep company of talented agents. Only you have to be in the frame to use it. How do we find the proper frame?

A Carnegie Mellon University study revealed that charity donors gave less on average when they were inundated with statistics.80 Unexpectedly, generative AI likewise gets overwhelmed by information, forgetting instructions when they’re chained together. This can be frustrating because the AI behaves more like a scatterbrain than the advanced agent it’s supposed to be. The frustration is compounded because ChatGPT, especially GPT-4 versions and later, is capable of superhuman feats. Sometimes, even talented actors need to be directed in the right direction.

Moving Ahead of The Quants

Generative AI, forged at the intersection of the sciences and humanities, allows the shocking result of leapfrogging the quants. Several quant practices are rooted in common sense that value investors recognize, for instance controlling risk and understanding tradeoffs. Quants use the practice of bootstrapping to simulate different possible trajectories in the past. Bootstrapping is a creative way of rearranging historical financial prices to guess how things might behave in the future. Think of it as taking a film of past investment performance, cutting it into smaller clips, and then shuffling those clips to create a new film. Each clip (block) has a fixed length but starts at a random point in the original film. By doing this, it acknowledges that investments can be unpredictable and don’t always follow past patterns. This rearranging helps construct a new series of possible future returns, giving a better understanding of potential investment behaviors without just assuming they’ll do exactly what they did in the past.

If that strikes as slightly nonsensical, it is. Usually by sampling from the time course, it makes the assumption of the source distribution as a prior belief. The problem with that is we can easily imagine time courses with decidedly different trajectories. For instance, the evolution of horizontal and vertical integration in business is a potent study across economies. Like a growing crystal lattice, the dominant companies of different nations often fall into different niches and solidify their advantage. Where there’s Facebook in the US, China has WeChat. Moreover, WhatsApp and Facebook combined don’t replicate the same app of apps functionality in WeChat. Where Latin America has MercadoLibre, the US has two separate companies in Amazon and PayPal, not to mention AWS, which most businesses wouldn’t attempt. In Mexico, Fomento Económico Mexicano is a vertically integrated brewer, bottler, and gas station chain replicating Coca-Cola (where they own a large stake of the Mexican business), Casey’s General Store, and Heineken (which they divested) all wrapped in one. If even different economies evolved with incredible diversity, then domestic self-sampling bootstrapping can’t simulate the multiverse.

Generative AI is an interactive technology that reflects the user as much as the community, permitting scenarios only bounded by the creativity of the questioner. This is particularly useful for Bayesian updates considering counterfactual worlds (sec. 3.8). The lone investor can rapidly and intuitively hone generative bootstrapping (counterfactual modeling). Generative bootstrapping plays out materially different scenarios and then submits those as possible inputs to the rest of the due diligence pipeline. For both quants and value investors, generative bootstrapping marks a robust process.

This is part of a weekly series covering generative AI as applied to investing, drawn from source material from the full-length book, Truth Engine: Applying AI to Investing.