← All projectsGitHub
Machine learning on qualitative data

Do a dozen codebook codes predict better than bag-of-words when labels are scarce?

research/qual-features

Do a dozen codebook codes predict better than bag-of-words when labels are scarce? On GoEmotions, 12 word-list codes reached 0.65 AUC at 100 labels against 0.56 for bag-of-words, and still led at 1,600 (0.75 against 0.67). Word lists, not an LLM; no learned embedding tested.

5 tests

What it found

On GoEmotions comments (predict a negative-emotion label, AUC on 1,500 held-out items), a logistic model on 12 word-list codebook codes plus log length beats bag-of-words at every labelling budget from 25 to 1,600 items: 0.65 against 0.56 AUC at 100 labels and 0.75 against 0.67 at 1,600, with bag-of-words still gaining. Adding the codes to the bag of words lands between the two, and a 64-dimension random projection of the words is near chance (0.55 at 1,600). The codes are word lists, not an LLM, and a learned sentence embedding was not tested; one corpus, one label, 12 subsets per size.

A figure from its own output

Figure produced by research/qual-features: auc_vs_labels
qual-features/experiments/auc_vs_labels.svg, written by the project's own experiment code.

Paper, code and results

More in Machine learning on qualitative data

All 23 Machine learning on qualitative data projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.