Notes
What changes when AI makes analysis cheap?
Technology
For most of the history of quantitative investing, the bottleneck was mechanical. Getting clean data, running the regression, producing the backtest: each step took people and time, so the number of questions a team could ask was limited by how fast it could compute answers. That constraint is dissolving. A capable model can now draft the query, write the test and summarize the output in minutes.
When a cost falls toward zero, what was scarce changes. If answers are cheap, the expensive part becomes the question: which hypotheses deserve to be tested, which datasets are fit for the purpose, and which result is a genuine finding rather than the hundredth draw from a noisy distribution. Cheap analysis multiplies the number of experiments, and with it the number of false discoveries. Judgment is what filters them.
There is also a quieter risk. People tend to read intelligence as a proxy for good character: a system that sounds fluent and confident gets trusted beyond what its evidence supports. Psychologists call one version of this the affect heuristic, and it applies to software as much as to people. A persuasive research summary is not the same thing as a correct one.
Of the principles proposed for trustworthy AI, explicability may matter most in investment research: being able to say how a result was produced, from which data, under which assumptions. That is an infrastructure problem as much as a model problem. Platforms that record lineage, keep code and data together and make results reproducible are what let cheap analysis be checked rather than simply believed.
So the job shifts. Less time producing analysis, more time deciding which analysis deserves to exist, and building the systems that make its provenance visible.
Open data and the mosaic effect
Economics
Cities publish payroll data for good reasons. Public-records law exists so taxpayers can see how public money is spent, and an annual earnings report does exactly that: name, department, title, base pay, overtime, total compensation.
The trouble is rarely any single field. It is the combination. Add a residential zip code to a name and the record can be joined to property records and other public lookups, and a spreadsheet published for accountability becomes a way to locate individual employees. Open-data policy has a name for this: the mosaic effect, where harmless pieces become sensitive once they are assembled.
A group analysis of one such dataset for a Berkeley course reached a simple conclusion. The rules that govern disclosure look at each attribute on its own, while the risk sits in the joins. Data minimization (publish what serves the stated purpose, and no more) and data retention (how long a decade of records needs to stay online) matter as much as access controls.
The same lesson applies in investment data, where the most valuable work is often entity resolution: matching names, identifiers and records across sources until they refer to the same thing. The technique that resolves a security across five vendors will resolve a person across five public datasets just as easily. Knowing what a join makes possible is part of owning the data.
Reading the fine print on “public”
Technology
A careful read of a large platform’s privacy policy is an exercise in noticing how broad a single sentence can be. Collection falls into three familiar buckets: what the user provides, what is gathered automatically from the device and browser, and what arrives from third parties and advertisers. Each bucket sounds reasonable on its own.
The weight sits in smaller phrases. Collecting information about “the actions you take when using the Services” covers almost everything a person does in the product. Combining third-party information “with the other information we have about you” is where separate datasets become one profile. Deleting IP addresses after a set period, while keeping the one used to create the account, is a policy with a deliberate exception.
The most consequential line is often the framing of public content: by using the service, users are described as directing the company to share their information publicly and freely. Consent is obtained at the level of the category, not the use.
Commitments about aggregated or de-identified data deserve the most scrutiny, because they are usually stated as outcomes (“cannot reasonably be used to identify you”) without the mechanism that would guarantee them. For anyone who builds data platforms, the useful question is the same one an auditor would ask: where is that guarantee actually enforced?
Truth, evidence and the is–ought gap
Philosophy
Definitions of truth have a way of turning circular: truth is what accords with fact, and a fact is something known to be true. Of the theories on offer, the correspondence view is the most useful in practice, because it points outward: a claim is true when it matches the world, not when it fits neatly with our other beliefs or happens to be convenient.
Hume noticed a harder problem. Descriptions of how things are never, by themselves, produce conclusions about how things ought to be. Quantitative research lives on the “is” side of that gap. A factor earned a premium; a signal predicted returns; a portfolio had these exposures. Deciding what to own requires something else: objectives, constraints, a view about risk that the data cannot supply.
Without certainty, the workable stance is Popper’s. Treat every result as provisional, state hypotheses so they can fail, and prefer tests that could embarrass the idea over tests designed to confirm it. Pascal suggested that where reason runs out, one can act as if. In research, that means acting as if the evidence can get us a little closer to the truth, while building processes that keep checking whether it has.
It is a modest position. It also happens to describe good research infrastructure: reproducible results, clear provenance, and a standing invitation to be proven wrong.
Do politics change what we buy?
Economics
Most research linking political ideology to consumer behavior relies on surveys and opinion data. Stated preferences are cheap to express. The more interesting question is whether they survive contact with a real purchase.
A small experiment tested that directly. Identical campaign flags were auctioned on eBay in matched pairs; the only difference was that the treatment listing disclosed the country of manufacture. The outcomes were whether the item sold, what it sold for and how many people viewed it.
The result split cleanly along a distinction economists use all the time. The disclosure influenced whether people bought: the extensive margin. Once someone decided to buy, it made no meaningful difference to the price they paid: the intensive margin. Attitudes filtered the decision, but did not reprice the item.
That distinction is useful well beyond politics. Many signals act as gates rather than dials: they change participation, not intensity. Knowing which kind of effect you are looking at changes how you model it and what you can expect it to explain.
Projects
Real-time digital currency pipeline
Project · 2021 · Data Engineering
Streams live and historical quotes from the CoinGecko API through Flask and Kafka into Spark, lands them as parquet in HDFS behind a Hive table, and queries them in near real time with Presto. Built with Greg Tully and Ricardo Jenez at UC Berkeley.
GitHub
Where's Waldo: image retrieval
Project · Berkeley · Computer Vision
Instance-level image retrieval on the Stanford Online Products dataset, comparing a baseline model with a Reranking Transformer, with precision checks by class and neighbor depth and a demo that returns the closest products for a new photo. With Mikayla Pugel and David Knapp.
GitHub
Politics of buying
Project · 2021 · Experiment
A randomized eBay auction experiment on whether political attitudes show up in real purchases rather than surveys. Identical campaign flags were listed in pairs, one disclosing it was made in China: the label changed whether a flag sold, not the price it fetched. With Jun Cao and Susmita Padala.
GitHub