Research

Papers and experiments on specification, learning, and the future of software automation.

Reading Specification Oracles

Our first paper, by Atticus Cull and Justin McCarthy, asks whether a language model can act as a living specification. It compares two ways to retain knowledge: an external sheet of notes and trained adapter weights. Generated worlds let the experiments vary the structure of the facts while keeping the questions and storage budgets controlled.

The generated worlds describe relationships among rooms, regions, items, and factions. Four families of worlds, each containing 596 facts, test how much each approach benefits from regular structure. The study compares the 7B and 14B Qwen2.5-Instruct models across different storage budgets.

The results reveal a tradeoff. Learned weights made better use of structure in these experiments, while notes required substantially less storage for each world. These are findings about controlled tasks, with specific models and budgets; they do not establish that either approach can replace specifications or verification in a production system.

Start with the article above for the question, methods, and main results. Read the full paper for the experiments and limitations. For related work on checking existing software and its replacements, explore our Brownfield rewrite resources, including specification recovery, differential testing, and formal verification.