Decision Tier

Case study Part 3 of 6 · wording and blending

Wording and blending

Jev answers one statement about each paragraph, so the wording of that statement looked like the obvious lever. We tested 22 ways of asking, blended them ten ways, and tried giving Jev a draft answer to read against. Three lessons came out of it. Rewording barely moved the top of the list. Blending many wordings helped a little, mostly past the top 40. The blend that mattered most combined the original ranking with one draft-aware statement.

Code rankings, normalizing, blending, learned rankers Jev one answer per paragraph per statement LLM Opus as grader and analyst; Sonnet as writer

What Jev sees

Each paragraph is one question in a Jev request, and the user's question sits in the state. Jev never sees the neighboring paragraphs unless we add them. Here is the shape, with placeholders where the corpus text goes:

state:    { library: "<one line describing the collection>", question: "<the user's question>" }question: Paragraph from "<document title>" (<source>, <date>), <section heading>:          <paragraph text, 200 to 1,500 characters>          This paragraph states something an answer to the question in `question` would rely on.answer:   the probability that the statement is true  →  rank all paragraphs by it          # Score: the expected level, 0 to 1. Choice: report + 0.6 × support + 0.1 × background

That last line is rely, the wording we kept. Most of the other wordings are also true-or-false statements (Nouls). Two use richer types, both asking "How useful is this paragraph for answering the question in `question`?":

How the wordings were tested

Jev read all 28,167 paragraphs with rely for each of the 24 questions. Every other wording then reranked each question's rely top 2,000, which keeps the cost down. It also means no wording got a chance to reach deeper than rely already had. Opus graded paragraphs from 0 to 3, blind to rank: each question's top 250, then the top 100 of every variant, 8,363 paragraphs in all. Grade 2 or above counts as useful. The measure is the share of a question's useful paragraphs that a list reaches, compared with rely's list at the same depth. Wordings were chosen on the 16 tuning questions before the 8 held-out results were read.

Besides rely, eight wordings came from the repo's existing list, four of them compared earlier on the textbooks, and we added seven for this test. Opus proposed six more after studying what rely ranked badly. Asking rely a second time gives the noise floor, about one point.

Change in useful paragraphs reached, in points, against rely. Bold marks a 95% interval above zero. Hover a number for its interval.

Way of askingTop 40, tuningTop 40, held outTop 100, tuningTop 100, held out
rely Noul · earlier set
This paragraph states something an answer to the question in `question` would rely on.
basebasebasebase
rely-again Noul · earlier set
The same statement as rely, asked again: the noise floor.
+0.4-1.1+0.9+0.6
help Noul · earlier set
This paragraph would help answer the question in `question`.
-0.0-1.4+2.0-0.9
required Noul · earlier set
Answering the question in `question` correctly requires the information in this paragraph.
-2.2-2.0-0.3-1.3
facts Noul · earlier set
A good answer to the question in `question` would include facts stated in this paragraph.
-2.7-0.6+0.6-0.5
context Noul · earlier set
This paragraph gives useful background or context for an answer to the question in `question`.
-2.5-2.2+0.5-3.5
quote Noul · earlier set
An answer to the question in `question` would quote or closely paraphrase this paragraph.
-4.4-2.7-0.8-2.2
direct Noul · earlier set
This paragraph directly answers part of the question in `question`.
-4.1-3.4-2.1-2.6
specific Noul · earlier set
This paragraph states a specific figure, date, name, decision or quoted view that an answer to the question in `question` should report.
-5.0+3.1+0.8-0.8
omit Noul · earlier set
Leaving this paragraph out would make the answer to the question in `question` less correct or less complete.
-2.2-2.1+1.2-0.0
notes Noul · added for this test
Someone researching the question in `question` would highlight this paragraph in their notes.
+0.7-2.8+3.7-1.8
evidence Noul · added for this test
This paragraph contains a concrete claim, number, example or first-hand remark that is evidence for some part of an answer to the question in `question`, even if it does not use the question's words.
+0.9-0.1+3.6+0.2
implied Noul · added for this test
Read in light of the source's title and date, this paragraph says something that bears on the question in `question`, even if the subject is only implied.
+2.2-0.3+5.4-1.1
rely+prev Noul · added for this test
This paragraph states something an answer to the question in `question` would rely on. (shown with the previous paragraph)
-2.4-1.0-0.8+0.5
evidence+prev Noul · added for this test
This paragraph contains a concrete claim, number, example or first-hand remark that is evidence for some part of an answer to the question in `question`, even if it does not use the question's words. (shown with the previous paragraph)
-0.2-1.7+3.5+1.6
score4 Score · added for this test
How useful is this paragraph for answering the question in `question`? Four levels, from unrelated to must report.
+1.1+0.1+6.4+0.5
choice4 Choice · added for this test
How useful is this paragraph for answering the question in `question`? Four options: report, support, background, none.
+1.4-1.0+7.7-0.7
gives-specific-answer Noul · proposed by Opus
This paragraph contains a specific figure, date, name, decision, or stated reason that directly answers some part of `question`, even if it appears only as a table row, a footnote, or a spoken remark.
-5.4-0.8-0.6-2.1
serves-any-subpart Noul · proposed by Opus
This paragraph supplies information for at least one of the distinct things `question` asks, including minor or late clauses, not only its main subject.
-2.5-0.4+1.9+0.8
matches-period-and-subject Noul · proposed by Opus
The facts in this paragraph concern the same entity, event, and time period that `question` asks about, not an earlier occurrence or a different entity sharing similar terms.
-7.4-12.4-6.6-20.1
more-than-context Noul · proposed by Opus
Beyond identifying or describing the entities named in `question`, this paragraph reports an outcome, amount, change, judgment, or plan that `question` asks for.
-4.7+1.6-0.2-0.1
not-boilerplate Noul · proposed by Opus
This paragraph is not standard repeated text such as a company description, division blurb, contact line, or accounting-method explanation; its content is particular to what `question` asks.
-1.7+0.5+1.5-4.5
indirect-match Noul · proposed by Opus
Read together with its source title and date, this paragraph provides something `question` asks for, even if it refers to the subject indirectly, through an anecdote, a garbled transcription, a different language, or names the question only paraphrases.
-4.0+2.7-0.7+4.6

Winners on tuning questions didn't hold

The dashed line is where the held-out gain equals the tuning gain. Most wordings that did well on tuning questions fell close to zero on held-out ones, and Opus's indirect-match wording did the reverse:

Gain at top 100 on tuning questions against gain on held-out questions, one dot per wordingChange in useful paragraphs reached at top 100 against rely. four-way Choice: tuning +7.7, held out -0.7; graded Score: tuning +6.4, held out +0.5; implied: tuning +5.4, held out -1.1; notes: tuning +3.7, held out -1.8; evidence: tuning +3.6, held out +0.2; evidence + previous: tuning +3.5, held out +1.6; help: tuning +2.0, held out -0.9; Opus: serves-any-subpart: tuning +1.9, held out +0.8; Opus: not-boilerplate: tuning +1.5, held out -4.5; omit: tuning +1.2, held out -0.0; rely, rerun: tuning +0.9, held out +0.6; specific: tuning +0.8, held out -0.8; facts: tuning +0.6, held out -0.5; context: tuning +0.5, held out -3.5; Opus: more-than-context: tuning -0.2, held out -0.1; required: tuning -0.3, held out -1.3; Opus: gives-specific-answer: tuning -0.6, held out -2.1; Opus: indirect-match: tuning -0.7, held out +4.6; quote: tuning -0.8, held out -2.2; rely + previous paragraph: tuning -0.8, held out +0.5; direct: tuning -2.1, held out -2.6; Opus: matches-period-and-subject: tuning -6.6, held out -20.1.-8-8-4-400+4+4+8+8held out = tuningGain on the 16 tuning questions (points)Gain on the 8 held-out questions (points)four-way Choice: tuning +7.7, held out -0.7four-way Choicegraded Score: tuning +6.4, held out +0.5graded Scoreimplied: tuning +5.4, held out -1.1impliednotes: tuning +3.7, held out -1.8evidence: tuning +3.6, held out +0.2evidence + previous: tuning +3.5, held out +1.6help: tuning +2.0, held out -0.9helpOpus: serves-any-subpart: tuning +1.9, held out +0.8Opus: not-boilerplate: tuning +1.5, held out -4.5Opus: not-boilerplateomit: tuning +1.2, held out -0.0rely, rerun: tuning +0.9, held out +0.6rely, rerunspecific: tuning +0.8, held out -0.8facts: tuning +0.6, held out -0.5context: tuning +0.5, held out -3.5Opus: more-than-context: tuning -0.2, held out -0.1required: tuning -0.3, held out -1.3Opus: gives-specific-answer: tuning -0.6, held out -2.1Opus: indirect-match: tuning -0.7, held out +4.6Opus: indirect-matchquote: tuning -0.8, held out -2.2rely + previous paragraph: tuning -0.8, held out +0.5direct: tuning -2.1, held out -2.6Off the chart: Opus: matches-period-and-subject, -6.6 tuning, -20.1 held out

With 16 and 8 questions, a few points either way is mostly noise. Of the single wordings and the ten pairings with rely we tested, only rely plus a graded Score, with their log-odds summed, had a 95% interval above zero on both sets: +4.3 [2.5, 6.2] and +2.1 [0.5, 4.3] at top 100. Even that added only 2 gold facts on tuning questions and none on held-out ones. It's a different result from email, where wording moved accuracy a lot. Our guess is that a ranking cares less about wording than a threshold does, and that most misses here come from what Jev is shown. We haven't tested that explanation.

Why useful paragraphs rank low

Opus was shown about 210 useful paragraphs that ranked 41 to 250 on the tuning questions, and about 130 useless ones in the top 40, at most 15 and 10 a question. Its rough shares, out of about 180 and 110 that it counted:

Useful, ranked low

  • 35%: table rows or footnotes whose headers were cut off
  • 20%: answer a late part of a multi-part question
  • 17%: spoken or machine-garbled transcript
  • 10%: refer to the subject only indirectly

Useless, ranked high

  • 27%: background that names the right entities but answers nothing
  • 23%: repeated boilerplate, such as company blurbs
  • 18%: the right kind of fact for the wrong period or instance
  • 12%: method or accounting text, or tables that stop before the answer row
  • 11%: the same keyword for a different entity
  • 9%: off-topic conversation in transcripts

Opus aimed its six wordings at both lists. None reliably helped. A table row without its header doesn't say what its numbers mean, however the question is put. That's why we expect restoring table headers and speaker labels to matter more than more wordings, though that isn't measured yet.

Wording also changes the score scale. On the textbooks, the share of paragraphs scoring 0.5 or more ran from 0.8% to 12.9% across wordings. A fixed "hot" threshold belongs to one wording, so rank instead, or normalize before mixing wordings.

Blending: many answers per paragraph

One request can carry many questions, so a paragraph can be asked several ways at once and the answers combined in code. To reuse what we had, we scored each wording in its own pass and blended the saved scores. That should give the same answers as asking them together, though we didn't check. The flow:

We blended the 21 wordings that ranked sensibly, one pass per wording: all but the period-and-subject wording, which failed as a ranker, and the repeat of rely. The options, from simplest to most learned:

BlendHow it worksWhat to watch
Max of probabilitiesA paragraph ranks by its best answer from any wording (Score and Choice give 0-to-1 values, not true probabilities)A wording with a looser scale dominates, and noise from any one wording gets through
Max of z-scoresStandardize each wording's log-odds first, then take the bestFixes the scale problem, not the noise
Mean of log-oddsAverage the evidence across wordingsTreats wordings as separate witnesses, but they're correlated
Mean of z-scoresThe same after standardizingNearly identical to mean of log-odds here
Median of z-scoresThe middle answerIgnores one odd wording, and also ignores one sharp one
Mean of the top 3 z-scoresBetween max and meanOne more number to choose
Reciprocal rank fusionSum 1 / (60 + rank) across wordings, using ranks onlyNeeds no calibration, so it can mix wordings, models or BM25
A few wordings chosen on tuning questionsrely plus 2 or 4 wordings added one at a time by what helped most on tuning questions, then reciprocal rankSelection overfits like any tuning
Logistic regressionLearned weights on the 21 z-scores, fitted to graded paragraphs plus a sample of ungraded ones counted as not usefulNeeds labels, and the weights mislead (below)
CatBoost rankerA learned ranker (YetiRank) on the z-scores plus source, length, digit share and headingNeeds labels, learns this corpus, and needs refitting elsewhere

How they did

All 24 questions, top 100, against rely. The two learned blends were judged one question at a time, each time trained on the other 23:

Blends of 21 wordings at top 100, gain over rely in useful paragraphsMax of probabilities: +4.1 [1.6, 6.8]; Max of z-scores: +5.7 [2.1, 10.3]; Median of z-scores: +4.9 [2.6, 7.3]; Reciprocal rank, all: +5.0 [2.6, 7.5]; Mean of z-scores: +5.5 [2.8, 8.7]; Mean of log-odds: +5.7 [3.0, 8.9]; Mean of the top 3 z-scores: +5.9 [2.7, 9.9]; Logistic, leave one out: +7.0 [3.7, 10.6]; CatBoost, leave one out: +9.2 [5.5, 13.9].+0+5+10+15Max of probabilitiesMax of probabilities: +4.1 points [1.6, 6.8]+4.1Max of z-scoresMax of z-scores: +5.7 points [2.1, 10.3]+5.7Median of z-scoresMedian of z-scores: +4.9 points [2.6, 7.3]+4.9Reciprocal rank, allReciprocal rank, all: +5.0 points [2.6, 7.5]+5.0Mean of z-scoresMean of z-scores: +5.5 points [2.8, 8.7]+5.5Mean of log-oddsMean of log-odds: +5.7 points [3.0, 8.9]+5.7Mean of the top 3 z-scoresMean of the top 3 z-scores: +5.9 points [2.7, 9.9]+5.9Logistic, leave one outLogistic, leave one out: +7.0 points [3.7, 10.6]+7.0CatBoost, leave one outCatBoost, leave one out: +9.2 points [5.5, 13.9]+9.2Points of useful paragraphs gained over rely, all 24 questions, 95% interval
Blend, all 24 questionsTop 40Top 100Questions better / worse at 40Gold facts at 40 / 100
rely alone———96 / 113
Max of probabilities+2.4 [0.4, 4.7]+4.1 [1.6, 6.8]10 / 997 / 114
Max of z-scores+1.4 [−0.9, 4.0]+5.7 [2.1, 10.3]7 / 1194 / 118
Median of z-scores+0.9 [−0.7, 2.8]+4.9 [2.6, 7.3]9 / 692 / 118
Reciprocal rank, all 21+1.0 [−0.4, 2.6]+5.0 [2.6, 7.5]13 / 595 / 119
Mean of z-scores+1.5 [−0.2, 3.5]+5.5 [2.8, 8.7]14 / 596 / 120
Mean of log-odds+1.6 [−0.1, 3.7]+5.7 [3.0, 8.9]14 / 596 / 121
Mean of the top 3 z-scores+1.0 [−1.0, 3.3]+5.9 [2.7, 9.9]10 / 893 / 120
Logistic, leave one question out+1.9 [−0.1, 4.1]+7.0 [3.7, 10.6]14 / 598 / 121
CatBoost, leave one question out+3.1 [0.8, 5.7]+9.2 [5.5, 13.9]14 / 5109 / 124

The fairer test trains only on the 16 tuning questions and judges on the 8 held out:

Blend, 8 held-out questionsTop 40Top 100Questions better / worse at 100
Max of probabilities+1.8 [−1.2, 5.1]+2.1 [−1.6, 6.1]4 / 2
Mean of log-odds+1.2 [0.6, 1.9]+2.8 [0.7, 6.0]6 / 0
Reciprocal rank, all 21+1.1 [0.5, 1.7]+2.8 [0.6, 6.1]6 / 1
3 wordings chosen on tuning, reciprocal rank+1.7 [−0.4, 4.3]+1.2 [−1.3, 4.2]3 / 4
5 wordings chosen on tuning, reciprocal rank+1.6 [0.5, 2.7]+1.3 [−0.5, 3.7]4 / 1
Logistic, trained on tuning+1.4 [0.1, 3.2]+4.3 [0.2, 8.9]6 / 2
CatBoost, trained on tuning+1.1 [−0.4, 2.7]+4.1 [1.4, 7.2]6 / 0

What we take from these:

On cost, the 20 extra wordings over each question's top 2,000 cost about $0.41 a question, roughly 2 cents each, a little more for Score, Choice and the wordings that show the previous paragraph. The full rely read costs $0.233.

The blend that mattered most: a draft-aware reread

The biggest gain didn't come from rewording the question. It came from giving Jev something new to read against: the first answer. In the second pass, the state holds the question and a draft, and Jev judges each paragraph against both. We tried the three parts of the idea alone, as a max, as one combined statement, and blended with rely. The exact statements are in part 4. Missed gold facts found in added paragraphs, all 24 questions, of 65:

Second-pass ranking20 added40 added60 added
Read further down rely152024
"Corrects" alone152226
"Adds" alone182226
"Expands" alone182223
Max of the three192527
One combined statement212729
Combined, blended with rely by reciprocal rank283132

Two blending lessons repeat here. One statement that names all three things found 2 more missed facts than the max of three separate statements at each depth, though the max reached slightly more useful paragraphs. And blending the new ranking with the old one beat replacing it. Our guess is that rely still tracks what the question asks while the draft-aware statement tracks what the draft lacks, but we didn't test that. The combined statement over only rely's top 2,000 found the same facts as over every paragraph, for about $0.02 a pass instead of $0.29. Part 6 follows this pass through as a sequence diagram, along with what it did to the answers.

What we would use

read every paragraph with one plain statement (rely)if you will read more than about 40:    ask a handful of different wordings over the top 2,000    blend by mean of log-odds or reciprocal rank   # not max    with graded examples: a learned ranker, refitted per corpus, checked on held-out questionswrite a draftreread the top 2,000 with the draft in the state, one combined statementblend that with rely by reciprocal rank; add the best new paragraphsfix what Jev is shown before adding wordings   # table headers, speaker labels

Options we haven't tried

Limits. One pass of Opus grades, which saw a sample of gold facts. Variants only reranked rely's top 2,000. The second-pass table counts facts found in paragraphs, not facts stated in answers, and its blend was chosen after seeing the results of seven methods. All 24 questions have now been inspected, so a further held-out claim needs fresh ones. The wording test cost $30.38: $16.44 for Jev and $13.94 for Opus grading and analysis.

Next: The loop, built: the recipe, the exact statements and the second pass in context.