I2D2: Inductive Knowledge Distillation with NeuroLogic and Self-Imitation
Paper · 2023 · Chandra Bhagavatula, Jena D. Hwang, Doug Downey et al.
Summary
A statement can express useful commonsense knowledge even when it has familiar exceptions. Birds can fly, for instance, is a reasonable generalization in spite of penguins. Statements of this kind are called generics. I2D2 investigates how to generate them for everyday concepts and human goals using GPT-2 XL. Off the shelf, GPT-2 XL frequently turns a promising opening into a repetitive passage, a narrative, or a trivial observation. The authors ask whether guiding the continuation and training on the best results can make this relatively small language model a better source of generic knowledge.
I2D2 starts with prompts that name a concept and suggest a relation, or that place a human goal in a particular context. It then uses NeuroLogic Decoding to guide the search for continuations. Rules discourage repetition and restrict words that tend to lead into longer passages. A supervised RoBERTa-Large classifier, which the authors call the critic, scores the resulting statements for validity. The system uses the statements the critic accepts as training material for GPT-2 XL, then generates and filters fresh candidates. This process is called self-imitation because the generator learns from selected examples of its own work.
On held-out prompts, the share of raw I2D2 generations judged accurate rose from 45% to 58% and then 62% across the starting system and successive rounds of self-imitation. These measurements were taken before critic filtering. In a separate comparison of how well systems rank statements by validity, I2D2's critic achieved an average precision of 0.92, compared with 0.82 for the perplexity-based ranking used with Instruct-GPT-3. Average precision summarizes how well a ranking keeps valid statements near the top as more candidates are included. The two results answer different questions about the system: how often it produces valid statements and how well it can identify them.
The authors use I2D2 to build Gen-A-tomic, a corpus of generics. In the main corpus comparison, human judges accepted over 90% of sampled I2D2 statements and judged 76% of sampled statements from GenericsKB's high-quality subset accurate. The authors also estimate that Gen-A-tomic contains more distinct statements per concept. Together, the experiments show that prompt design, controlled generation, and selection can improve commonsense output on this task, even with a smaller generator. The critic still depends on human judgments about what counts as generally true, and constrained decoding accounts for much of the cost of building the corpus.
Deep dive: I2D2: Inductive Knowledge Distillation with NeuroLogic and Self-Imitation
I2D2 uses constrained decoding and self-imitation to improve the commonsense statements GPT-2 XL generates and build the Gen-A-tomic corpus. · about 34 minutes to read
The problem and its context
Commonsense often comes in the form of a default
A generic says something about a kind of thing or an ordinary situation. It may describe what a kind can do, what an object is used for, or what usually happens around an activity. The flying ability of birds is the paper's introductory example. The claim is about birds as a kind. A bird that is injured or asleep, and a kind of bird that never flies, can coexist with the generalization. A person using that knowledge still has to decide whether it applies in the situation at hand.
This makes generics valuable for reasoning and difficult to evaluate. An inference based on a default can change when a relevant detail becomes available. The paper connects generics with this kind of reasoning and points to their long history in philosophy, linguistics, and psychology. An ordinary-looking sentence can be hard to formalize because the force of the generalization depends on what the sentence says. A statement that characterizes a category and a statement that highlights a striking property can both sound natural as generics. The same test of how often the property holds may be a poor guide to both.
For the task in this paper, the input can be an everyday noun phrase, such as a kind of object, or a goal, such as improving at chess. The desired output is a short sentence that adds some plausible knowledge about the concept or goal. A prompt about a bicycle can invite a statement about equipment or some ordinary property. The chess goal can invite a statement about preparation or practice. The system can also be given a pair of concepts, such as a hotel and a credit card, and asked for a statement connecting them. These examples make the scope of the task concrete. The paper is interested in what can be said about a subject and what may connect two subjects in everyday life.
Fluency helps, but plausibility in ordinary prose falls short of validity. A plausible opening can lead into a specific story. A grammatically polished sentence can make a false assertion. A sentence may also be intelligible yet too narrow to capture a generalization worth retaining. The authors therefore treat the production of a compact generic and the judgment of its content as distinct operations. The task gives them a way to ask where a weak generator falls short and which kinds of intervention help.
How earlier resources represented commonsense
The paper describes earlier work that organized commonsense knowledge in explicit relations. ConceptNet collected connections among concepts and entities. ATOMIC and COMET-ATOMIC 2020 represented inferences around events, including relationships that can be understood in if–then terms. This kind of knowledge graph gives a system an organized way of asking for a specific relationship. In a structured triple, a relation links the other entries, so the statement is already divided into parts the application can address.
COMET took a further step by training a generator on ATOMIC. As the authors describe it, this made it possible to propose inferences about situations beyond those already recorded in the graph. I2D2 draws on the same broad ambition of providing knowledge on demand. Its output is a free-standing sentence, and its prompts reach beyond event-centered inferences to categories, objects, activities, and goals. The relation in an I2D2 prompt guides what the generator says, while the finished sentence is what a person reads and evaluates.
The closest existing resource for such sentences was GenericsKB. Its authors assembled a collection by finding and cleaning generic statements in existing text. As described in I2D2, this work also tested the usefulness of supplying generic statements to systems that answer questions and generate explanations. GenericsKB could provide statements already present in the collection. A goal or concept absent from its contents would call for another source. That gap motivates a generator that can take a concept as input and try to produce new material about it.
Extracting generics and generating them give a resource different starting points. Extraction is tied to what people wrote in the source collections and to what the extraction procedure can recognize. Generation starts with a subject chosen by the system designer or user, and the continuation might express a plausible generalization with wording absent from the source collections. With that flexibility comes the need for a way to reject fluent errors. I2D2 makes its filtering procedure an explicit part of knowledge acquisition.
Why use a smaller generator?
Symbolic Knowledge Distillation gave the authors a precedent for collecting synthetic knowledge at scale. In that work, as described in the paper, GPT-3 supplied event-centered inferences, and GPT-2 was trained on the resulting material. The larger system therefore served as a source of examples for the smaller one. I2D2 asks what can be achieved when the smaller generator supplies the statements on which it will later train.
Scale was an important part of the motivation. The authors accept that larger pretrained systems generally have stronger capabilities, and they take seriously the prospect that GPT-3 will produce better commonsense statements than an unmodified GPT-2 XL. Their question is whether a more focused procedure can compensate on this task. If the smaller generator can occasionally produce the desired kind of sentence, a search procedure might make those sentences easier to find. If a judge can distinguish useful from unhelpful candidates, selected sentences might then improve the next round of generation.
This proposal builds on earlier self-imitation work, which the paper traces to reinforcement learning. In that setting, an agent can learn to repeat actions from its own past that led to unusually good outcomes. The authors also describe related uses of self-generated practice in dialogue and programming. In the programming example, a compiler gives the procedure a stronger kind of feedback than a classifier can give for an everyday generalization. For I2D2, a sentence may be perfectly well formed while its status depends on common experience, context, or which exceptions matter. The critic therefore brings human supervision into the loop through examples of judged statements.
The market for generics in this paper is narrower than the general question of whether a system possesses commonsense. The experiments concern the ability to produce and select plausible statements under specified prompts and judgments. That focus matters because the apparent strength of a system can depend on which operation the experiment tests. A generator may contain enough information to propose some useful statements while needing help with their format or selection. I2D2 makes those sources of improvement visible by assigning them to separate stages.
The method, step by step
I2D2 turns a concept into a collection of candidates, filters the candidates, and trains the generator on selected statements. A concept such as bicycle provides the topic. A relational phrase gives the beginning of a claim about it. At generation time, search rules push the continuation toward the short form expected of a generic. At selection time, the critic scores the completed statement. Across rounds, the set of statements that pass the critic becomes training material for the next version of the generator.
How I2D2 generates and learns from generics
The steps in order.
Choosing the concepts
The authors start from noun phrases and human goals. For noun phrases, one source is GenericsKB. The authors retain noun phrases with at least five generics already recorded in that resource, yielding 8.5K seed concepts. The frequency requirement responds to a specific problem the authors found in GenericsKB: some entries refer to specialized subjects that are poor starting points for the kind of everyday generation they want. A noun associated with several existing statements gives the system a more promising subject to expand.
ConceptNet provides another pool of noun phrases. The authors focus on terms for artifacts and people and use the WordNet hierarchy to find more specific concepts under the corresponding senses. This is a use of hypernymy, the relationship between a broad category and a more specific kind. They match candidates against ConceptNet and manually review the selected terms. The paper reports 1.4K vetted ConceptNet seed concepts. The choice of categories shapes what the resulting resource covers. The authors selected these types because much everyday knowledge centers on people and artifacts, and they describe other types as possible areas for extension.
The goal prompts start from a different kind of expression. ProScript contributes goals from its training data. From ATOMIC, the authors take base events and remove the abstract names used for people in the event descriptions. They screen out events phrased as desires, expectations, or other hypothetical situations, along with negated events and examples framed around permission or obligation. The appendix reports 8.5K ATOMIC goals after this selection. The goal list is meant to supply recognizable activities and outcomes to which the generator can attach preparation, timing, or other contextual information.
The authors expand the seed list using GPT-3. They show it a short list of existing concepts and ask it to propose more items like them. Each prompt contains five sampled concepts and produces five candidate outputs. The expansion rejects candidates whose generation perplexity falls below 8. Perplexity measures how readily a language model predicts a piece of text, with lower values corresponding to higher predictability. Accepted concepts join the pool for subsequent rounds of expansion, so the examples available for constructing new prompts change over time.
The resulting seed set contains 39K concepts, with 26K noun phrases and 13K goals. GPT-3 also proposes related concepts in a separate prompting task. The prompt demonstrates a set of associations for a concept such as hotel and asks for a comparable list for another input. The system obtains five related concepts for each query in this procedure. These associations can later become required ingredients of a generic. GPT-3's role here is to suggest topics and associations. The sentences filtered and used for self-imitation are generated by GPT-2 XL.
Turning concepts into prompts
For noun phrases, the authors assemble prompts from a small grammatical pattern. A frequency adverb may come first, and an article can be added before the noun phrase. A manually chosen relational phrase follows. The combinations vary the grammatical form and the sort of knowledge being requested. An opening that uses a form of have invites a different kind of completion from an opening that asks what something can do. Because the topic persists across these prompts, one concept can lead to statements about several aspects of everyday experience.
The allowable pattern in the paper can be written as follows.
[Generally | Typically | Usually]? [a | an | the]? <noun phrase> <relational phrase>
Square brackets group alternatives, and the vertical bar means that the group supplies either one listed alternative or another. A question mark makes the preceding group optional. The angle brackets denote slots that the procedure fills. The noun phrase names the concept, and the relational phrase starts the claim about it. The words inside the square brackets are the actual options for the optional adverb and article positions.
The authors observed that an initial frequency adverb helped steer completions towards general statements. It gives the continuation a cue about the intended reading before the decoder reaches the content of the claim. The article serves a more local purpose because some noun phrases read more naturally with one. The procedure tries the allowed realizations for each concept and relation, then chooses the realization that GPT-2 XL assigns the lowest perplexity. This uses the generator's own predictions to choose an opening that is likely to read naturally.
For goals, the pattern places the activity in a different context each time. The authors build four prompts, using a purpose construction and temporal constructions that place the completion before, after, or during the activity. The choice affects the kind of generic a completion can express. The purpose construction can lead to something a person should do to reach a goal. A construction about what happens afterward invites a claim with a different temporal relationship to the same activity. These are prompt families, so the generator supplies the specific content beyond the opening.
Prompt screening then removes openings with per-word perplexity above 250 under GPT-2 XL. The paper illustrates the problem with a template combination that introduces a disagreement between the subject and verb. A relational template that works for one noun can be awkward for another. This screen uses high perplexity to flag suspect prompts before spending computation generating several continuations from them. Its direction is different from the low-perplexity exclusion used in the GPT-3 seed expansion procedure. The two thresholds are applied to different material at different stages.
After screening, I2D2 has 1.6M prompts. This scale matters to the rest of the procedure. Templates give the authors a way to express many candidate requests without writing each one individually. Even a well-formed opening can still lead to an implausible conclusion or a long passage, so prompt screening leaves work for both the decoder and the critic.
Searching for a short generic
An autoregressive generator builds a continuation by predicting what can come next given the text so far. The choice at each stage affects the remaining choices. With a topic and relation already in place, an unconstrained search can still make an early choice that leads into a narrative, a repetition of the prompt, or a longer sentence with subordinate clauses. The paper situates this difficulty in earlier work on neural text degeneration. The authors want the continuation to finish the generic without opening up a new train of thought.
NeuroLogic adds explicit conditions to the search. It can express a requirement that a word appear or a prohibition that keeps it out, and it can combine conditions expressed in conjunctive normal form. In that form, the overall condition is a conjunction of clauses, each of which can express alternatives. NeuroLogic approximates the search with beam search, which maintains a set of promising partial continuations as it proceeds. A large penalty for a violated condition makes the search favor continuations that satisfy the requested form.
The paper's default collection of conditions is the following.
(count(function words) ≤ 1) ∧ (count(connective words) = 0)
∧ ¬source concept ∧ ¬relational phrase
Here count measures occurrences of words from the named list in the continuation. The ≤ sign makes 1 the upper bound on the function-word count. The equality sign requires the connective-word count to be 0. The ∧ sign means that the conditions apply together. The ¬ sign prohibits the expression it precedes. The source concept is the concept already used in the opening, and the relational phrase is the expression that began the claim about it. Their prohibitions apply to repetition in the generated part.
The category names describe the authors' working lists. The function-word list contains items such as prepositions and determiners. The list called connective words includes familiar clause connectors and other expressions the authors chose to block, including some pronouns, negatives, and numerals. It is an engineering choice about which continuations to favor. Restricting openings for further clauses can keep an answer short, while preventing reuse of phrases from the prompt can suppress repetition. A separate positive constraint can require a related concept to appear. In the hotel example, that requirement gives the generator the task of connecting a hotel with a credit card in the same statement.
The paper describes this objective in its pseudocode.
ŷ = arg max over y ∈ Y of [Pₖ(y | xᵢ) − λ ∑ over c ∈ Cᵢ of (1 − c(y))]
The symbol ŷ denotes the selected continuation. The operation arg max returns whichever candidate maximizes the bracketed score. The variable y is a candidate continuation, Y denotes the space of candidate continuations, and ∈ means membership in that space or in a set. The subscript i identifies a prompt, xᵢ is its text, and Cᵢ is its set of constraints. The subscript k identifies the generation round, and Pₖ(y | xᵢ) is the round's generator score for y given the prompt. The vertical bar denotes conditioning. The summation sign ∑ adds the terms for all constraints c in Cᵢ. The indicator c(y) is 1 when the candidate satisfies the condition and 0 when it violates it. Subtracting the resulting sum weighted by λ makes violations lower the search score. The beam search approximates the maximization over possible continuations.
The reported decoding settings are a batch size of 32, a beam size of 10, a maximum generation length of 30, a minimum generation length of 2, and a length penalty of 0.1. The beam size controls how many partial candidates the search can retain. The generation length bounds and length penalty are settings of the search alongside the rules on specific words. The authors generate ten candidates for each prompt and report about 16M candidate statements. A well-formed result at this point has satisfied a search objective. Its factual or commonsense status still has to be judged.
Teaching the critic what to keep
The critic is a RoBERTa-Large classifier. The paper reports 354M parameters for the critic and 1.5B for GPT-2 XL. The two components have different jobs. GPT-2 XL proposes text given an opening. The classifier looks at completed statements and predicts whether they are valid generics. This distinction allows explicit knowledge of which examples people accepted to enter the system where it is most directly useful, at the point where a candidate is retained or rejected. The classifier is based on RoBERTa.
The critic training set contains ∼12K statements sampled from a held-out pool of ∼3K concepts, with up to four generations chosen per concept. The authors use the same style of human annotation for these judgments and the evaluation judgments. Workers can rate a statement as true or false, report that they cannot tell, or flag output that is garbled. Those distinctions are valuable when collecting judgments because failures of knowledge and failures of form can look quite different to a reader. For critic training and evaluation, the target distinction is whether the statement is a valid generic.
The appendix reports a critic training batch size of 64, a learning rate of 1e − 4, and 5 training epochs. A batch groups examples for an update. The learning rate controls the size of the updates, and an epoch is a pass through the training data. The labels come from judging generated statements, so the critic is trained on examples of the sort of output it will have to assess. The authors do not present it as a general fact verifier. It estimates the kind of validity that annotators recognized in these data.
The paper's pseudocode first pools the selected generations in each round.
Dₖ ← Dₖ ∪ {ŷ}
The symbol Dₖ denotes the candidate pool for round k, which starts empty. The arrow ← assigns its updated contents. The union sign ∪ adds the selected generation ŷ to the pool, and braces around ŷ denote a set containing that generation. The pseudocode shows an individual selected output. The corpus procedure collects multiple candidates from every prompt.
The critic then supplies the filtering decision.
D̃ₖ ← {y | y ∈ Dₖ and Ω(y) > δ}
The symbol D̃ₖ denotes the accepted portion of the round's candidate pool Dₖ. The arrow assigns that portion to D̃ₖ. Within the braces, the vertical bar means “such that.” A candidate y must belong to Dₖ and receive a score Ω(y) above the threshold δ. The function Ω denotes the critic, and the sign > makes the threshold strict. The pseudocode places critic training on annotated samples before this selection step. The reported training data give the scale of that supervision, while δ names the decision threshold in the procedure.
Learning from the selected output
The motivation for self-imitation is that constrained search can produce usable examples even while the starting generator produces many weak ones. Once the critic has identified a collection of useful statements, fine-tuning changes the generator's parameters using those examples. The intended effect is to make continuations like the accepted statements more likely on a later pass. The model learns from text it produced itself, with the prompt, decoder, and critic responsible for shaping what goes into the next training set.
The update uses maximum likelihood. In practical terms, it rewards the generator for assigning high probability to the next token in an accepted statement given the earlier tokens. The generator learns directly from the sequence that passed the critic. The critic's score determines admission to the training pool, and the training objective then treats the accepted sequences as examples to imitate.
Writing the parameters varied by the update explicitly, the maximization described in the paper's algorithm is as follows.
θₖ₊₁ ← arg max over θ of Eᵧ∼D̃ₖ [log Pθ(yₙ | y₁, …, yₙ₋₁)]
The symbol θ denotes the generator parameters being optimized, and θₖ₊₁ denotes their values for the round following k. The arrow assigns the parameter values returned by arg max, the operation that chooses the maximizer. The E denotes an expectation over examples y drawn from D̃ₖ, as indicated by ∼. The notation Pθ denotes the generator's probabilities under parameters θ. The token at position n is yₙ, and y₁, …, yₙ₋₁ are the preceding tokens. The ellipsis means that all intervening prefix positions are included. The vertical bar again denotes conditioning. log takes the logarithm of the assigned probability. The expression is the conditional next-token objective, applied across the training text. After the update, Pₖ₊₁ is the generator with the newly learned parameters.
The algorithm runs this loop from an initial pretrained generator P₀. Its input X contains the indexed prompt and constraint pairs (xᵢ, Cᵢ), N specifies the number of rounds, and k ranges from 0 through N − 1. A round generates, pools, and filters examples, then updates the generator. The authors study the initial generator and the output after successive fine-tuning updates. The resource made from the generated generics is called Gen-A-tomic. The paper also names the I2D2 codebase and specifies Apache License 2.0 for the code and CC-BY for the corpus.
Experiments and results
The experiments measure several properties of the system, each at a different point in the procedure. The corpus comparison tests statements a reader would actually receive from a retained collection. The ranking experiment tests whether a score can separate valid from invalid examples as the selection threshold changes. The self-imitation experiment tests the raw generator before applying the critic. The authors also estimate how much distinct material the corpus offers for each concept. The same word, quality, can refer to any of these properties, so the sample and measurement procedure matter when interpreting a result.
Validity in a released-style corpus sample
The authors compare Gen-A-tomic with GenericsKB by sampling from both resources and asking Amazon Mechanical Turk workers to assess whether the statements are valid. GenericsKB was extracted from Waterloo, SimpleWikipedia, and ARC. The paper reports a collection of 14M statements and a high-quality subset of 1M. The authors use that best 1M as the reference collection. This choice makes the comparison relevant to an application that would prefer the curated part of GenericsKB.
The paper describes a random sample of 1K statements for the corpus comparison. In the main results, 76% of the sampled GenericsKB statements were judged accurate, and over 90% of sampled I2D2 statements were judged valid. The introduction presents the comparison as 75% for GenericsKB and 90% for I2D2. The detailed experimental account gives the sample findings used here. Both accounts characterize a corpus whose retained content was judged more often valid in this comparison. The introduction also describes Gen-A-tomic as over 2X the size of the GenericsKB collection used as the quality reference.
These results describe a resource comparison after the I2D2 selection procedure has done its work. A user reading from the corpus benefits from the fact that weak generations were removed. The validity rate of a retained resource therefore answers a different question from the rate at which a new raw continuation is likely to be correct. It also describes the two sampled collections under a shared validity judgment. The more expansive comparison with the full extraction pool would involve a different collection from the one selected here.
The paper separately states that the best GPT-3 accuracy in its generation experiments was 82%. The more detailed version comparison below gives the individual figures on the common set of test prompts. In the overall comparison with I2D2, the authors describe GPT-3 as a 100× larger generator. They use this comparison to show how a specialized pipeline can compete on the generation of generics. The pipeline and resource include steps beyond a run of the generator alone.
Ranking candidates on held-out concepts
The evaluation for comparing I2D2 and GPT-3 sets aside 300 concepts. Each concept has several prompts, with an average of 40 prompts per concept. The authors produce ten statements from each system for each prompt. They then sample four statements generated by each system for each concept from the available outputs. The initial variety of prompts is important because the evaluation is about what can be generated for a concept across the available ways of posing the request.
The GPT-3 comparison uses the Instruct-GPT-3 version text-davinci-001. It receives an instruction and six demonstrations before the test prompt. The demonstration sets for noun phrases and goals are different. This is few-shot learning in the sense that the examples show the desired response inside the prompt. The examples demonstrate that the continuation should be an ordinary generalization. The paper connects the baseline to the work on GPT-3 and instruction-following with human feedback. GPT-3 · Training language models to follow instructions with human feedback
Three MTurk annotators judge each sampled output. The options distinguish a valid statement from a false one, uncertainty, and garbling. The paper reports that at least two of the three workers agreed on a label 92.5% of the time. This is the authors' agreement statistic for the validity annotation. The paper explains its preference for reporting agreement in light of the intended label skew towards valid statements. The appendix describes recruitment from a qualified pool of 168 crowdworkers and reports an average pay rate of $15/hour throughout the project.
Ranking uses the human judgments as the benchmark. For I2D2, the score comes from the supervised critic. For GPT-3, the ranking uses the perplexity assigned to a statement. The authors also score statements using perplexity under off-the-shelf GPT-2 XL as an additional baseline. In this experiment, perplexity is being asked to act as a proxy for the validity of completed text. A fluent statement may be easy to predict while saying something wrong, and a useful statement may use an unusual wording. Human judgments let the authors see how much of that distinction the scores capture.
A precision–recall curve shows how the ranking behaves as the set of allowed outputs expands. Precision asks what share of the retained examples is valid. Recall asks what share of the valid examples in the annotated set the selection has retained. Keeping a short list of highly ranked outputs tests whether the scorer can deliver a reliable small collection. Letting more material through tests how well it can preserve accuracy as coverage increases. Average precision summarizes the quality of that ordering across the curve.
Average precision on the held-out generic validity test
The supervised critic ranks valid statements more effectively than the Instruct-GPT-3 perplexity score.
The numbers
| System or setting | average precision |
|---|---|
| Instruct-GPT-3 perplexity | 0.82 |
| I2D2 critic (this paper) | 0.92 |
The authors report that the off-the-shelf GPT-2 XL perplexity baseline was the weakest at identifying valid statements. The comparison supports a concrete claim about scoring: examples of human validity judgments give the I2D2 critic a signal that perplexity by itself captures less effectively in this setup. The I2D2 average precision of 0.92 and the GPT-3 average precision of 0.82 belong to this ranking evaluation. A corpus validity percentage or a raw generation accuracy describes a different sample or decision.
Raw generation after self-imitation
The authors reuse the held-out test prompts to check whether the generator improves with self-imitation. The starting condition uses off-the-shelf GPT-2 XL within I2D2. That means it has the framework's prompting and constrained decoding, while its weights have yet to be updated on its own selected generics. The later conditions use the versions produced by the fine-tuning loop. The comparison samples outputs before filtering and uses human validity judgments to score them.
Raw I2D2 generation accuracy on held-out prompts before critic filtering
Raw statement validity rises after each tested self-imitation update.
The numbers
| System or setting | accuracy % |
|---|---|
| Starting GPT-2 XL with constrained decoding | 45 |
| After the first self-imitation update | 58 |
| After the second self-imitation update (this paper) | 62 |
The rise from 45% through 58% to 62% shows that the improvement survives removal of the final filter at evaluation time. An accepted training example can influence later predictions even when the critic has yet to score those predictions. The result also puts the corpus validity finding in context. A raw sample from the updated generator and a sample of material that survived selection represent different points in the pipeline. High validity among retained statements can coexist with a substantial number of candidates that still have to be discarded.
Estimating distinct knowledge per concept
A corpus of generated text may contain several wordings of essentially the same statement. Counting all sentences would count such variations as separate entries, so the authors estimate the number of distinct generics per concept. They use mark and recapture, a survey method that estimates a population from the overlap between samples. Imagine setting aside examples from an initial sample, then checking how many examples in a later sample correspond to items seen before. Frequent recaptures suggest fewer distinct items available to draw from. Rare recaptures suggest a larger pool, given the samples and matching rule.
Here, the authors draw two random samples, each with a size of 30% of the dataset. A statement in the later sample can count as a recapture if it is sufficiently similar to a statement for the same concept in the earlier sample. Similarity is operationalized as a BLEU score > 0.85, with the earlier capture supplying the reference statements. BLEU is used here as a measure of textual overlap. The authors choose the threshold through experimentation and manual examination, then use the Chapman estimator to infer the population of distinct generics from the capture information.
Gen-A-tomic has at least triple the estimated average number of distinct generics per concept compared with GenericsKB in this analysis. The estimates are also higher for the best cuts of Gen-A-tomic. The paper reports a similar pattern when using embedding-based similarity, which compares numerical representations of the statements. These checks address repetition in the corpus. They provide evidence that the larger collection contains more distinct material by the paper's measures, alongside the separate evidence from validity judgments.
Comparing the GPT-3 versions
The authors also evaluate several GPT-3 variants on the same set of prompts. The comparison is among davinci, curie-instruct, and davinci-instruct. The instruct variants had been trained using reinforcement learning from human feedback, as described in the paper. Human validity judgments give the authors a common measure of what the variants produce under the tested prompting setup.
Generic statement validity across GPT-3 variants on the same test prompts
Davinci-instruct leads the tested variants, and the smaller curie-instruct exceeds davinci.
The numbers
| System or setting | accuracy % |
|---|---|
| davinci | 53.3 |
| curie-instruct | 60.6 |
| davinci-instruct (this paper) | 81.9 |
Davinci-instruct has the highest validity rate among the tested GPT-3 variants, at 81.9%. Curie-instruct achieves 60.6%, ahead of davinci at 53.3%, even though the paper describes curie as the smaller variant. This is evidence that the ordering by size can change across systems with different training. The authors relate it to their broader question about alternatives to simply increasing generator size. The result does not isolate a particular training ingredient, because these are complete API variants and their training details are incompletely disclosed.
What the ablations show
The generator improves before the critic makes a decision
The self-imitation comparison offers the paper's most direct evidence about how the generator changes. It keeps the held-out prompts fixed and measures the validity of raw outputs under the starting generator and after fine-tuning. Since none of those outputs has gone through the critic at evaluation time, the increase in validity can be observed independently of the final selection decision. The classifier has already mattered during training by determining what the generator got to learn from. Its impact on the later raw sample therefore travels through the training examples.
The initial condition is important to interpreting the gain. Its 45% is the generation accuracy for the starting GPT-2 XL within the constrained framework. It includes the help of prompt construction and NeuroLogic. The subsequent values show what changes when the authors add self-imitation to this starting system. They do not quantify what fraction of the total improvement over unconstrained GPT-2 XL is attributable to prompt design, the decoder, or any particular word constraint.
The paper also compares the precision–recall curves across the tested rounds. This supplements the raw validity percentages with a view of how candidate selection behaves as more output is accepted. The fixed-prompt experiment supports the authors' account of a reinforcing loop. Guided search produces examples worth keeping, the critic identifies a subset, and the next generator produces valid generics more frequently. The measured result concerns the full update procedure, including the choice of training examples. Separate trials with arbitrary, unfiltered, or differently selected training examples would be needed to compare those sources of supervision.
The ranking experiment tests the value of a trained judge
The critic comparison asks whether there is an advantage to learning what valid statements look like from annotated examples. It shows a higher average precision for the supervised critic than for the Instruct-GPT-3 perplexity procedure, with GPT-2 XL perplexity ranking weakest. That pattern fits the design of the classifier. Its training gives it direct examples of acceptable and unacceptable generated statements. Perplexity measures the predictability of language and can reward familiar phrasing even when the proposition is wrong.
The comparison involves different generators and scoring arrangements, as well as a shared test design. It supports the usefulness of the supervised judge as deployed in I2D2. Its scope is the ranking produced by each tested procedure. It offers less leverage on what would happen if every scorer were compared on the same fixed pool under equivalent supervision. The raw before-filter evaluation remains the more direct evidence that the generator itself learned something from the accepted examples.
The output examples give a qualitative view of another distinction. The paper shows generics that are suitable, mistaken, or questionable from the sources it compares. The form controls target a familiar class of failures, including repetitive or drawn-out continuations. A judge is still needed for a concise sentence that makes an implausible claim. The paper gives reasons for restricting function words and connectors, but provides no separate numerical deletion test for each list or individual constraint. The examples help explain why the decoder and critic address different problems.
Corpus diversity and categories probe different failures
The diversity estimate checks whether producing a large volume of text mostly repeats what the collection already contains. Comparing the generated corpus with GenericsKB and examining different cuts of Gen-A-tomic tests that possibility under the paper's similarity rule. The stronger cuts show higher estimated diversity per concept, so the reported selection procedures can produce collections with both high validity and substantial variety. This comparison describes the resulting cuts. It leaves open how much of their diversity comes from the prompt inventory, the range of seed concepts, or the generation and filtering procedures.
In preliminary work, the authors also tried to classify generics by the kind of generalization they express, including semi-definitional, characterizing, and striking or majority cases. Crowdworkers had difficulty applying these finer distinctions consistently. The paper's example concerns whether a claim about a disease carried by mosquitoes should count as a striking generic, a judgment for which background knowledge matters. The authors leave these category judgments out of the main discussion because agreement was low. Basic validity and a reliable analysis of the linguistic types present in the corpus are different evaluation goals.
The model-variant comparison offers another form of analysis. Curie-instruct's advantage over davinci illustrates how the observed ordering can shift when training changes along with size. Davinci-instruct's lead shows that the larger instruction-trained variant remained strongest among the tested API variants. This comparison reinforces the paper's reason to study training procedures. It provides weaker evidence about causation than a comparison that varies a single training intervention in an otherwise fixed system.
Limitations
Limits identified by the authors
The authors limit their main GPT-3 comparison to text-davinci-001. They point out that details of the data used to train the API versions are largely unavailable or underspecified, and that newer versions may generate better statements. The paper's claim concerns the tested versions, task, and prompting setup. The comparison of GPT-3 variants itself illustrates the difficulty of taking one version as representative of an entire family.
The paper also describes a substantial generation cost. According to the limitations section, one RTX A6000 GPU takes three minutes to complete a batch of 32 generations. The appendix measures runtime differently, reporting two minutes to generate 10 outputs apiece for 32 prompts. Its overall estimates are about 1,500 GPU hours to produce 16 million candidate statements and about 24 GPU hours to retrain the generator. These are reported figures for the described workloads. They establish that the smaller generator still sits inside a computationally demanding process, with constrained search identified as the largest contributor. A corpus can be reused after it is built, while fresh on-demand generation still incurs the cost of decoding the new prompt.
Resource constraints also limit the authors' examination of self-imitation. They run two updates and observe that the gains are larger in the earlier part of the measured sequence. They suggest that improvements may diminish over further rounds, while leaving the point at which performance plateaus as an open question. The experiment establishes improvement over the tested rounds. How much more improvement is available, and whether repeated training eventually reproduces weaknesses in the critic's judgments, remains unmeasured.
The authors identify potentially harmful or otherwise undesirable generations as a remaining issue. They use Delphi to estimate that ∼ 1.3% of generations may be morally unacceptable. The estimate covers a broader set of problems than explicit toxicity. The explanation includes potentially toxic content alongside statements that may be inaccurate, difficult to verify, or overly restrictive. The authors specify research use for Gen-A-tomic. The screening estimate and the human validity rates answer different questions and are not interchangeable.
The authors also qualify the cultural reach of the judgments. The evaluation is in English and relies on a crowdworker pool that the authors characterize as predominantly North American. They did not collect demographics for these annotations. Their appendix cites an earlier internal study from 2020 in which over 90% of their annotators were English speakers from the US. The authors use that history to explain why judgments of what is generally true may reflect North American expectations. A statement about what people commonly do, value, or expect may be particularly sensitive to that background.
Limits visible in the experimental setup
The evaluation measures validity as judged by readers, which is sensible for the broad everyday statements the paper targets. It still leaves several meanings of correctness apart. Someone can recognize a statement as generally plausible without being able to identify all its exceptions. A plausible statement may be too obvious to help on a given question or may become misleading when applied to a particular case. The evaluation tells us how frequently people accept a generic by itself. It gives no direct measure of how well an application will select the relevant generic and handle exceptions during inference.
The choice of topics constrains the reach of the held-out test. The seed lists emphasize selected nouns, people, artifacts, and activities, and the test concepts are drawn under the paper's concept and prompt procedures. These procedures make the experiment reproducible in intent and give systematic coverage of the chosen inputs. They tell us less about unfamiliar subject areas, concepts that need specialized background, or prompts whose useful completions require more space and richer clause structure. On-demand generation is a property of the method. The tested held-out concepts give a limited picture of the range over which that capability works reliably.
There is also a distinction between the source of the generic sentences and the resources required to reproduce the collection. GPT-2 XL generates the statements used for self-imitation. GPT-3 helps expand the initial topics and supply related concepts, and human workers judge examples for training and evaluation. The paper demonstrates a route to training on sentences produced by the small generator itself. The corpus construction as reported still benefits from an external API, several source collections, manually specified templates and word lists, and supervisory labels.
The precision–recall result reflects both the composition of the candidate sets and the scores used to order them. For the main comparison, the I2D2 score comes from supervised validity training, while the GPT-3 score is based on predictability. The result is informative about the end-to-end choice between those tested arrangements. It cannot settle how a GPT-3 system paired with an equivalently trained critic would perform, or how much either system would gain from alternative wording and selection. Similarly, the corpus comparison is informative about the quality of two collections people can draw from. Their sources, topics, and creation procedures differ, so it leaves the contribution of any individual design choice unresolved.
The diversity result depends on the way recapture is decided. Shared wording can make two claims look similar even if a small change matters. Distinct wording can separate statements that a reader would take to mean the same thing. Comparing examples within a concept and checking an embedding-based approach improve the case that the result reflects more than sheer size. The measured population still represents distinctness as approximated by a matching procedure. It does not enumerate unique propositions or test which pieces of knowledge a downstream task can exploit.
Finally, the authors point to question answering, explanation, and additional forms of knowledge as motivations. The experiments directly evaluate the generated statements and the corpus. They do not measure gains in question answering from adding Gen-A-tomic, or show that an application can tell when a generic should yield to an exception. Temporal and comparative generics are described as possible extensions. Their accuracy would need to be established with evaluation suited to those forms, especially where a small change in context can reverse an otherwise sensible judgment.
What came after
The five later papers cite I2D2 and take up neighboring questions about distillation, generalizations, and structured knowledge. Their titles identify the tasks and the direction of their contributions. The citations establish a connection to I2D2, while details such as whether a later procedure reused Gen-A-tomic, NeuroLogic, or the I2D2 critic require evidence beyond that connection.
Distilling useful output into smaller systems
Symbolic Chain-of-Thought Distillation takes the goal of improving a small generator through distillation into step-by-step reasoning. The material of interest is a chain of intermediate reasoning steps. This shifts attention from the validity of a free-standing generic to the value of a sequence that supports a conclusion. The connection to I2D2 is the question of what kind of generated text can serve as supervision for a smaller system. I2D2 selects statements useful as everyday generalizations. Chain-of-thought distillation makes the intermediate steps themselves the material to be transferred. Symbolic Chain-of-Thought Distillation
Impossible Distillation addresses the prospect of obtaining a higher-quality dataset and generator from a low-quality starting generator. Its target tasks are summarization and paraphrasing. The shared problem is how to recover useful training material from output of uneven quality. The content to preserve differs across tasks. A summarization or paraphrasing output has to be assessed in relation to a source text. An I2D2 generic is ordinarily assessed as a claim about a topic. This connection puts the selection step into focus, because “high quality” has to be defined in terms of what the resulting training examples should teach. Impossible Distillation
PlaSma takes the small-system question into procedural knowledge for planning, including counterfactual planning. A procedure organizes actions around an objective, and a counterfactual planning task asks how a plan would change if a condition were different. I2D2 already includes goals and prompts about what to do before, during, or after an activity. PlaSma's focus moves from individual statements about goals towards procedural knowledge that supports planning under different circumstances. This gives another setting in which the utility of a generated piece of knowledge depends on how it fits with the rest of a task. PlaSma
Applying defaults and representing different judgments
Penguins Don't Fly addresses reasoning about generics through instantiations and exceptions. An instantiation concerns how a generalization applies to a particular case. An exception is a case in which the generalization fails to apply even though it remains reasonable at the level of the kind. This is the issue behind I2D2's opening example. Collecting accepted generalizations can supply premises for reasoning, while determining whether those premises apply in a given case calls for additional knowledge. The later paper takes up that second problem directly. Penguins Don't Fly
Value Kaleidoscope examines AI in relation to pluralistic human values, rights, and duties. Its point of contact with I2D2 is the role of human judgments in determining which generated statements are acceptable. A person judging an everyday generalization may be drawing on cultural experience, a concern the I2D2 authors acknowledge about their crowdworker pool. Work centered on pluralistic values brings disagreements among viewpoints to the foreground. That matters particularly when a generic is about people or conduct and its apparent acceptability depends on whose norms and circumstances the statement reflects. Value Kaleidoscope
The later tasks make different demands on the material that a system generates or learns from. A generic can be judged in isolation and still fail when applied to a specific case. A reasoning chain, plan, or paraphrase has additional relationships to preserve, and a judgment about values may need to reflect several viewpoints. These demands give concrete context to I2D2's contribution. It demonstrates how guided generation, learned selection, and self-imitation can improve a collection of everyday statements, while leaving their use in particular situations to further work.
Cite
Cite as Chandra Bhagavatula, Jena D. Hwang, Doug Downey, Ronan Le Bras, Ximing Lu, Lianhui Qin, Keisuke Sakaguchi, Swabha Swayamdipta, Peter West and Yejin Choi. 2023. I2D2: Inductive Knowledge Distillation with NeuroLogic and Self-Imitation. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{bhagavatula2023i2d2,
title = {{I2D2: Inductive Knowledge Distillation with NeuroLogic and Self-Imitation}},
author = {Chandra Bhagavatula, Jena D. Hwang, Doug Downey, Ronan {Le Bras}, Ximing Lu, Lianhui Qin, Keisuke Sakaguchi, Swabha Swayamdipta, Peter West and Yejin Choi},
booktitle = {Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2023},
doi = {10.18653/v1/2023.acl-long.535},
url = {https://doi.org/10.18653/v1/2023.acl-long.535}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bhagavatula-2023-i2d2-inductive-knowledge-distillation-neurologic/