<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pavel Khokhlov on Medium]]></title>
        <description><![CDATA[Stories by Pavel Khokhlov on Medium]]></description>
        <link>https://medium.com/@pk_94761?source=rss-484eb0871211------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xeJOAS2XxPbQwkPcHO8qtA.jpeg</url>
            <title>Stories by Pavel Khokhlov on Medium</title>
            <link>https://medium.com/@pk_94761?source=rss-484eb0871211------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 10:02:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pk_94761/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Metadata Is Data: Why the Most Informative Records in R&D Carry the Wrong Name]]></title>
            <link>https://medium.com/@pk_94761/metadata-is-data-why-the-most-informative-records-in-r-d-carry-the-wrong-name-b1653bb03a23?source=rss-484eb0871211------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1653bb03a23</guid>
            <category><![CDATA[metadata]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[battery]]></category>
            <category><![CDATA[chemistry]]></category>
            <category><![CDATA[ai-training-data]]></category>
            <dc:creator><![CDATA[Pavel Khokhlov]]></dc:creator>
            <pubDate>Sat, 17 Oct 2026 02:24:20 GMT</pubDate>
            <atom:updated>2026-10-21T02:21:55.012Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The prefix “meta” suggests information that is secondary. In research and development, it often is the information that explains everything else. In the era of AI, the cost of that mislabeling is growing.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jYlaXi3RBgnx_tiE0SuilQ.png" /><figcaption>Metadata matters in the lab</figcaption></figure><p>Ask a battery engineer what data they have, and the answer is usually a list of files: cycler exports, impedance spectra, end-of-line QC spreadsheets. Ask which slurry recipe went into the electrodes, which electrolyte lot was used, who supplied the separator and what the drying profile was, and the vocabulary changes. That is metadata, and it typically lives in a separate spreadsheet, lab notebook, a folder name, or someone’s memory.</p><p>This days it is common to hear discussions about “performance to metadata correlations”. Performance is considered to be data. Everything that might explain performance is metadata.</p><p>I want to argue that this is a labeling problem with practical consequences.</p><blockquote>For discovery work, the information called metadata is often as important as the information called data, and sometimes more important. For AI, it is frequently the difference between a model that can only describe what happened and one that can suggest what to change.</blockquote><h3>What the standard distinction says</h3><p>The usual definition of metadata is “data about data.” A library catalog card describes a book without being the book. A file’s size, owner and modification date are metadata about the file. Information scientists commonly divide metadata into descriptive (what this is and who made it), structural (how its parts relate to each other) and administrative (format, rights, provenance, how and when it was created).</p><p>Two ideas follow from this definition. Metadata is secondary, because it exists only to describe a primary object. And metadata is small, a handful of fields next to a large payload. <strong>Both ideas are reasonable in a library but currently break down in a laboratory.</strong></p><h3>Data or metadata depends on the question</h3><p>The definition quietly assumes that the two roles are fixed. They are not. Whether a piece of information is data or metadata depends on who is asking and why.</p><p>In a laboratory, the same field can change roles. A lot number is administrative metadata for the purchasing department and a candidate explanatory variable for the person investigating why cells from one shipment fail early. A timestamp is housekeeping until the question is whether the electrolyte aged before cell filling. Units are metadata until they are wrong: in 1999, <a href="https://llis.nasa.gov/llis_lib/pdf/1009464main1_0641-mr.pdf">NASA lost the Mars Climate Orbiter</a> because one team’s software reported thruster impulse in pound-force seconds while the navigation software expected newton-seconds.</p><p>A working definition that holds up in a lab is this: if a field could be plotted, filtered by, grouped by or used as a model input in any question you might ask, it is data. Metadata is what remains, the information used only to locate, identify and manage records.</p><h3>Why metadata gets overlooked</h3><p>Several things combine to push metadata to the secondary role. These are my observations from working with experimental records, not the results of a study.</p><ul><li>The name itself. “Meta” implies something outside of the real material. Budgets, schemas and job descriptions follow names, and <strong><em>few teams have a role responsible for metadata</em></strong>.</li><li>Who produces it. Instruments generate measurements automatically, in structured files, at high volume. Information about how a sample was made has to be typed by a person, usually after the fact, if at all<strong>. <em>The machine-generated record gets called data, and the human-entered record gets called metadata and tends to be incomplete.</em></strong></li><li>Data volume. A cycler produces millions of points per cell, while the build history is a few dozen fields. <strong><em>By size it looks minor. By information content per byte, it is often the opposite.</em></strong></li><li>Rigid schemas. A conventional database or spreadsheet template requires the structure to be defined in advance. In R&amp;D, the process changes every week. A new parameter does not fit any column, so it ends up in a comments field, a file name such as “cell_B7_new_slurry_v2_final”, or a notebook page. At that point it can no longer be efficiently processed.</li></ul><p>The <a href="https://www.nature.com/articles/sdata201618">FAIR principles</a>, published in 2016, state explicitly that data should be described with rich metadata. The principle is widely endorsed. The practice remains uneven, because the tooling and the incentives still treat metadata as optional.</p><h3>The battery example</h3><p>In the battery industry, data usually means testing data: voltage, current, capacity and impedance recorded by cyclers over hundreds of cycles, plus QC spreadsheets from production. The history of how a cell was made, including the vendor, the manufacturer, the materials and the process steps, is filed as metadata.</p><p>Consider what a battery development team actually wants to know. Why did cell A retain its capacity for 1,200 cycles while cell B, of nominal design, fell off at 800? The answer is never in the cycling curve itself. The curve is the outcome. The explanation sits among the things an engineer can change: active material supplier and lot, slurry mixing time and solids content, coating loading, drying temperature, calendering pressure, electrolyte formulation and lot, separator vendor, formation protocol, dry-room dew point, even the assembly line.</p><p>In experimental terms, cycler output is the dependent variable and build history holds the independent variables. A QC spreadsheet without process history can tell you that a cell failed. It cannot tell you why. A repository of ten thousand cycler files without build records is a large dataset containing only one side of the relationship, and discovery requires both sides.</p><h3>Metadata in the AI era</h3><p>The problem was already costly when analysis was done by people who knew the lab and could ask a colleague what a column meant. AI changes the situation in several ways.</p><h4>Models learn only from the columns they are given</h4><p>A machine-learning model can predict only from the variables that are present. Early-cycle data can forecast battery lifetime with useful accuracy, as <a href="https://www.nature.com/articles/s41560-019-0356-8">Severson and colleagues showed in Nature Energy in 2019</a>. A model like that can tell you which cells are likely to fail. If build history is absent, it cannot tell you which change in materials or process would prevent the failure. Without the inputs, AI is limited to describing outcomes, which is not the same as guiding development.</p><h4>Missing context produces misleading models</h4><p>Hidden batch effects are a common failure. If cells from one lot, one cycler or one operator happen to share a property, a model can learn the lot instead of the physics. It will perform well on a random train-test split and fail on the next batch. Without lot, tester channel, ambient conditions and operator recorded in a usable form, the dataset cannot even be split properly to detect this.</p><h4>Language models and agents work from context</h4><p>Large language models and AI agents are increasingly asked to answer questions over experimental records. What they can do depends on what they can read. A column named “Q” with no unit, an unlabeled sheet tab, or a free-text note saying “used the new batch” gives them very little to work with. Structured, consistently named and unit-bearing metadata is what allows a model to find the right records and interpret them correctly. A recent preprint reports that giving models structured data rather than unstructured data can reduce compute cost by more than 90% (<a href="https://arxiv.org/abs/2511.20691">Shang et al., arXiv:2511.20691</a>). Even if the exact figure varies by task, the direction is easy to understand: less of the model’s effort goes to reconstructing meaning that was never recorded.</p><h4>Closed-loop discovery needs the inputs as variables</h4><p>Self-driving laboratories and AI-guided experimentation work by choosing the next experiment, which means choosing values for process parameters. Those parameters are precisely what is called metadata. If they are stored as notes, there is nothing for an optimizer to vary and nothing to learn from. <a href="https://doi.org/10.1038/s41570-026-00847-2">Canty and Abolhasani, writing in Nature Reviews Chemistry in 2026</a>, identify data logging and standardization as a leading obstacle to research automation and AI-assisted workflows. The obstacle is greatest for novel processes, where the relevant parameters are not known in advance and the data structure has to evolve as understanding grows.</p><h4>Provenance and trust</h4><p>When an AI system gives a prediction or a recommendation, a scientist needs to trace it back to the inputs and the conditions under which they were produced. That trace is metadata. <a href="https://www.nature.com/articles/533452a">A survey of 1,500 researchers published in Nature in 2016</a> found that more than 70% had tried and failed to reproduce another scientist’s experiments, and more than half had failed to reproduce their own. Incomplete records are a major contributor. A model trained on records with unknown provenance inherits the same uncertainty and hides it behind a confident output.</p><h4>It cannot be added later</h4><p>There is one more asymmetry. Cycler data can be re-exported at any time. The knowledge of how a specific cell was built, which lot of material went into it and what changed in the process that week exists only at the moment it happens. If it is not captured then, it is gone. Every experiment run today without structured build records is a future training example that cannot be used for what it would have been most valuable for.</p><h3>What to change in practice</h3><ol><li>Drop the ranking implied by the name. For each field, ask whether it could be a variable in a question about performance, cost or failure. If so, treat it as data: define it, validate it and store it where it can be queried.</li><li>Capture at the time of the event. Record build and process information while the work is done, ideally by the same system that receives the instrument output, and not reconstruct it from memory later.</li><li>Link records with persistent identifiers. Every cell, sample or batch needs one identifier shared by its process history and its test data.</li><li>Let the structure evolve. In R&amp;D, new parameters and new equipment appear during an experimental program. A record system that requires every field to be defined in advance will push the most interesting information into free text. The structure should accept new parameters during an ongoing experiment while keeping earlier records consistent.</li><li>Measure completeness. Track what fraction of runs have a complete build record, in the same way you track yield or test coverage.</li></ol><h3>Conclusion</h3><p>Data and metadata describe roles of information, not kinds of information. The same field can be one or the other depending on the question, and in research and development the questions that matter most, such as why one battery cell outperforms another or what to change next, are usually answered by what the field currently calls metadata. As AI takes on more of the analysis and, increasingly, the planning of experiments, that information determines whether models can do more than summarize results. The name <em>meta-data</em> can stay. The second-class treatment should not.</p><blockquote>If you need an efficient tool for capturing metadata as the work happens, try the <a href="https://nioker.com/">Research Execution System (RES)</a> from Nioker Systems. RES lets researchers add new parameters, materials or equipment to an ongoing experiment without defining a schema in advance, records every change, and keeps process information and measurements in one consistent data structure. Learn more at <a href="https://nioker.com/">nioker.com</a>.</blockquote><p><em>Disclosure: I am the founder of </em><a href="https://nioker.com/"><em>Nioker Systems</em></a><em>, which develops the </em><a href="https://nioker.com/"><em>Research Execution System (RES)</em></a><em>, a platform for recording experimental processes as they evolve. The argument above does not depend on any particular tool.</em></p><h3>References</h3><ol><li>M. Baker. <a href="https://www.nature.com/articles/533452a">1,500 scientists lift the lid on reproducibility</a>. Nature 533, 452–454 (2016).</li><li>M. D. Wilkinson et al. <a href="https://www.nature.com/articles/sdata201618">The FAIR Guiding Principles for scientific data management and stewardship</a>. Scientific Data 3, 160018 (2016).</li><li>K. A. Severson et al. <a href="https://www.nature.com/articles/s41560-019-0356-8">Data-driven prediction of battery cycle life before capacity degradation</a>. Nature Energy 4, 383–391 (2019).</li><li>R. B. Canty, M. Abolhasani. <a href="https://doi.org/10.1038/s41570-026-00847-2">The past, present and future of self-driving laboratories</a>. Nature Reviews Chemistry 10, 523–537 (2026).</li><li>L. Shang et al. <a href="https://arxiv.org/abs/2511.20691">LLMs-Powered Accurate Extraction, Querying and Intelligent Management of Literature derived 2D Materials Data</a>. arXiv:2511.20691.</li><li>NASA. <a href="https://llis.nasa.gov/llis_lib/pdf/1009464main1_0641-mr.pdf">Mars Climate Orbiter Mishap Investigation Board, Phase I Report</a> (1999).</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1653bb03a23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Need for Git : Missing Layer in Materials and Chemical Research]]></title>
            <link>https://medium.com/@pk_94761/need-for-git-missing-layer-in-materials-and-chemical-research-26ae49f97081?source=rss-484eb0871211------2</link>
            <guid isPermaLink="false">https://medium.com/p/26ae49f97081</guid>
            <category><![CDATA[chemistry]]></category>
            <category><![CDATA[research-data-management]]></category>
            <category><![CDATA[laboratory-management]]></category>
            <category><![CDATA[materials-science]]></category>
            <category><![CDATA[version-control]]></category>
            <dc:creator><![CDATA[Pavel Khokhlov]]></dc:creator>
            <pubDate>Sun, 11 Oct 2026 00:17:08 GMT</pubDate>
            <atom:updated>2026-10-11T00:52:00.825Z</atom:updated>
            <content:encoded><![CDATA[<h3>Need for Git : Missing Layer in Materials and Chemical Research</h3><p><em>Software engineers have kept a complete, searchable history of every change to their work for twenty years. Experimental scientists still keep theirs in notebooks, spreadsheets, and memory.</em></p><p>In 2005, Linus Torvalds wrote git to manage development of the Linux kernel. Today no serious software team works without version control. Every line of code has a history: who changed it, when, why, and what it looked like before. Any past state can be restored. New ideas are tried on a branch and merged back only once they work. And, without anyone planning it, twenty years of these records became the training data that made automated code and application development possible.</p><p>Materials and chemical R&amp;D produces something at least as valuable as code: process knowledge. Yet most labs still manage it the way software was managed before version control existed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wpGofqvKBRtAhPEGB4YuKg.png" /></figure><h3>What version control actually provides</h3><p>Git is often described as a backup tool. It is not. Its value lies in five capabilities:</p><ul><li><strong>Complete history.</strong> Every change is recorded, nothing is overwritten.</li><li><strong>Diffs.</strong> Any two versions can be compared to see exactly what changed.</li><li><strong>Attribution.</strong> Every change is linked to a person, a time, and a reason.</li><li><strong>Branching.</strong> Variants can be developed in parallel without corrupting the main line.</li><li><strong>Reproducibility.</strong> Any past state can be retrieved and rebuilt exactly.</li></ul><p>Each of these is a problem that experimental research also has, and mostly does not solve.</p><h3>How research processes actually evolve</h3><p>A synthesis route starts with six controlled parameters. Three months later it has fifteen. A drying step was added after the first batches cracked. Stirring rate turned out to matter. A precursor supplier changed lots. A new characterization instrument came online and its output became part of the acceptance criteria. Each change was reasonable at the time it was made.</p><p>The record of these changes usually lives in notebook pages, in a spreadsheet that keeps growing columns, and in file names like <em>formulation_my_v4_final_PK_rev2_new.xlsx</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*YddQZ6g9MeQ-UeEp7Pk3qQ.gif" /><figcaption><a href="https://phdcomics.com/comics.php?f=1323">https://phdcomics.com/comics.php?f=1323</a></figcaption></figure><p>That is version control done by hand, without the tooling, and it fails in predictable ways:</p><ul><li>It is unclear which runs were made under which version of the process.</li><li>Parameters added mid-program are blank for earlier runs. A blank cell cannot tell you whether the value was zero, uncontrolled, or simply not recorded.</li><li>When a student graduates or an engineer changes roles, the reasoning behind each change leaves with them.</li><li>At scale-up, the receiving team gets the latest recipe but not the path that led to it, including the failures that explain why the recipe looks the way it does.</li></ul><p>None of this is caused by careless researchers. It is caused by recording tools that assume the process is defined before the experiments start.</p><h3>Why not just use git?</h3><p>Some groups do keep data in git repositories, and for computational work this works well. For experimental work it breaks down, for five reasons.</p><p><strong>Experiments are not files.</strong> Git versions text files. The unit of experimental work is a run: a set of parameters, the samples that went in and came out, the instruments used, and the measurements taken. Storing these as files moves the problem without solving it.</p><p><strong>You cannot revert a furnace.</strong> The physical world is append-only. A failed run is not a mistake to be rolled back; it is data, and often the most informative data in the program.</p><p><strong>Samples branch physically.</strong> A batch split into three portions, each annealed at a different temperature, is a branch. The lineage that matters is a graph of materials, not of text.</p><p><strong>Diffs must be meaningful.</strong> “Line 37 changed” is useless at the bench. “Anneal temperature changed from 450 °C to 475 °C on run 112, and a hold time parameter was added” is what a researcher needs.</p><p><strong>Researchers will not commit.</strong> Any system that requires a separate act of documentation will lose to the experiment in progress. Recording has to happen as part of doing the work, not afterwards.</p><h3>What a git for the lab needs</h3><p>The concepts carry over directly; the implementation has to be different.</p><ul><li><strong>Commit:</strong> every recorded run is automatically tied to the version of the process in effect at that moment.</li><li><strong>Diff:</strong> parameter-level comparison between any two runs or process versions.</li><li><strong>Blame:</strong> who introduced a parameter or changed a setpoint, when, and why.</li><li><strong>Branch:</strong> sample splits and process variants, with full material lineage preserved.</li><li><strong>Tag:</strong> a frozen process version handed to scale-up or production.</li></ul><p>One requirement has no direct counterpart in git: the data structure itself must evolve. Adding a parameter or a new piece of equipment in the middle of an experimental program must neither break the existing history nor require anyone to redesign a schema. In research, the structure of the data is one of the things being discovered.</p><h3>How git records enabled automated software development</h3><p>Version control was built to coordinate programmers, not to train machines. Yet two decades of public repositories became the largest well-documented record of how complex technical work is actually done, and that record is what made automated code and application development possible: AI systems that write, fix, and extend software with less and less human involvement.</p><p>A code repository keeps more than the finished software. Every change is saved together with who made it, when, and a short note on why. Reported problems are linked to the fixes that solved them, along with the discussion that led there. For an AI model, this is close to ideal training material: millions of examples of “here is where we were, here is what we changed, and here is why.”</p><p>Today’s AI models for software were trained largely on this public history [2, 3], and they are tested on real problems taken from it, by checking whether the AI can arrive at the same fix a human developer once did [4]. None of this would exist if software history had been kept the way experimental history is kept today: in personal files, overwritten versions, and the memory of the people who did the work.</p><p>Nobody assembled this record for AI. It accumulated as a by-product of everyday work, because the tooling recorded history automatically and in a consistent structure. Automated software development is, to a large extent, a dividend paid on two decades of disciplined version control.</p><p>Automated discovery in materials and chemistry is the direct counterpart: AI systems that propose, run, and refine experiments. It needs the same foundation, and it does not yet have one. There is no equivalent of a commit history for a synthesis route, and therefore no equivalent body of data to learn from.</p><h3>Why this matters now</h3><p>For decades, the cost of missing process history was paid in lost time: repeated experiments, slow onboarding, difficult technology transfer. AI raises that cost. A model trained on experimental results needs to know which conditions were in effect for each result. Without process history, a dataset is a table of numbers whose context has been lost, and no amount of compute recovers it.</p><p>Data logging and standardization are now recognized as one of the biggest obstacles to research automation and AI-assisted lab workflows [1]. So far, AI-assisted guidance has paid off mainly where workflows are standardized and repeated, such as self-driving labs optimizing composition and concentrations, which generate structured records by design. Development of genuinely new synthesis routes, processing steps and characterization methods, where the process itself changes as the research evolves, is still recorded in isolated notebooks and spreadsheets, and the resulting data rarely outlive the original study. All that lost and hidden data could enable automated AI-driven discoveries of novel materials, chemicals and energy technologies for the future.</p><h3>Conclusion</h3><p>Software did not become reliable because programmers became more careful. It became reliable because version control made history automatic and complete. Materials and chemical research needs the same shift: process history that is recorded as the work is done, that tolerates change instead of punishing it, and that can be queried years later by people who were not in the lab when the decisions were made.</p><p><em>Disclosure: I am the founder of </em><a href="http://nioker.com/"><em>Nioker Systems</em></a><em>, which develops the Research Execution System (RES), a platform built around this problem. The argument above holds regardless of the tool used to address it.</em></p><p><em>If you are dealing with this in your lab, I would like to hear how you handle it — in the comments or through</em><a href="https://nioker.com/"><em> nioker.com</em></a><em>.</em></p><h3>References</h3><p>1. R. B. Canty, M. Abolhasani. <em>Nature Reviews Chemistry</em> 10, 523–537 (2026)</p><p>2. D. Kocetkov, et al. The Stack: 3 TB of permissively licensed source code. arXiv:2211.15533 (2022)</p><p>3. N. Muennighoff, et al. OctoPack: Instruction tuning code large language models. arXiv:2308.07124 (2023)</p><p>4. C. E. Jimenez, et al. SWE-bench: Can language models resolve real-world GitHub issues? arXiv:2310.06770 (2023)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26ae49f97081" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>