AI Researcher

Gürkan Özkan

Essays and notes on AI, analytics and finance.

Open the atlas

19 essays · 2 notes · 35 concepts

https://gurkanozkan.ai/mcp
Map of the atlas: 35 concepts, 21 essays and notesAI — Models, systems and the practice of bringing AI into real work.AIAnalytics — Thinking with data: measurement, experiments, uncertainty and decisions.ANALYTICSFinance — Rates, risk, prices and how markets value the future.FINANCEFormal verification — Establishing with a mechanical checker, such as the kernel of a proof assistant like Lean, that a statement or a program meets a precise mathematical specification.Formal verificationMachine learning — The field that studies how computers improve their performance on a task by learning patterns from data rather than being explicitly programmed.Machine learningLarge language models — Neural network models, typically with billions of parameters, trained on very large text corpora to predict the next token.Large language modelsHybrid architectures — Language model designs that interleave attention layers with layers of another kind, typically state-space or linear-attention layers, to lower the cost of long contexts.Hybrid architecturesInference serving — Running a trained model as a service that accepts requests and returns outputs, scheduling computation and memory so that many requests can be answered with acceptable latency and throughput.Inference servingBatching — Processing several requests together in one pass of a model, so that each read of the weights from memory serves more than one sequence, raising total throughput at some cost to the latency of each request.BatchingCold start — The period after a service or model server starts, before its caches are filled and its kernels compiled or loaded, during which the first requests run slower or behave differently from later ones.Cold startKV cache — The attention keys and values of the tokens a transformer has already processed, kept in memory so that they are not recomputed for every new token it generates.KV cachePrefix caching — Reusing the key-value cache already computed for a prompt prefix, such as a shared system prompt or the earlier turns of a conversation, for later requests that begin with the same tokens.Prefix cachingSpeculative decoding — A decoding method in which a cheaper drafter proposes several tokens ahead and the target model checks them in one forward pass, accepting a prefix of them without changing the target model's output distribution.Speculative decodingLLM agents — Systems in which a language model works in a loop, choosing actions such as tool calls, observing their results and deciding the next step towards a goal.LLM agentsMulti-agent systems — Arrangements of several agents, usually separate instances of one or more language models, that divide, share or coordinate the work on a task.Multi-agent systemsMixture of experts — A model design in which a router sends each token to a small subset of specialised sub-networks, the experts, so that only a fraction of the total parameters is active for any one token.Mixture of expertsRepeated sampling — Drawing many independent attempts from a model for the same problem and keeping any that a verifier accepts, so that the share of problems solved grows with the number of attempts.Repeated samplingSampling temperature — A parameter that rescales a model's output probabilities before a token is drawn; lower values make generation more deterministic, and a temperature of zero always takes the most likely token (greedy decoding).Sampling temperatureState-space models — Sequence models, such as Mamba, that carry a fixed-size recurrent state through a sequence instead of attending to every earlier token, so that their memory per sequence does not grow with context length.State-space modelsLow-rank adaptation — A way to change a large model by training a small pair of low-rank matrices added to its layers, instead of changing all of its weights.Low-rank adaptationModel evaluation — Methods and metrics used to estimate how well a model will perform on data it has not seen.Model evaluationBenchmark saturation — The state of a benchmark on which current models score so close to the maximum that it no longer separates them.Benchmark saturationData leakage — Information that would not be available in real use reaching the model during training or evaluation, making performance look better than it is.Data leakageEvaluation harness — The software that runs a model on a benchmark: it builds the prompts, calls the model, executes or scores the outputs and aggregates the results.Evaluation harnessOverfitting — A model learning the noise in its training data as well, and therefore generalising worse to new data.OverfittingQuantisation — Storing a model's weights, and sometimes its activations or cache, with fewer bits per number, such as 8 or 4 instead of 16, to cut memory use and speed up computation at some possible cost in accuracy.QuantisationRetrieval-augmented generation — Answering with a model that is handed relevant passages, found by search over a document store, together with the question.Retrieval-augmented generationMemory bandwidth — The rate at which data can be moved between memory and the processor, usually given in gigabytes per second; generating text one token at a time is often limited by it rather than by arithmetic.Memory bandwidthMode collapse — A generator, or a crowd of generators drawing on the same model, repeating its most likely answer instead of spreading across the answers a real population would give.Mode collapseSynthetic populations — A stand-in for a group of real people built from language-model agents or personas, used to estimate how the group would answer a survey or react to a scenario.Synthetic populationsUnified memory — A memory architecture in which the CPU and the GPU share one physical pool of memory instead of having separate system and device memory.Unified memoryMultiple comparisons — Trying many strategies, models or hypotheses and reporting the best: the best of many looks better than any single one would by chance, so its result has to be judged against the number tried.Multiple comparisonsPaired tests — Statistical tests that compare two conditions measured on the same units, such as two models on the same problems, using the differences within each pair rather than the two totals.Paired testsPre-registration — Recording a study's hypotheses, data, tests and decision rules before the outcome data are seen, so that confirmatory results can be told apart from exploratory ones.Pre-registrationStatistical power — The probability that a test detects an effect of a given size when the effect is really there; it grows with the sample size and the size of the effect.Statistical powerSummary statistics — Measures that summarise the location, spread and shape of a dataset in a few numbers, such as the mean, the median and the quartiles.Summary statisticsPoint-in-time data — Data stored with the moment each value became known, so that a test run as of a past date sees only what could have been seen then, with later revisions and later facts kept out.Point-in-time dataSurvivorship bias — Drawing conclusions from the cases that are still around, such as today's list of traded assets, and so missing the ones that failed or were delisted along the way.Survivorship biasMagnitude says an SSD can keep a giant sparse AI model at 40 tokens a second: the arithmetic of that claim — Sparse AI models consult only a few percent of their weights per token, so a fast disk can serve what does not fit in memory. Checked with arithmetic, no more than 2.2% of the reads may wait for the disk, and one reported cache reaches 97 to 99%.The 2.2% ceiling forSSD streamingSoftware agents now run most of a break-in. The tricks are old; the speed punishes small gaps — Since August, attack frameworks driven by AI models have carried out most steps of real intrusions while a human set the goal and checked in. Their speed and low cost make the forgotten key, the open admin page and the minor misconfiguration the places to defend first.AI agents run thebreak-inInkling 2 Mini: a small model, and the 19 gigabytes every token makes the machine carry — Timed runs of Thinking Machines' new open model on a desktop AI box: 42.2 tokens a second at the median, 58.7 on code and 35.5 on free prose. The speed followed the bytes carried per token, not the parameters the vendor calls active, and the laptop numbers say the same thing.Inkling 2 Mini: small isnot cheapThe thing worth owning is the loop that improves a model, not the model — In eleven weeks three AI vendors began selling the same thing: a way to train your own model, run it, and learn from how it does. The model is only a snapshot. The part worth owning is the loop, and its hardest step is the rule that scores the answers.Own the loop, not themodelWork out how fast a model server could ever go before trying to speed it up — An open-source skill for tuning local model servers starts by calculating the fastest the machine could go. On one server that arithmetic gave 37.6 words per second, and every test prompt ran faster, which showed where the speed really comes from.Speed ceiling firstIn one model of large-scale serving, memory speed beat splitting the work further — A new preprint models how very large language models are served on different hardware. Splitting the writing stage across more pools gave no robust gain in the model; doubling memory speed cut the time per token far more than doubling arithmetic did.Memory speed beatssplitting (modelled)A GPU's memory is split before anyone knows what the traffic will look like — New language models keep three kinds of memory for every conversation. The SGLang serving engine fixes how much room each kind gets at startup, before any traffic arrives. A post from its team and a preprint show what that guess costs and how to avoid it.Splitting GPU memoryblindCan an AI server learn a new fact for good? Eight of 140 attempts were kept, and a plain prompt beat it — A test of whether a running AI server can learn a fact into its model and keep it: 140 attempts, 8 kept, and one kept fact changed 68.5% of unrelated answers. A plain prompt answered 95.4%.Can a server learn forgood?Trying many strategies and keeping the best: nine papers that price the luck, and what each one asks of you — A map of nine statistics and finance papers on the best-of-many problem, grouped by the question each one answers: is it luck, which are real, how much to discount, how much data.Nine papers on luckywinnersHow many strategies can 13.7 years of price data test? About ten, not eighty — If you try many strategies on the same history, the best looks good by luck. A simulation turns a data length into the number of tries it can honestly support: about ten on 13.7 years.How many tries candata hold?When the obstacles fall, what is left is the wanting — An idea, argued from Keynes, Arendt, Benjamin and this year's numbers: when making a film or a company stops needing money and permission, the hard part moves to knowing what to make and to being chosen.When obstacles fall,wanting is leftTwo neurons ended a small AI model's looping, but it learned no new maths — Changing 2,048 numbers in two neurons took a small AI model's maths score from 4.5 to 55.5 because it finally finished its answers. It learned nothing new. A failure small enough to read and undo.Two neurons ended theloopingNine of fourteen go-or-stop rules in a plan could not tell good from bad — I asked an independent AI agent to attack the fourteen go-or-stop rules of one of my plans. Nine could not tell a good plan from a bad one. The arithmetic behind the worst of them.Nine rules that couldnot tellMemory per AI conversation depends on the shape of the model, not its size: a survey of 2,068 open models — While answering, an AI model keeps notes on everything said so far. Across 2,068 open models, the shape of the attention predicts those notes far better than model size does.The memory of 2,068modelsBuild the judge before the strategy: it could not tell four plain strategies apart, and trading costs erased a fast edge — Before any trading idea, I had a judge built and tested its failures. It cannot tell four plain strategies from their benchmarks on 7.5 years of prices, and costs erased a fast edge.The judge before thestrategyForty AI agents asked the same question gave one answer, not a crowd — Simulating a crowd with one AI agent per person: on real Turkish survey data, forty agents put 69% of the vote on one option where a single question to the model kept it at 36%.Forty agents, oneanswerAn independent check turned a 0.843 Sharpe into luck: the winner of a search proves nothing alone — A trading rule passed a gate with a 0.85 score. An independent AI agent corrected for the 84 variants tried and the score fell to 0.0. A winner is only evidence once you say how many were tried.The checker said no-goWhen an AI research agent cites its own earlier output: four phantom sources and the one check that caught them — Two audits of my own research agents found a nonexistent author, a real paper carrying a claim it never made, a dead paper identifier, and a number that lived only in copies. Only a check from outside the run caught them.Sources that did notexistA team of AI agents beat one agent, but four copies that never spoke matched the team — A team of AI agents proved more maths statements than one agent, but four independent copies matched it. The edge came from more attempts, not coordination, so try independent attempts first.A team, or four loners?What this site got wrong: two corrections, eight removed essays and ten rewrites — Every change to a published piece that altered or removed a claim is listed here with its date. On 15 November 2026 two claims were corrected after publication…Corrections andremovalsWhy one AI request took 1,802 seconds: a hung server that looked like a weak model — While testing a coding model I saw one request take 1,802 seconds. The model was not slow: the server had stopped responding, and my test program waited three…The 1,802-second hang

EssayNoteConceptrelations appear on hover

Drag to pan, use the wheel or +/− to zoom. Click selects, double-click opens the page; on the keyboard use Tab, the arrow keys, Enter and Esc.