{
  "id": "N-Q-LM-v1.0",
  "type": "report",
  "title": "From Q-systems to Q-LM.",
  "author": [
    {
      "family": "Hay",
      "given": "Chris"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2026,
        11,
        27
      ]
    ]
  },
  "URL": "https://chrishayuk.com/records/N-Q-LM/1.0",
  "publisher": "Chris Hay",
  "version": "1.0",
  "abstract": "The third Q-systems note asked whether the rules could be learned from the sentences. Q-LM, a modern experiment that leaves the reconstructed machine unchanged, uses it to make a corpus of 131,424 sentences, every sentence of every tree with at most one level of embedding, and to judge what learners produce. A learner given only 105,138 training sentences and the vocabulary groups substrings that share a context into categories. From 1,000 sentences one category holds both a name and an embedded clause, and every one of 300 deeper sentences of known words can be derived. From 10,000 sentences on, the grammar is the same 192 categories and 1,772 rules. Its first write-up, QLM-003, put it far ahead of a transformer at depth. Two corrections followed, and a test. Its five rounds of inside–outside were early stopping: run to convergence, it gives deeper sentences 2.37 bits per token at full size, not 1.59, though its structure still derives all of them. The transformer it beat was one custom model: a Llama-shaped model of about the same size comes within 0.02 to 0.6 bits of the grammar at full size, and is about 1% better on the corpus. The test showed that the custom model’s failure was not sentence length, and an ablation finds that rotary positions alone carry the difference between the two transformers. On three generated languages, the grammar still leads Llama at depth by 0.2 to 1.5 bits."
}