Elamur Research

BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation

Paper · 2025 · Alan Zhu, Parth Asawa, Jared Quincy Davis et al.

Summary

Synthetic training data can be easy to produce and still be poor teaching material. A collection may contain individually convincing examples while repeating the same situations, reasoning patterns, or answers. Conversely, a varied collection may contain ambiguous questions, incorrect solutions, or examples that do not fit the intended task. BARE investigates how to obtain both variety and quality when a developer has very few examples to start from. Its central setting is few-shot learning for data generation: the experiments usually give a generator only 3 examples, then ask it to produce a much larger training collection.

The authors argue that the usual preference for instruction-tuned language models overlooks a useful alternative. A base model has undergone pretraining but has not received the subsequent training that makes it follow instructions reliably. In their experiments, base models frequently explore a broader range of content, although their outputs require more correction. Instruction-tuned generators generally produce more polished examples, but their collections are frequently less varied. The paper measures this distinction using similarity between text embeddings, a discriminator-based measure of individual examples, and the performance of systems trained on the resulting data. These measurements do not always agree, which becomes an important part of the argument.

Base-Refine, abbreviated BARE, gives these different strengths separate jobs. A base generator first produces independent candidate examples. An instruction-tuned refiner then edits each candidate, correcting problems and improving its fit to the task while retaining its underlying theme. The intended effect is to preserve the range of ideas explored during generation while making the individual examples more useful. The approach does not require a complicated selection algorithm or a large collection of handcrafted prompts. In the reported experiments, the small seed collection mainly establishes the expected format.

The downstream results support this division of labor, with qualifications. On a static GSM8K evaluation subset containing 500 questions, a Llama-3.2-1B-Instruct learner trained on examples drafted by Llama-3.1-70B-Base and refined by GPT-4o reaches 35.8% accuracy. Training on a randomly sampled collection of 1,000 human-written GSM8K examples gives 26.6% in the authors’ comparison. For retrieval-conditioned question answering, the strongest reported HotpotQA result is 58%, while the corresponding instruction-only generation result is 49%. On LiveCodeBench’s test-output task, BARE data from the Llama 3.1 8B family produces a learner scoring 28.1%, using 1,000 generated examples and 4 training epochs.

These findings establish a useful method for the tested small-seed conditions, rather than a universal ranking of data generators. Some BARE configurations lose to instruction-only generation, and a stronger refiner does not improve every domain. The authors also report inconsistent values for some ostensibly matching experiments, especially GSM8K. The clearest conclusion is therefore architectural: generation breadth and example repair can benefit from different sources. Whether a particular combination works must be checked through downstream learning, not inferred from polished output or a favorable diversity score alone.

Interesting ideas

Separate exploration from correction. The system that proposes candidates need not be the best system for repairing them. BARE uses a less obedient generator because its breadth is valuable, then applies a more controlled editor to individual outputs. This principle extends to automatically proposed rules, program synthesis, search queries, and annotation candidates: an exploratory stage can tolerate defects when a later stage has a clear correction task.

Measure collections and examples separately. A plausible example says little about the coverage of the collection containing it. The paper combines a collection-level similarity analysis with an example-level discrimination test, then checks actual learning performance. This is useful whenever repeated, conventional outputs can look excellent individually while providing little additional information to a learner.

Make repair preserve the candidate’s identity. BARE asks the refiner to fix ambiguity, style, and errors without replacing the problem’s theme. That restriction matters because unconstrained rewriting could turn a diverse collection into a smaller set of familiar patterns. Similar constraints can help when editing generated exercises, repairing annotations, or normalizing records that should retain meaningful differences.

Treat randomness as different from coverage. Changing sampling temperature affects token selection, but it does not necessarily introduce new reasoning structures or useful categories. The paper’s prompting and temperature comparisons show why a generator should be assessed through the variation that matters to its application. In other settings, this could mean tracking distinct grammatical constructions, error types, document roles, or operational cases rather than counting different surface strings.

Test whether the proposed mechanism is necessary. Replacing BARE’s first stage with an instruction-tuned generator retains the multistage structure while removing the proposed source of diversity. The resulting comparison helps distinguish a benefit from extra editing from a benefit associated with the initial generator. This pattern is broadly reusable: keep the surrounding workflow fixed and replace the component alleged to explain the gain.

Measure dependence on the starting collection. A method that is useful with scarce seed data may offer less advantage once a large curated collection is available. BARE explicitly varies seed availability while keeping generated dataset size fixed. That makes the scope of its contribution more precise and offers a general experimental design for systems intended to reduce annotation or curation requirements.

Judge a component in its assigned role. A strong generator is not automatically a strong refiner, and a larger generator is not automatically the best source of training data. The paper contains examples of both distinctions. Engineers can borrow the same discipline when choosing reviewers, retrievers, planners, or validators: evaluate the actual transformation required, including what it preserves and what it damages.

Deep dive: BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation

BARE combines diverse drafts from base language models with targeted refinement to create useful synthetic training data from few examples. · about 35 minutes to read

How Mova uses it

Mova is a small language system implemented in Rust whose native processing combines explicit rules, learned parameters, structured interpretations, and retained knowledge. Its documented teacher workflows already separate proposals, review, validation, and admission. That makes several BARE ideas relevant without implying that Mova should adopt a neural generator as its native reasoning mechanism.

The connections below are proposals assessed against documented Mova mechanisms. The status labels describe that comparison, rather than evidence that BARE has been implemented or measured in Mova. A mechanism can already exist while the particular experiment suggested by BARE remains untested. No BARE-specific application result is established by the available Mova record.

Idea: Separate candidate exploration from correction. Where: the BARE method description and Figure 5. Area: data preparation. Mova: частково є (tools/enrich; the annotation teacher loop). Mova already prepares bounded drafts and submits them for review before validation. A BARE-inspired extension would compare candidate sources with deliberately different exploration behavior while retaining the existing admission boundary. Why Mova: broader proposals might expose useful constructions that a single conservative teacher repeatedly misses, without changing how native inference works.

Idea: Evaluate a collection independently of its individual entries. Where: Motivation, Section 3.1, and the evaluation section. Area: evaluation. Mova: частково є (teacher-reviewed corpus preparation; course controls; benchmark gates). Mova could report both example validity and coverage across grammatical constructions, semantic roles, and problem structures. A collection of individually acceptable lessons may still repeat the same teaching pattern. Why Mova: this would make redundant teaching material visible before it consumes review effort or influences learned parameters.

Idea: Preserve the underlying concept during repair. Where: Figure 5 and Appendix D’s refinement example. Area: annotation and semantic preservation. Mova: частково є (treeagree’s evidence-bound edits and tools/enrich source checks). A proposed review contract could identify which event structure, question intent, or lexical sense must survive an edit. Validators could then distinguish a repaired candidate from a replacement exercise. Why Mova: changing the meaning can conceal the original gap and make a successful review appear more informative than it was.

Idea: Distinguish random variation from structural coverage. Where: Related Work and Appendix B.3. Area: statistics and corpus design. Mova: частково є (Universal Dependencies trees, pragmatic frames, and dictionary occurrence frames). Rather than relying on word changes, Mova could count changes in dependency patterns, role assignments, quantitative operations, or world-state transitions. Why Mova: these representations are closer to what its native readers actually use, so they offer a more relevant coverage measure than surface variation alone.

Idea: Remove the proposed mechanism while retaining the workflow. Where: the instruct-to-instruct comparison and Appendix B.4. Area: experimental design. Mova: вже є (regression gates, negative controls, and paired comparisons described in README.md and docs/architecture.md). A specific transfer would compare the same reviewed teaching pipeline with alternative proposal sources, keeping review and admission unchanged. Why Mova: the comparison would show whether any gain comes from broader candidates, additional teacher attention, or a changed validation procedure.

Idea: Vary seed availability separately from generated volume. Where: Figure 10 and the seed-scale analysis. Area: evaluation. Mova: нове (proposal; a matching seed-scale experiment is not established in the digest). Mova could hold its teaching budget fixed while varying the number of trusted demonstrations available to a proposal stage. Why Mova: this would identify when curated examples are the bottleneck and when additional source collection is more useful than additional generation.

Idea: Select reviewers by repair performance. Where: Appendix C’s discussion of refiner choice. Area: teacher evaluation. Mova: частково є (configured teacher transport and reviewed annotation workflows). Mova could compare reviewers on their ability to correct a fixed set of flawed candidates, including preservation of already-correct material. This differs from assessing how well they write new lessons. Why Mova: a reviewer that produces fluent replacements may still be unsuitable for source-bound correction.

Idea: Use native structures to inspect diversity. Where: Section 3.1’s semantic-similarity analysis. Area: syntax and semantics. Mova: частково є (en trees; prag frames; world state). The paper uses embeddings, but Mova could investigate a separate measure based on declared structural features and explain why examples count as similar. This would be an adaptation, not the paper’s metric. Why Mova: transparent coverage descriptions fit Mova’s preference for rules and statistics and can expose which structures are absent.

Idea: Keep surface style separate from substantive variety. Where: Section 3.3’s discussion of persona prompting. Area: pragmatics and evaluation. Mova: частково є (pragmatic frames and speech-act labels). Candidate exercises could be compared after abstracting away names, decorative descriptions, or speaker personas. A review would then ask whether event roles or reasoning demands actually changed. Why Mova: stylistic differences can inflate apparent variety while leaving the same native inference path untouched.

Idea: Treat repeated seed content as a generation failure. Where: Section 3.3’s LCB TOP analysis. Area: data processing. Mova: частково є (source fingerprints, immutable source versions, and exact evidence in tools/dictindex and tools/enrich). Mova could add explicit reporting of copied spans and repeated structural templates among proposed lessons. Why Mova: a candidate that resembles trusted material may pass a plausibility check while contributing no new teaching coverage.

Idea: Use discriminator judgments only as one diagnostic. Where: Section 3.1’s indistinguishability rate and Figure 4. Area: evaluation. Mova: частково є (separate consultant, review, and native-evidence boundaries). A teacher could flag unusual examples, but the result should remain a review observation rather than a correctness certificate. Why Mova: the paper shows how typical examples can appear convincing and repeated real material can score well despite poor collection-level value.

Idea: Build explicit correctness checks alongside realism checks. Where: the contrast between indistinguishability and downstream utility throughout the evaluation. Area: mathematics and validation. Mova: частково є (exact rational arithmetic, dimensional units, tree validity gates, and source checks). Generated arithmetic exercises could be checked by the exact core, while annotation candidates pass structural validators. Why Mova: a familiar writing style cannot establish that an answer, unit conversion, or dependency relation is correct.

Idea: Investigate repair damage, not just repair success. Where: Figure 6 and the comparison of diversity before and after refinement. Area: evaluation. Mova: частково є (treeagree rejection logs and non-regression gates). A proposed review report could record which correct roles, relations, or distinctions disappear during editing, alongside errors that were fixed. Why Mova: a reviewer can improve average appearance while erasing rare constructions that the teaching collection was meant to retain.

Idea: Keep original candidates linked to their revisions. Where: BARE’s individual refinement stage and Figure 5. Area: provenance. Mova: вже є (versioned parse storage, reviewed proposal artifacts, and append-only dictionary label histories). A BARE-style experiment could use those existing mechanisms to trace a final lesson back to its draft and source demonstrations. Why Mova: linked versions make it possible to diagnose whether an error began in generation, correction, or admission.

Idea: Evaluate downstream behavior on unchanged questions. Where: the downstream evaluation and static test-set descriptions. Area: evaluation. Mova: вже є (tools/enrich’s requirement to compare the same questions before and after; school traces). A transfer would preserve the assessment questions while comparing retained states trained from different candidate collections. Why Mova: changes in the question collection can otherwise masquerade as improvement in understanding.

Idea: Keep assessment answers outside the learning path. Where: the distinction between generation examples and held-out downstream evaluation. Area: training discipline. Mova: вже є (teacher-separated school assessment; frozen assessment exclusions in tools/dictindex). BARE-inspired proposal generation should draw from admitted teaching sources and never use assessment labels as generation guidance. Why Mova: a small-seed experiment is only informative if successful answers cannot be explained by access to the assessment targets.

Idea: Separate class balancing from generator behavior. Where: Section 3.2’s Enron and Newsgroups setup. Area: statistics. Mova: частково є (dictionary frequencies, source strata, and explicit source configuration). Mova could compare a naturally produced candidate distribution with a deliberately balanced distribution over senses, constructions, or error categories. Why Mova: a coverage improvement caused by balancing should be distinguished from an improvement in the proposal mechanism itself.

Idea: Stratify diversity by the task’s categories. Where: Appendix B.2, Table 3’s within-class similarity calculation. Area: evaluation. Mova: частково є (part-of-speech filters, source domains, and reviewed dictionary selectors in tools/dictindex). Candidate dictionary examples could be compared within a sense or grammatical category, instead of letting obvious differences between categories dominate the score. Why Mova: the useful question is often whether a collection covers variation inside a category that Mova struggles to interpret.

Idea: Account for conditioning context when comparing collections. Where: Appendix B.2’s warning about RAFT similarity measurements. Area: statistics and retrieval. Mova: частково є (source-bound packets and retained document graphs). Mova could report coverage separately within a source document and across different documents. Why Mova: apparent diversity may come from different source contexts rather than from a better reading or proposal procedure.

Idea: Make minimal demonstrations establish an explicit format. Where: the BARE method description and Appendix D. Area: data interfaces. Mova: частково є (typed frames, configured worker interfaces, and validated teaching artifacts). A proposal experiment could use a small set of demonstrations while enforcing the artifact schema through Rust validators. Why Mova: this separates learning the expected output shape from establishing that the generated content is true or useful.

Idea: Refuse to equate successful formatting with successful understanding. Where: the distinction between base-generation formatting and subsequent correction. Area: operational semantics. Mova: вже є (docs/hybrid-system.md’s bounded planner and failure behavior). A well-formed generated task should still require an admitted capability, resolved arguments, and explicit evidence. Why Mova: BARE’s need for refinement reinforces that a plausible continuation is only a candidate, not a justified action.

Idea: Test small proposal sources instead of assuming larger is better. Where: Figure 9 and Appendix C. Area: efficiency. Mova: частково є (bounded worker execution and explicit resource accounting). Mova could compare cheap rule-based or small external proposal sources under the same review budget, instead of ranking them by size or general reputation. Why Mova: a less expensive source may cover a useful niche while the established validators provide the necessary control.

Idea: Evaluate the interaction between proposal source and reviewer. Where: Appendix B.2’s cross-domain generator–refiner combinations. Area: experimental design. Mova: нове (proposal; a corresponding interaction study is not documented in the digest). A fixed candidate collection could be reviewed by different configured teachers, with results separated by error category. Why Mova: the paper’s mixed outcomes suggest that neither a generator nor a reviewer has a single task-independent quality ranking.

Idea: Compare against actual teaching material under the same budget. Where: the GSM8K comparison with sampled human-written training data. Area: evaluation. Mova: частково є (source-indexed corpora and teacher-reviewed teaching collections). An experiment could compare equal-budget learning from existing admitted lessons and from newly proposed material, using the same retained learner and assessment. Why Mova: a synthetic-data pipeline should justify its review cost against available alternatives, rather than only against weaker generation methods.

Idea: Separate dataset growth from training effort. Where: Appendix B.5. Area: experimental design. Mova: частково є (bounded study runs and explicit run artifacts). If a teaching collection grows, Mova could record changes in passes, review effort, and retained-state updates separately. Why Mova: changing both material volume and learning effort makes it difficult to identify why an outcome changed.

Idea: Report failed generation configurations explicitly. Where: the missing Llama-3.1-8B-Instruct GSM8K results and the discussion of derailed prompting. Area: reliability. Mova: вже є (bounded failure records, rejected edits, and partial-pass handling in tools/enrich). A comparison should retain unsupported or malformed outputs as failures instead of silently dropping the configuration. Why Mova: operational usability includes whether a method reliably produces admissible artifacts at all.

Idea: Distinguish hypotheses from demonstrated causes. Where: Appendix C’s explanations of model-size and refiner effects. Area: scientific reasoning. Mova: вже є (typed evidential status in prag/src/frames.rs and assertion gates in world). Proposed explanations for a benchmark gain could remain marked as hypotheses until controlled evidence supports them. Why Mova: Mova already distinguishes reported or inferred content from direct assertions, and experimental interpretation benefits from the same discipline.

Idea: Audit conflicting measurements before selecting a headline result. Where: the differing GSM8K values in the main evaluation and Appendices B.2 and B.4. Area: data provenance and evaluation. Mova: частково є (source fingerprints, versioned artifacts, and repeated-result hashes). A measurement record could bind every result to its exact dataset, candidate source, review version, and learner configuration. Why Mova: the paper illustrates how nearby numbers can become difficult to reconcile without a complete experimental identity.

Idea: Require evidence for rare-case coverage. Where: Section 3.3’s account of common-pattern outputs and discriminator mistakes. Area: lexical semantics. Mova: частково є (dictionary occurrence evidence, source-domain strata, and explicit absent coverage in tools/dictindex). A candidate dictionary collection could report which rare senses have actual witnesses rather than treating overall plausibility as coverage. Why Mova: a free dictionary needs supported distinctions, including uncommon uses that a polished generator may underproduce.

Idea: Test transfer through native retained knowledge. Where: the paper’s downstream fine-tuning evaluation. Area: learning architecture. Mova: частково є (fresh-process retained-state examination and the fast-reading path). The analogous endpoint would be whether reviewed material improves Mova’s later native answers without teacher assistance, rather than whether the teacher prefers the material. Why Mova: the paper’s emphasis on downstream utility fits Mova’s separation between external teaching and native assessment.

Idea: Keep generated exercises distinct from established facts. Where: BARE’s synthetic problem generation and refinement procedure. Area: knowledge admission. Mova: вже є (tools/enrich’s narrative-evidence limits and separate admission stages). A generated situation can be useful for practicing a rule without becoming a factual statement about the world. Why Mova: preserving that distinction allows broad teaching variation while protecting the provenance of dictionary and world knowledge.

The problem and its context

The paper starts from a practical difficulty in text generation: obtaining a large amount of output is easier than obtaining a useful training distribution. A developer may have a clear task and a handful of trustworthy examples, yet lack the resources to assemble a broad seed collection. Asking an instruction-following system to create more examples appears to solve the volume problem. It does not necessarily solve the coverage problem.

The distinction matters because training repeatedly exposes a learner to the patterns present in its data. If generated exercises use a narrow range of situations or solutions, additional examples may reinforce those patterns without broadening capability. An output can be grammatical, correctly formatted, and individually reasonable while contributing little beyond what the collection already contains. The authors therefore frame synthetic data quality as having both an individual and a collective aspect.

Their account of earlier work describes synthetic data as already important in mathematical reasoning, programming, function use, and general reasoning. They cite MetaMath and Gorilla among examples associated with these applications. They also describe synthetic data as part of the development of several recent systems. These references establish the motivation for improving generation; BARE does not independently evaluate every earlier pipeline it mentions.

A common solution to limited variety is to provide more varied starting material. In the authors’ examples, OSS-Instruct begins from 80,000 programming snippets, while Humpback uses over 500,000 text segments. Such methods can exploit differences already present in their inputs. The difficulty is that this transfers part of the generation problem into seed collection and curation. A large, diverse starting collection may be unavailable precisely where synthetic data is most attractive.

The paper identifies specialized tasks, including clinical applications, as situations where trusted examples can be costly to obtain. This motivates the small-seed setting, but it should not be confused with a demonstration that BARE solves clinical data governance or expert verification. The biomedical experiment uses PubMedQA within a retrieval-conditioned generation framework. That is a concrete task, not evidence covering every specialized domain.

Another family of approaches modifies the prompt. A generator might adopt different personas, inspect its earlier outputs and avoid repeating them, or produce several examples together. The paper also examines changing the few-shot demonstrations between calls. These methods try to induce variation from an instruction-tuned generator without changing its training. The authors’ question is whether such adjustments can substitute for a richer source of candidate content when the seed collection is tiny.

Sampling methods provide another possible intervention. The Curious Case of Neural Text Degeneration is cited in the discussion of nucleus sampling and temperature-related techniques. BARE’s authors distinguish variation in token choices from variation in meaning. More unpredictable wording may fail to create new problem structures, and excessive randomness can damage coherence. The paper therefore investigates downstream usefulness rather than assuming that a more dispersed output distribution is automatically better.

The related-work discussion also connects limited diversity to concerns about repeated training on generated text. It cites AI models collapse when trained on recursively generated data as part of that background. BARE itself does not run a long sequence of recursive training cycles. Its experiments address the immediate usefulness of generated collections, so the connection to collapse is motivational instead of a demonstrated remedy for that broader phenomenon.

The proposed alternative is to revisit the base generator. Its weaker obedience is typically a disadvantage in an interactive application, but may be acceptable when producing material that will subsequently be edited. This changes the design question. Rather than asking which generator produces the best finished answer, the paper asks which source produces candidates that become the best training data after a controlled repair stage.

The method, step by step

Start with the distinction between generation and repair

BARE contains a generation stage followed by a refinement stage. The first stage uses a base language model. The second uses an instruction-tuned model that receives a candidate and is asked to improve it. The stages operate on individual examples, while diversity is assessed over the resulting collection.

This arrangement differs from simply asking a stronger generator to produce more examples. The initial candidate constrains the editor’s task. The refiner is expected to preserve the candidate’s central idea, even when its wording, assumptions, or solution require changes. That preservation requirement is what allows the authors to hope that the collection retains its initial breadth.

The method also differs from a filtering-only pipeline. A candidate is not merely accepted or rejected according to a score. It can be rewritten to remove ambiguity or correct an answer. This matters when a promising problem contains a repairable mistake: discarding it would lose its contribution to coverage, while retaining it unchanged could damage training.

BARE’s generation and evaluation process

The steps in order.

BARE’s generation and evaluation processStep 1: Choose a small trusted example collection1. Choose a small trusted example collectionStep 2: Prompt a base generator with examples2. Prompt a base generator with examplesStep 3: Produce independent candidate training entries3. Produce independent candidate training entriesStep 4: Refine each candidate without replacing its theme4. Refine each candidate without replacing its themeStep 5: Measure variety and individual plausibility5. Measure variety and individual plausibilityStep 6: Train a downstream learner on generated entries6. Train a downstream learner on generated entriesStep 7: Evaluate on fixed held-out questions7. Evaluate on fixed held-out questions

Establish the expected task with demonstrations

The typical seed collection contains 3 examples. In the mathematical setting, these are questions accompanied by brief worked answers and a marked final numerical result. The demonstrations communicate the kind of exercise, the expected level, and the output format.

The base prompt is designed as a continuation context. It presents examples and then opens a fresh example boundary. This suits the base generator’s ability to continue text without depending on elaborate instruction following. The paper describes the demonstrations primarily as a way to establish formatting, while acknowledging that they can also appear in the refinement prompt.

The mathematical seed problems illustrate the intended reasoning style. One concerns exchanging coins and valuing the resulting collection. Another compares adult and child membership in a church. Another asks about the remaining rate needed during an eating-record attempt. The examples therefore contain elementary calculations embedded in a short narrative, rather than isolated arithmetic expressions.

For instance, the coin problem’s answer uses the following calculation:

.25 / .05 = 5

Here, .25 is the value of a quarter, .05 is the value of a nickel, / indicates division, and 5 is the number of nickels corresponding to a quarter. This is an example of the desired worked-answer format, not a mathematical objective used to train or optimize BARE.

The same worked answer then applies that conversion to the starting coin count:

20 × 5 = 100

In this calculation, 20 denotes the starting number of quarters, 5 denotes the number of nickels per quarter, × means multiplication, and 100 is the resulting nickel count. The practical requirement is that a generated question and its explanation remain consistent through such linked calculations.

BARE does not introduce a new symbolic training loss or a formal optimization equation. Its main method is a prompting and data-transformation procedure. The mathematical content in the prompt examples demonstrates the task being generated instead of defining the generation algorithm.

Generate candidates independently

The initial candidate collection is produced from the base generator using the small demonstration set. The authors deliberately keep the prompts fairly general, rather than designing a separate elaborate strategy for every task. They present this as a way to isolate the value of using base generations.

The default sampling temperature for base generators is 0.7. For instruction-only generation, the authors select higher temperatures that they found remained coherent: 1.0 for the Llama generators and 1.2 for GPT-4o, with stated exceptions. GPT-4o uses 1.0 for Enron, and Llama-3.1-8B-Instruct uses 0.7 for Enron and Newsgroups.

These settings are relevant to the interpretation of the diversity results. The base generator is not simply being sampled at a higher temperature than the instruction-following alternative. In the main motivational comparison, it typically produces more varied content in spite of the lower temperature.

Independent generation also means that BARE does not rely on maintaining a growing history of earlier examples in every prompt. The diversity source is the generator’s behavior under the task demonstrations, instead of an explicit instruction to avoid everything already written.

Repair each candidate under a preservation constraint

The refiner receives an individual draft. In the mathematical prompt, its duties include correcting errors, resolving unclear wording, and bringing the entry closer to the demonstrated style. It may edit either the question or the answer. It must retain the problem’s theme.

This is a constrained editorial task. If an answer contains faulty reasoning, the refiner can correct it. If the question permits incompatible interpretations, the refiner can make the intended interpretation explicit. If formatting is inconsistent, it can normalize the structure. What it should not do is discard the candidate’s subject and substitute a routine exercise unrelated to the draft.

The authors use instruction-tuned refiners at temperature 0.7. Their main combinations pair base and instruction-tuned members of the Llama 3.1 8B or 70B family. Additional experiments use GPT-4o for refinement. That variation allows them to investigate whether the repair stage, rather than just the original generator, limits final usefulness.

Measure diversity through semantic similarity

For diversity, the authors encode entries with text-embedding-3-small and compare their vectors using cosine similarity. An embedding is a numerical representation intended to place semantically related texts near one another. Cosine similarity describes how closely the vector directions align.

The paper examines the distribution of pairwise similarities and its average. Lower average similarity is interpreted as greater diversity. This is a practical proxy: it can detect that many generated entries occupy similar semantic territory, but it does not directly enumerate reasoning patterns or verify useful coverage.

The related-work discussion contrasts this choice with token-based measures such as self-BLEU, associated with Texygen. It also discusses embedding-based evaluation approaches, including Sentence-BERT. The motivation is to examine differences in content rather than only differences in wording.

For Enron, similarities are calculated within the same class. That avoids treating the obvious distinction between spam and legitimate messages as sufficient evidence of variation. For retrieval-conditioned tasks, the authors are more cautious because different retrieved contexts already introduce substantial variation.

Measure whether an entry resembles the target data

The second diagnostic is the indistinguishability rate, or IR. A strong discriminator is shown a synthetic entry alongside n = 3 real entries and attempts to identify the synthetic one. IR records how frequently that identification fails. A higher rate means that the generated entry is harder to distinguish under this procedure.

The authors connect the idea to Generative Adversarial Nets, but BARE is not trained through an adversarial optimization loop. The discriminator supplies an evaluation measure after generation. It does not update the generator through a jointly trained adversarial objective.

The appendix’s sample discriminator prompt asks for the lower-quality entry and emphasizes linguistic flow, question construction, clarity, and unusual artifacts. This operational wording matters: the measure is about a judge’s comparative impression, not an independent proof of correctness.

Test what the generated data teaches

The decisive stage is downstream training. For generative tasks, the authors use LoRA to adapt a learner to each synthetic collection. LoRA provides the parameter adaptation mechanism; BARE provides the training examples.

Most generative experiments use Llama-3.1-8B-Instruct as the learner. GSM8K instead uses Llama-3.2-1B-Instruct because the authors report that the larger learner already performs strongly before training. The usual training duration is 4 epochs.

The common hyper-parameters include a learning rate of 0.001, LoRA α of 16, rank of 8, and dropout of 0.0. The authors describe learning-rate sweeps performed separately by domain, with the same preferred value emerging. Classification experiments use a different learner: a classifier based on BERT.

Experiments and results

Tasks, data sizes, and evaluation

The evaluation includes classification, mathematical reasoning, retrieval-conditioned question answering, and prediction of program test outputs. This range matters because a synthetic-data method could appear successful in one domain for reasons specific to that domain.

Enron supplies the spam-classification setting. Each synthetic collection contains n = 500 messages, and the generation procedure explicitly balances the classes. Newsgroups also uses n = 500 generated entries, but the generator supplies the category together with the message. Its category distribution is therefore part of the generation behavior.

The generative tasks use n = 1000 training examples. In the retrieval-conditioned data setup, 10 questions are generated per simulated retrieval, with 100 retrievals in total. The framework comes from RAFT, which generates question-and-answer training material conditioned on document contexts resembling retrieved evidence.

HotpotQA supplies Wikipedia-based short-answer questions. PubMedQA supplies biomedical questions with yes, no, or maybe answers based on abstracts. Each uses a fixed evaluation subset containing n = 100 examples.

The mathematical task uses GSM8K, associated with Training Verifiers to Solve Math Word Problems. Evaluation uses a static n = 500 subset. The programming task uses LiveCodeBench, specifically its Test Output Prediction setting, abbreviated LCB TOP. The learner must predict an output from an algorithm description and test input. Evaluation covers the full n = 442 test collection.

The classification learners undergo 2 training epochs on Enron and 9 on Newsgroups. Their evaluation collections each contain n = 500 examples. Enron is reported using F1, while Newsgroups uses accuracy. The generative tasks are reported using accuracy.

The initial diversity–quality contrast

The paper’s motivational comparison finds that Llama-3.1-70B-Base often produces less similar collections than Llama-3.1-70B-Instruct. On Enron, the mean pairwise embedding similarity is 0.350 for Base and 0.450 for Instruct. On GSM8K, the corresponding values are 0.313 and 0.421.

Those figures support the proposed diversity advantage, but the exception is informative. In the initial LCB TOP comparison, Base receives 0.468 and Instruct receives 0.389. The authors attribute the reversed pattern to the base generator repeating language from demonstrations. A base generator is therefore not inherently diverse in every application.

The individual-example comparison points in the opposite direction. On Enron, the appendix reports IR of 74.5% for the 70B Base generator and 85.0% for its instruction-tuned counterpart. On GSM8K, the corresponding values are 44% and 51%. The instruction-tuned outputs are easier for the discriminator to accept as resembling the target data.

These measurements motivate BARE’s design, but neither establishes usefulness on its own. A copied example can appear realistic. An unusual but incorrect problem can make a collection look diverse. The downstream experiments are needed to determine whether the proposed combination supplies better teaching material.

GSM8K: a strong result with reporting discrepancies

The most striking result concerns the small mathematical learner. The unadapted Llama-3.2-1B-Instruct baseline receives 21.8% on the selected GSM8K evaluation questions. Table 7 reports weaker performance after instruction-only generation with the Llama 3.1 70B generator, while the strongest BARE combination substantially improves the learner’s result.

GSM8K accuracy on the static evaluation subset, Table 7

The strongest BARE combination teaches the learner more effectively than either unrefined source.

GSM8K accuracy on the static evaluation subset, Table 7Unadapted learner: 21.8Unadapted learner21.8Llama 3.1 70B Instruct data: 17.8Llama 3.1 70B Instruct data17.8Llama 3.1 70B Base data: 22.4Llama 3.1 70B Base data22.4BARE Llama 3.1 70B: 29.8BARE Llama 3.1 70B29.8BARE GPT-4o refining Llama 3.1 70B Base (this paper): 35.8BARE GPT-4o refining Llama 3.1 70B Base(this paper)35.8
The numbers
System or settingaccuracy %
Unadapted learner21.8
Llama 3.1 70B Instruct data17.8
Llama 3.1 70B Base data22.4
BARE Llama 3.1 70B29.8
BARE GPT-4o refining Llama 3.1 70B Base (this paper)35.8

The same appendix reports 24.8% for BARE within the 8B family and 32.8% when GPT-4o refines the 8B base drafts. Instruction-only generation with Llama-3.1-8B-Instruct is not reported because generation derailed. That missing configuration is itself a reminder that producing an admissible dataset is part of the task.

The human-data comparison uses a randomly selected collection of 1,000 examples from GSM8K’s official training material. Training the same small learner on that collection yields 26.6%. This supports the narrower claim that a particular synthetic collection can outperform a particular equal-sized human-data sample under the authors’ setup.

It does not show that synthetic mathematical data is generally superior to human-written data. The outcome depends on the learner, the selected training subset, the generated examples, the training settings, and the evaluation subset. The experiment is valuable because it supplies a meaningful alternative baseline, not because it establishes a universal source ranking.

Some reported GSM8K values conflict. The main evaluation gives 24.9% and 32.8% for BARE using the 8B and 70B families, whereas Table 7 gives 24.8% and 29.8% for those configurations. An earlier discussion gives 22.5% for learning from the 70B base generator, while Table 7 gives 22.4%.

The first-stage ablation introduces another discrepancy: Table 12 gives 22.4% for direct 70B instruction-generated data, rather than the 17.8% in Table 7. The paper does not explain these differences. The comparisons should therefore be read within their stated tables, without treating every occurrence as a measurement from an identical run.

Retrieval-conditioned question answering

On HotpotQA, the unadapted learner receives 33%. Synthetic training improves that baseline across the reported generation sources. The strongest result comes from BARE within the 8B family.

HotpotQA RAFT accuracy on the static evaluation subset, Table 5

BARE with the smaller generator family gives the strongest reported result in this comparison.

HotpotQA RAFT accuracy on the static evaluation subset, Table 5Unadapted learner: 33Unadapted learner33Llama 3.1 8B Instruct data: 49Llama 3.1 8B Instruct data49Llama 3.1 8B Base data: 50Llama 3.1 8B Base data50BARE Llama 3.1 8B (this paper): 58BARE Llama 3.1 8B (this paper)58Llama 3.1 70B Instruct data: 55Llama 3.1 70B Instruct data55BARE Llama 3.1 70B: 54BARE Llama 3.1 70B54
The numbers
System or settingaccuracy %
Unadapted learner33
Llama 3.1 8B Instruct data49
Llama 3.1 8B Base data50
BARE Llama 3.1 8B (this paper)58
Llama 3.1 70B Instruct data55
BARE Llama 3.1 70B54

The authors describe the 8B comparison as an 18.4% improvement over the instruction-only RAFT setup. The interpretation is specific: BARE replaces the data-generation component within the retrieval-conditioned training framework. The experiment does not compare every possible retrieval system or demonstrate a general improvement to document search.

The result also exposes a limit. Within the 70B family, BARE receives 54%, while instruction-only generation receives 55%. GPT-4o refinement of the 70B base drafts reaches 56%. The choice of refiner can matter, but the improvement is not uniform across every configuration.

PubMedQA has a different pattern. The unadapted learner scores 53%. Instruction-generated data from the 8B and 70B families produces 72% and 73%, respectively. BARE within those families produces 73% and 79%.

However, GPT-4o refinement is weaker in this domain. When it edits the 8B base drafts, downstream accuracy is 72%; when it edits the 70B base drafts, accuracy is 63%. Therefore, the strongest GSM8K refiner is not automatically the best biomedical refiner.

The IR results reinforce the need to separate metrics. BARE within the 8B family has PubMedQA IR of 47%, while the corresponding instruction-only source has 63%. Yet the BARE-trained learner has the stronger accuracy in that comparison. Individual realism, as perceived by the discriminator, is not a complete measure of teaching value.

Program test-output prediction

On LCB TOP, the unadapted Llama-3.1-8B-Instruct learner scores 18.6%. Training on instruction-generated data from the 8B family gives 20.6%, while its base-generated data gives 24.9%. BARE within that family reaches 28.1%.

The authors compare the last result with reported scores of 32.7% for DeepSeekCoder 6.7B Instruct and 32.4% for MagicoderS DS 6.7B. Their claim is that BARE reaches a broadly comparable performance range with a much smaller seed requirement. It does not surpass those reported scores.

This distinction is important because seed economy and final accuracy are different outcomes. BARE’s generated training collection contains 1,000 examples derived from 3 demonstrations. The cited Magicoder pipeline starts with 80,000 snippets. That comparison motivates interest in the method, but it is not a controlled equal-compute or equal-pretraining comparison.

Again, the larger generation family is not uniformly stronger. Llama 3.1 70B instruction-generated data produces 26.0%, while BARE within that family produces 25.6%. GPT-4o refinement of those base drafts reaches 27.4%. The smaller-family BARE result remains the highest among the listed BARE configurations.

Classification results

The classification experiments widen the scope beyond generative learners. On Enron, BARE within the 8B family yields F1 of 0.872. GPT-4o refinement of the 8B base drafts also gives 0.872. Instruction-only generation within the same family gives 0.753, and base-only generation gives 0.790.

The 70B Enron comparison is less favorable to BARE. Instruction-only data produces F1 of 0.848, while BARE within the family produces 0.771. GPT-4o refinement reaches 0.846. This is a substantial exception to any claim that the two-stage approach always wins.

On Newsgroups, the strongest listed accuracy is 49%, obtained with BARE within the 70B family. The corresponding instruction-only and base-only results are 30% and 29%. BARE with GPT-4o refinement of the 70B base drafts reaches 47%.

Together, these results support the usefulness of the architecture across several tasks while rejecting a simplistic ranking. BARE can improve training data, but its success depends on the domain and the generator–refiner pairing. Neither model size, discriminator approval, nor the presence of a refinement stage is sufficient by itself.

What the ablations show

Replacing the source of initial candidates

The most direct mechanism test replaces BARE’s base generator with an instruction-tuned generator. The workflow still contains generation followed by refinement. What changes is the proposed source of broader candidate content.

On GSM8K, Table 12 reports that Llama-3.1-70B-Instruct followed by self-refinement reaches 25.4% downstream accuracy. Using the base generator with the same instruction-tuned refiner gives 29.8%. With GPT-4o as refiner, instruction-generated drafts yield 30.8%, while base-generated drafts yield 35.8%.

GSM8K first-stage ablation accuracy, Table 12

Base-generated drafts remain more useful under either tested refiner.

GSM8K first-stage ablation accuracy, Table 12Instruct drafts with Llama refinement: 25.4Instruct drafts with Llama refinement25.4BARE base drafts with Llama refinement: 29.8BARE base drafts with Llama refinement29.8Instruct drafts with GPT-4o refinement: 30.8Instruct drafts with GPT-4o refinement30.8BARE base drafts with GPT-4o refinement (this paper): 35.8BARE base drafts with GPT-4o refinement(this paper)35.8
The numbers
System or settingaccuracy %
Instruct drafts with Llama refinement25.4
BARE base drafts with Llama refinement29.8
Instruct drafts with GPT-4o refinement30.8
BARE base drafts with GPT-4o refinement (this paper)35.8

The diversity measurements help explain this result. Direct instruction-generated data has average similarity of 0.421. Self-refinement produces 0.422, and GPT-4o refinement leaves it at 0.421. Editing improves the examples’ discriminator scores, but does not noticeably expand the collection’s semantic range.

By comparison, the base-origin BARE collections have average similarities of 0.305 and 0.302 under the tested refiners. The intervention supports the authors’ claim that the initial source matters. It also shows that stronger repair can help an instruction-origin collection without fully matching the usefulness of the base-origin alternative.

This is stronger evidence than simply observing that BARE performs well. However, it still does not isolate diversity as the only causal property that changes. Replacing the generator can alter difficulty, topics, solution structures, and other attributes at the same time.

Temperature changes are not a substitute

The authors sweep instruction-generation temperature through 0.5, 0.7, and 1.0 for selected tasks. These experiments ask whether a simpler sampling adjustment can recover the downstream advantage attributed to BARE.

On HotpotQA, instruction-generated data at those temperatures gives 42%, 50%, and 49%, respectively. BARE within the 8B family gives 58%. In this setting, temperature selection helps, but does not reach the BARE result.

The PubMedQA outcome is a useful counterexample. Temperature 0.5 produces 75%, while 0.7 and 1.0 each produce 72%. BARE receives 73%. Thus, the temperature sweep contains a setting that beats the corresponding BARE configuration.

On LCB TOP, the instruction-generated collections yield 22.9%, 20.6%, and 20.1% across the same temperature settings. BARE reaches 28.1%. The pattern supports the narrower conclusion that temperature adjustment does not reliably reproduce BARE’s benefits, rather than a claim that sampling settings never matter.

There are reporting details to handle cautiously. The temperature appendix labels base-generator rows with t = 1.0, while the general sampling description gives 0.7 as the base default. Some repeated entries also differ between core and temperature tables. These details limit how confidently every row can be treated as an exact replication of another table’s configuration.

Alternative prompting strategies

The paper compares independent generation with persona prompting, sequential generation, generation of multiple entries in one response, and dynamically selected demonstrations. GPT-4o is used because the authors found that the Llama generators frequently failed to stay on task under these prompting strategies.

On Enron, the average similarity values include 0.574 for independent GPT-4o generation, 0.511 for sequential generation, and 0.363 for producing entries together. The 70B base generator receives 0.350. The collection produced together is more varied than ordinary independent GPT-4o output by this measure, but does not exceed the base generator’s reported diversity.

On GSM8K, persona prompting receives 0.308, compared with 0.313 for the base generator. The authors nonetheless caution that much of the persona-induced difference concerns decorative narrative material. This is an important interpretive limit: an embedding measure can respond to wording and setting changes that do not substantially alter the mathematical task.

The downstream prompting comparison favors BARE using the 8B base generator and GPT-4o refinement. The paper describes it as stronger than the tested GPT-4o prompting alternatives. Exact downstream values for those alternatives are not written in the accompanying discussion, so the qualitative conclusion should not be expanded into an invented numerical comparison.

Seed availability changes the advantage

The seed-scale study keeps the generated dataset at 1,000 examples while varying the available seed collection from 3 to 3000. Every generation call still receives three randomly chosen demonstrations. The changing factor is therefore the pool from which demonstrations can be drawn.

BARE is relatively stable across seed sizes, whereas instruction-only generation improves as the available pool grows. The authors report convergence at around 100 examples, described as 10% of the generated collection’s size.

This result clarifies where BARE is most useful. Its advantage is strongest when a developer cannot supply much varied starting material. Once the instruction-tuned generator can draw on a sufficiently broad seed pool, the gap can shrink.

The authors explicitly leave open whether that convergence point persists for larger generated datasets. It should not be treated as a universal threshold or a general rule for how much seed data any task requires.

Increasing the generated training collection

The scale experiment increases the generated collection to 10,000 entries for LCB TOP and PubMedQA, using the Llama 3.1 8B family. Because of compute constraints, training uses 2 epochs rather than the 4 used in the smaller-data experiments.

For LCB TOP, the reported accuracies are 0.192 for Base, 0.181 for Instruct, and 0.233 for BARE. For PubMedQA, they are 0.512, 0.645, and 0.658. These are the values as printed in the scale table, which expresses accuracy as fractions.

The ordering supports BARE under these larger-data conditions. It does not establish that adding generated data improves absolute performance. Dataset size and training duration both change, so the experiment is best read as evidence that BARE’s relative advantage can persist under a different scale setting.

Limitations

Limits the authors identify

The authors acknowledge that refinement quality can constrain the method. Being good at generating an example does not guarantee being good at repairing a flawed one. They suggest that task- or refiner-specific prompts might help, but intentionally use general prompts to emphasize the architectural idea.

They also acknowledge uncertainty about the relationship between generator size and useful diversity. Larger systems are frequently expected to produce higher-quality text, but the paper does not establish a general law connecting size, breadth, and training utility. Its own results include smaller generators producing more useful collections.

The retrieval-conditioned diversity analysis has an explicit limitation. Different simulated retrieval contexts already supply variation, and stronger instruction following can exploit that variation more effectively. The authors therefore regard the corresponding embedding scores as too noisy for strong conclusions, although they publish them for completeness.

The seed-scale analysis has another stated boundary. Convergence between BARE and instruction-only generation occurs under the tested dataset size and task. The authors leave validation at larger scales to future work.

Limits visible in the evaluation design

The strongest numerical results come from particular generator–refiner–learner combinations. Most experiments involve the Llama 3.1 generation families, with GPT-4o used for additional refinement. This is enough to motivate the design, but not enough to show that any base generator paired with any instruction-following refiner will behave similarly.

The evaluation subsets are also limited. HotpotQA and PubMedQA each use n = 100 evaluation entries, while GSM8K uses n = 500. Fixed subsets make comparisons easier to interpret, but their results should not be silently expanded into claims about every item in the underlying benchmarks.

The paper does not supply confidence intervals or a detailed repeated-run uncertainty analysis for the principal downstream tables. Accordingly, close rankings are harder to assess. A favorable value is evidence from the reported experiment, but the stability of small differences remains unclear.

The comparison with human-written GSM8K data is informative but narrow. It uses a random collection of 1,000 training examples and the selected small learner. A different human subset, a different learner, or a different training procedure could change the outcome. The experiment establishes that the particular BARE collection is competitive in this setup, not that human curation is generally unnecessary.

The comparison with stronger coding systems also has boundaries. Those systems differ in their training histories and data pipelines. BARE’s result demonstrates an attractive small-seed route to useful performance, but the paper does not provide a controlled experiment matching total training resources, pretraining, and task-specific adaptation.

What the proxy measures cannot establish

Average embedding similarity is a proxy for semantic spread. It does not directly measure the coverage of solution algorithms, difficulty levels, uncommon categories, or failure modes. A collection can be broad in subject matter while narrow in the reasoning it teaches.

The persona comparison illustrates this problem. Changing the narrative voice or surrounding scenario may move embeddings without creating a meaningfully different mathematical exercise. Conversely, examples that look linguistically similar may require different inference steps. The metric is useful evidence, but its relevance depends on the task.

IR has a different limitation. It measures whether a discriminator can identify an entry under a comparative prompt. A high score can reflect conformity to common patterns rather than superior correctness or educational value. The authors explain that less typical real examples may even be selected as the suspicious ones.

The appendix’s discriminator instructions also blur provenance and quality. The experimental description concerns distinguishing synthetic entries from real ones, while the sample prompt asks the judge to locate lower-quality material. Those are related but different tasks. A generated example can be correct and unusual, or familiar and wrong.

The LCB TOP repetition issue is especially revealing. Copying real demonstration material can make entries look convincing while reducing collection diversity. No single proxy handles that failure adequately. The paper’s use of downstream learning is therefore essential, although downstream accuracy itself does not explain every underlying cause.

Unresolved inconsistencies and broader claims

Several numerical disagreements remain unresolved. GSM8K values vary between the main discussion and appendix tables, and the direct instruction-generated baseline differs between the core table and the first-stage ablation. Other repeated similarity or quality values also vary. These inconsistencies make exact replication and headline comparisons harder to interpret.

The main narrative sometimes describes BARE as winning across domains, while individual configurations clearly lose. The detailed tables support a more conditional conclusion: the approach can produce the best dataset in a domain, but does not reliably improve every source–refiner pairing.

The paper does not demonstrate that BARE prevents long-term degradation under repeated synthetic-data training. Its connection to recursive collapse comes through motivation and related work. A successful generated training collection is not the same experiment as a system repeatedly learning from its own descendants.

Nor does it establish that minimal seed material provides sufficient factual grounding in an unfamiliar domain. BARE draws on knowledge already present in the generators and refiners. Few demonstrations can specify a task format, but they cannot independently verify every generated statement.

Finally, resource efficiency is only partly characterized. The authors report using 1-4 A100s for open-source generation and training resources up to a node containing 8xH100s. LoRA adaptation is described as taking minutes, while generating 10,000 entries with a 70B system and 90 cores takes roughly an hour. These observations give practical context, but the paper does not provide a complete matched cost comparison across all baselines.

What came after

The later citing work identified here is Synthetic Eggs in Many Baskets: The Impact of Synthetic Data Diversity on LLM Fine-Tuning, dated 2026. Its title places synthetic-data diversity and downstream adaptation at the center of its subject, directly overlapping the question that motivates BARE.

The available record establishes the citation relationship and the later work’s title, but does not describe its method, experiments, or conclusions. It therefore does not support saying that the later authors adopted BARE’s base-generation stage, confirmed its results, or replaced its refinement procedure. Those would require additional evidence.

BARE leaves a concrete research question for such follow-up work: which kinds of diversity improve learning, and how can a generation pipeline preserve them while correcting individual examples? Its experiments make that question testable by separating candidate generation, refinement, collection diagnostics, and downstream learning. The contribution is strongest when those parts remain distinct, so that a polished dataset is not mistaken for a broad one, and a broad dataset is not mistaken for a useful one.

Cite

Cite as Alan Zhu, Parth Asawa, Jared Quincy Davis, Lingjiao Chen, Boris Hanin, Ion Gabriel Stoica, Joseph E. Gonzalez and Matei Zaharia. 2025. BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2502.01697 · arXiv 2502.01697

@misc{alan2025bare,
  title = {{BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation}},
  author = {Alan Zhu, Parth Asawa, Jared Quincy Davis, Lingjiao Chen, Boris Hanin, Ion Gabriel Stoica, Joseph E. Gonzalez and Matei Zaharia},
  year = {2025},
  doi = {10.48550/arxiv.2502.01697},
  eprint = {2502.01697},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2502.01697}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alan-2025-bare-leveraging-base-language-models/

References

50 references, from the paper's own bibliography.

  1. Tristan J. B. Cann, Ben Dennes, Travis Coan, Saffron O'Neill, and Hywel T. P. Williams. Using semantic similarity and text embedding to measure the social media echo of strategic communications, 2023. URL https://arxiv.org/abs/2303.16694. OpenAlex ↗ · Scholar ↗
  2. Hao Chen, Abdul Waheed, Xiang Li, Yidong Wang, Jindong Wang, Bhiksha Raj, and Marah I. Abdin. On the diversity of synthetic data and its impact on training large language models, 2024. URL https://arxiv.org/abs/2410.15226. our card
  3. John Joon Young Chung, Ece Kamar, and Saleema Amershi. Increasing diversity while maintaining accuracy: Text data generation with large language models and human interventions. arXiv preprint arXiv:2306.04140, 2023. our card
  4. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems, 2021. URL https://arxiv.org/abs/2110.14168. our card
  5. Samuel Rhys Cox, Yunlong Wang, Ashraf Abdul, Christian Von Der Weth, and Brian Y. Lim. Directed diversity: Leveraging language embedding distances for collective creativity in crowd ideation. In Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems, pages 1–35, 2021. OpenAlex ↗ · Scholar ↗
  6. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. CoRR, abs/1810.04805, 2018. URL http://arxiv.org/abs/1810.04805. our card
  7. Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The Llama 3 herd of models, 2024. our card
  8. Leon Fröhling, Gianluca Demartini, and Dennis Assenmacher. Personas with attitudes: Controlling LLMs for diverse data annotation. arXiv preprint arXiv:2410.11745, 2024. OpenAlex ↗ · Scholar ↗
  9. Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks, 2014. URL https://arxiv.org/abs/1406.2661. OpenAlex ↗ · Scholar ↗
  10. Melody Y. Guan, Manas Joglekar, Eric Wallace, Saachi Jain, Boaz Barak, Alec Helyar, Rachel Dias, Andrea Vallone, Hongyu Ren, Jason Wei, Hyung Won Chung, Sam Toyer, Johannes Heidecke, Alex Beutel, and Amelia Glaese. Deliberative alignment: Reasoning enables safer language models, 2025. URL https://arxiv.org/abs/2412.16339. our card
  11. Daya Guo, Qihao Zhu, Dejian Yang, Zhenda Xie, Kai Dong, Wentao Zhang, Guanting Chen, Xiao Bi, Yu Wu, YK Li, et al. Deepseek-coder: When the large language model meets programming–the rise of code intelligence. arXiv preprint arXiv:2401.14196, 2024. OpenAlex ↗ · Scholar ↗
  12. Yanzhu Guo, Guokan Shang, Michalis Vazirgiannis, and Chloé Clavel. The curious decline of linguistic diversity: Training language models on synthetic text. arXiv preprint arXiv:2311.09807, 2023. OpenAlex ↗ · Scholar ↗
  13. Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In ICLR, 2020. our card
  14. Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021. our card
  15. Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. LiveCodeBench: Holistic and contamination free evaluation of large language models for code, 2024. URL https://arxiv.org/abs/2403.07974. our card
  16. Qiao Jin, Bhuwan Dhingra, Zhengping Liu, William W. Cohen, and Xinghua Lu. PubMedQA: A dataset for biomedical research question answering, 2019. URL https://arxiv.org/abs/1909.06146. our card
  17. Bryan Klimt and Yiming Yang. The Enron corpus: A new dataset for email classification research. In Jean-François Boulicaut, Floriana Esposito, Fosca Giannotti, and Dino Pedreschi, editors, Machine Learning: ECML 2004, volume 3201 of Lecture Notes in Computer Science, pages 217–226. Springer, Berlin, Heidelberg, 2004. . OpenAlex ↗ · Scholar ↗
  18. Nathan Lambert, Hailey Schoelkopf, Aaron Gokaslan, Luca Soldaini, Valentina Pyatkin, and Louis Castricato. Self-directed synthetic dialogues and revisions technical report. arXiv preprint arXiv:2407.18421, 2024. OpenAlex ↗ · Scholar ↗
  19. Haoran Li, Qingxiu Dong, Zhengyang Tang, Chaojun Wang, Xingxing Zhang, Haoyang Huang, Shaohan Huang, Xiaolong Huang, Zeqiang Huang, Dongdong Zhang, Yuxian Gu, Xin Cheng, Xun Wang, Si-Qing Chen, Li Dong, Wei Lu, Zhifang Sui, Benyou Wang, Wai Lam, and Furu Wei. Synthetic data (almost) from scratch: Generalized instruction tuning for language models, 2024a. URL https://arxiv.org/abs/2402.13064. our card
  20. Margaret Li, Weijia Shi, Artidoro Pagnoni, Peter West, and Ari Holtzman. Predicting vs. acting: A trade-off between world modeling & agent modeling, 2024b. URL https://arxiv.org/abs/2407.02446. OpenAlex ↗ · Scholar ↗
  21. Xian Li, Ping Yu, Chunting Zhou, Timo Schick, Omer Levy, Luke Zettlemoyer, Jason Weston, and Mike Lewis. Self-alignment with instruction backtranslation. In ICLR, 2024c. our card
  22. Yifei Li, Zeqi Lin, Shizhuo Zhang, Qiang Fu, Bei Chen, Jian-Guang Lou, and Weizhu Chen. Making large language models better reasoners with step-aware verifier. arXiv preprint arXiv:2206.02336, 2022. OpenAlex ↗ · Scholar ↗
  23. Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need II: phi-1.5 technical report, 2023. URL https://arxiv.org/abs/2309.05463. our card
  24. Bingbin Liu, Sebastien Bubeck, Ronen Eldan, Janardhan Kulkarni, Yuanzhi Li, Anh Nguyen, Rachel Ward, and Yi Zhang. Tinygsm: achieving >80 URL https://arxiv.org/abs/2312.09241. OpenAlex ↗ · Scholar ↗
  25. Ruibo Liu, Jerry Wei, Fangyu Liu, Chenglei Si, Yanzhe Zhang, Jinmeng Rao, Steven Zheng, Daiyi Peng, Diyi Yang, Denny Zhou, and Andrew M. Dai. Best practices and lessons learned on synthetic data, 2024. URL https://arxiv.org/abs/2404.07503. our card
  26. Ranjita Naik, Varun Chandrasekaran, Mert Yuksekgonul, Hamid Palangi, and Besmira Nushi. Diversity of thought improves reasoning abilities of large language models. arXiv preprint arXiv:2310.07088, 2023. OpenAlex ↗ · Scholar ↗
  27. NovaSky Team. Sky-T1: Train your own o1 preview model within $450. https://novasky-ai.github.io/posts/sky-t1, 2025. Accessed: 2025-01-09. OpenAlex ↗ · Scholar ↗
  28. Nvidia. Nemotron-4 340b technical report, 2024. URL https://arxiv.org/abs/2406.11704. our card
  29. OpenAI. New embedding models and API updates. https://openai.com/index/new-embedding-models-and-api-updates/, 2024a. OpenAlex ↗ · Scholar ↗
  30. OpenAI. GPT-4 technical report, 2024b. URL https://arxiv.org/abs/2303.08774. our card
  31. OpenAI. Hello GPT-4o. https://openai.com/index/hello-gpt-4o/, 2024c. OpenAlex ↗ · Scholar ↗
  32. Shishir G. Patil, Tianjun Zhang, Xin Wang, and Joseph E. Gonzalez. Gorilla: Large language model connected with massive APIs, 2023. URL https://arxiv.org/abs/2305.15334. our card
  33. F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. In Journal of Machine Learning Research, volume 12, pages 2825–2830, 2011. OpenAlex ↗ · Scholar ↗
  34. Qwen. Qwen2.5 technical report, 2025. URL https://arxiv.org/abs/2412.15115. OpenAlex ↗ · Scholar ↗
  35. Allan Raventós, Mansheej Paul, Feng Chen, and Surya Ganguli. Pretraining task diversity and the emergence of non-bayesian in-context learning for regression, 2023. URL https://arxiv.org/abs/2306.15063. OpenAlex ↗ · Scholar ↗
  36. Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 11 2019. URL https://arxiv.org/abs/1908.10084. our card
  37. Mikayel Samvelyan, Sharath Chandra Raparthy, Andrei Lupu, Eric Hambro, Aram H. Markosyan, Manish Bhatt, Yuning Mao, Minqi Jiang, Jack Parker-Holder, Jakob Foerster, Tim Rocktäschel, and Roberta Raileanu. Rainbow teaming: Open-ended generation of diverse adversarial prompts, 2024. URL https://arxiv.org/abs/2402.16822. OpenAlex ↗ · Scholar ↗
  38. Luísa Shimabucoro, Sebastian Ruder, Julia Kreutzer, Marzieh Fadaee, and Sara Hooker. LLM see, LLM do: Guiding data generation to target non-differentiable objectives, 2024. URL https://arxiv.org/abs/2407.01490. OpenAlex ↗ · Scholar ↗
  39. Ilia Shumailov, Zakhar Shumaylov, and Yue et al. Zhao. AI models collapse when trained on recursively generated data. Nature, 631:0 755–759, 2024. . our card
  40. Sonish Sivarajkumar, Mark Kelley, Alyssa Samolyk-Mazzanti, Shyam Visweswaran, and Yanshan Wang. An empirical evaluation of prompting strategies for large language models in zero-shot clinical natural language processing, 2023. URL https://arxiv.org/abs/2309.08008. OpenAlex ↗ · Scholar ↗
  41. Guy Tevet and Jonathan Berant. Evaluating the evaluation of diversity in natural language generation. In Paola Merlo, Jorg Tiedemann, and Reut Tsarfaty, editors, Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 326–346, Online, April 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.eacl-main.25/. our card
  42. Pablo Villalobos, Anson Ho, Jaime Sevilla, Tamay Besiroglu, Lennart Heim, and Marius Hobbhahn. Will we run out of data? limits of llm scaling based on human-generated data, 2024. URL https://arxiv.org/abs/2211.04325. our card
  43. Yuxiang Wei, Zhe Wang, Jiawei Liu, Yifeng Ding, and Lingming Zhang. Magicoder: Empowering code generation with OSS-instruct. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 52632–52657. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/wei24h.html. our card
  44. Justin Wong, Yury Orlovskiy, Michael Luo, Sanjit A. Seshia, and Joseph E. Gonzalez. SimpleStrat: Diversifying language model generation with stratification, 2024. URL https://arxiv.org/abs/2410.09038. OpenAlex ↗ · Scholar ↗
  45. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. HotpotQA: A dataset for diverse, explainable multi-hop question answering, 2018. URL https://arxiv.org/abs/1809.09600. our card
  46. Longhui Yu, Weisen Jiang, Han Shi, Jincheng Yu, Zhengying Liu, Yu Zhang, James T. Kwok, Zhenguo Li, Adrian Weller, and Weiyang Liu. Metamath: Bootstrap your own mathematical questions for large language models, 2024. URL https://arxiv.org/abs/2309.12284. our card
  47. Tianhui Zhang, Bei Peng, and Danushka Bollegala. Improving diversity of commonsense generation by large language models via in-context learning. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen, editors, Findings of the Association for Computational Linguistics: EMNLP 2024, pages 9226–9242, Miami, Florida, USA, November 2024a. Association for Computational Linguistics. . URL https://aclanthology.org/2024.findings-emnlp.540. OpenAlex ↗ · Scholar ↗
  48. Tianjun Zhang, Shishir G. Patil, Naman Jain, Sheng Shen, Matei Zaharia, Ion Stoica, and Joseph E. Gonzalez. RAFT: Adapting language model to domain specific RAG, 2024b. URL https://arxiv.org/abs/2403.10131. our card
  49. Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. BERTscore: Evaluating text generation with BERT. arXiv preprint arXiv:1904.09675, 2019. OpenAlex ↗ · Scholar ↗
  50. Yaoming Zhu, Sidi Lu, Lei Zheng, Jiaxian Guo, Weinan Zhang, Jun Wang, and Yong Yu. Texygen: A benchmarking platform for text generation models. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pages 1097–1100, 2018. our card