Asking the Right Question
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.
Prompt engineering, the art of asking generative AI the right question, has drawn ridicule. Yet industry scions say prompt engineers will have the last laugh.81 President Lincoln proclaimed, “give me six hours to chop down a tree and I will spend the first four sharpening the axe.” Einstein echoed, “if had an hour to solve a problem and my life depended on the solution, 1 would spend the first 55 minutes determining the proper question to ask for once I know the proper question, 1 could solve the problem in less than five minutes.” The polymath George Pólya taught this in his manual, “How to Solve It. He presents a general approach to solving problems that can be applied to logical problems. We find that his methods can be implemented with AI.
Pólya’s method isn’t complex. First, Pólya says you need to understand the problem, taking a moment to really get what’s going on. You want to know what you’re being asked, what information you’ve got, and what you’re trying to find out. Imagine if someone tossed you a puzzle and said, Solve this! You’d want to look it over, turn the pieces around in your hands, and figure out what picture you’re trying to make before you dove in. Occasionally, the market serves up a puzzle. Are certain trends early, mid, or late cycle? What are the risks involved? What’s the market like right now? It’s about asking the right questions to figure out what exactly you’re dealing with, just like a logic problem. We covered looking at financial filings and management performance. You’d ask questions like, Does this company have a durable moat?, What’s the potential growth?, and What’s the worst case? The right questions create a roadmap. Studying innovation, Columbia Professor Sheena Iyengar relates that brainstorming is bringing out the sum total of experience in participants, and there is much experience to plumb with generative AI.82
Elevate Pólya’s process with generative AI by asking the right questions. Asking the right questions isn’t easy, even when the puzzle is present. A common event in a science olympiad is the “Write It, Do It” event. In the event, a teammate is asked for instructions to reconstruct a structure from raw materials. The second teammate must construct the object without ever having read the instructions. The exercise is curiously difficult. The first teammate must anticipate the right questions. The second teammate must apply consistent conceptual frameworks devised earlier. For investing, sometimes the pari-mutuel nature of markets imitates a game of “Write It, Do It”.
Next, he says to devise a plan. Don’t just wing it and hope for the best. Figure out a way to tackle the problem. Once you’ve devised the plan, execute it. Invest according to the intrinsic value identified. Again, asking the right questions along the way helps you stay on track. Is it still a good investment? Have the fundamentals changed? Follow your plan without preconceived notions. Sometimes it’s smooth sailing, other times there’s rough waters. If there’s a snag, perform a Bayesian update as we’ve discussed, considering counterfactual worlds to your original hypothesis. We present a strategic plan example in a later post.
Finally, Pólya says review what you’ve done. Reflect on it. See if it makes sense. When the puzzle’s assembled, view it – is there a consistent conceptual framework? You’re looking back at your investments, seeing what worked, what didn’t, and learning from it. Why did this investment perform this way? What can be done differently next time. Check the work to make sure it’s solid, and meditate on it such that the method springs forth effortlessly the next time a similar problem occurs.
AI takes these steps and supercharges them. Take the reflection step. If you need a financial analyst, it conjures one. It sifts through vast datasets rapidly, helping understand the problem faster and with more depth. It can devise more nuanced and adaptable plans by uncovering hidden patterns and correlations.
Genius often manifests as the precocious prodigy. Those who study geniuses like Mozart understand that a comprehensive teacher, in Mozart’s case his father, instills what computer scientists call the right inductive bias. Geniuses have an eerie taste for the next step, the next progression that will elevate their work. For the rest of us without an ever-present mentor, we can slot in generative AI.
Pólya’s way of thinking isn’t just about solving puzzles. It’s a way to approach complexity, especially prevalent in modern investing. And with the help of generative AI, it’s not just about doing things faster or on a bigger scale; it’s about executing with insight. Knowing what questions to ask and having the tools to find the answers is a sea change. The rise of prompt engineering signifies knowledge workers are generating wisdom.
Emergent Behavior
In Stephen Wolfram’s exploratory AI book, “A New Kind of Science”, he details the Game of Life, a two dimensional board of flowing pixel blocks that change based on simple rules. The beautiful patterns and generations tantalized computer scientists. The programmers were dazzled by emergent phenomena, life-like behavior that arose from simple instruction. My high school biology teacher Edgar Boucher used a subtle demonstration to disrupt concepts of life. Boucher projected a blob that seemed to eat other blobs as well as divide under stimuli. Inspecting the projector revealed the blob was merely a drop of mercury responding to chemical stimuli. Life, intelligence, and value investing is beyond simple rules.
When we discussed RLHF, we understood how the evolution of fixed rules were sharpened to capture the high-level concept of following instructions. Urging a system to follow instructions, subsumes and elevates many desired behaviors across many levels of human knowledge work. In a way, instruction following, which we know from student and teacher experiences, has core meta-learning functionality. By integrating instruction-following with Bayesian inference, we establish a usage pattern for generative AI.
If we want to use generative AI effectively, we bundle context information succinctly. Anthropologists describe these bundles as cultural knowledge. For instance, describing liberty and freedom to most Americans would conjure up a powerful mix of associations that places the American in a frame of mind. Generative AI is a technology built of a literate society for a literate society. The masters of generative AI move like master CEOs, able to shift from frame to frame, managing different contexts to the utmost capability. It’s not exactly a comfortable feeling for most people, but just like there are expert executives, there are managers that excel at it.
Every generative AI user is now a manager of colossal institutional knowledge, that of an open and free society. The established business literature remote to the rank-and-file worker is now accessible. While OpenAI has started the democratization of AI, much work remains.
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.