Domain Knowledge Compression and Knowledge Base Construction for Scientific Research Agents

    Scientific research agents need more than paper retrieval. This article explains how to compress domain literature into a structured, evidence-linked knowledge base, combining layered summarization with on-demand retrieval so agents can judge research questions, not only run experiments.

    Understanding the domain before running experiments

    Research agents can help retrieve papers, generate code, design experiments, and organize results. Those skills are not the same as research capability. Completing an experiment and deciding whether the experiment is worth doing are different problems.

    Execution is about operational correctness: whether code runs, metrics are computed correctly, and results can be reproduced. Topic selection requires a historical view of a field: which problems are already solved, which methods work only under specific conditions, which conclusions are contested, and which bottlenecks still lack reliable explanation.

    If an agent only retrieves a few papers around the current question, it typically gets local fragments rather than a coherent domain structure. That tends to produce three kinds of bias:

    • Repeated work: restating known results as novelty.
    • Misread conditions: ignoring assumptions and treating locally valid methods as generally valid.
    • Misplaced problems: optimizing easy-to-measure metrics while missing the real bottleneck.

    Agents therefore need more than a paper collection. They need a knowledge system that can express concepts, methods, evidence, disagreements, and research gaps. Domain knowledge compression turns scattered literature into a structured cognitive foundation that fits limited context.

    Compression is not rewriting every paper

    Putting an entire field into a single agent context is often misunderstood as expanding the input window and stuffing in as many papers as possible. A larger context does not mean the model will understand and use all of that information equally well.

    Long inputs bring duplication, conflicting evidence, and attention problems. Important conditions get buried, and key conclusions receive uneven attention depending on where they appear.

    A better goal is not to keep every word, but to keep the structure needed for research decisions:

    1. Core objects of study and problem boundaries.
    2. Main method families and how they evolved.
    3. Evidence sources and applicability conditions for important claims.
    4. Consensus, disagreement, and incomparable factors across studies.
    5. Open problems and practical constraints on further work.

    Compression should reduce redundancy while preserving necessary completeness. A high-quality knowledge item should answer what the conclusion is, why it holds, under which conditions, on what evidence, and what remains uncertain.

    Compression is also not formal proof. An abstract can help a reader follow an argument, but it cannot replace verification of a full proof. A domain knowledge base can support research judgment, but compressed text alone cannot claim that a conclusion has been rigorously proven.

    Govern paper data before generating summaries

    Knowledge-base quality depends first on input quality. More papers expand potential coverage; they do not automatically make conclusions reliable.

    1. Define scope and inclusion criteria

    Before building the knowledge base, define research directions, time windows, document types, and update frequency.

    A direction can be split into subareas such as problem definition, foundational methods, application settings, and evaluation. Include recent results and also foundational work that shaped concepts and method evolution.

    If only easily available papers are included, the corpus may be biased toward particular languages, communities, or venues. Coverage bias should be recorded, not ignored by default.

    2. Handle duplicate versions and revisions

    The same study may exist in multiple versions, with changes in title, author order, results, or even conclusions. Without version linking, one work can be counted as multiple independent pieces of evidence.

    Keep both a study identifier and a version identifier, and record which version is currently used. For important revisions, log how conclusions changed so old summaries do not keep driving later reasoning.

    3. Preserve document structure and evidence locations

    Do not parse papers into unstructured running text only. Sections, tables, captions, formula notes, and appendices carry different kinds of information.

    Methods describe implementation paths; experimental tables support claims about performance; appendices often contain limitations. Flattening structure makes it easy to confuse author hypotheses with experimentally supported conclusions.

    Keep original materials together with structured text, and index key fragments so later claims can be checked against the source.

    Layered compression: from evidence to a domain map

    A single summary over the whole corpus is hard to control for omissions and error propagation. Layered processing is more robust.

    Layer 1: Per-paper research cards

    For each paper, create a structured record that at least includes:

    • research question and motivation;
    • main methods and key assumptions;
    • experimental subjects and evaluation setup;
    • results and evidence locations;
    • limitations stated by the authors;
    • relations to prior work.

    Strictly separate paper facts from curator inference. “The authors report better performance under a given setup” must not become “this method is comprehensively better than others.”

    Layer 2: Topic-level evidence synthesis

    Group papers on similar questions and compare objects, conditions, and conclusions.

    The point is not to merge abstracts, but to identify relations: which works support the same claim, which only get similar results under different conditions, and which conclusions actually conflict.

    Do not force conflicts away. If two studies used different data splits, compute budgets, or metrics, first explain why they are not directly comparable, then decide whether a real disagreement remains.

    Layer 3: Domain-level knowledge map

    From topic synthesis, build a field overview: problem lineages, method taxonomies, evolutionary paths, consensus claims, and unsolved bottlenecks.

    The map should balance breadth and boundaries. It helps an agent locate an idea quickly, but it should not replace checking details in the original literature.

    Layer 4: Task-specific context packs

    For a given research task, select relevant concepts, methods, constraints, and evidence from the domain knowledge.

    This layer is about adaptation, not recompressing everything. For method improvement under resource limits, prioritize compute cost, deployment constraints, and evaluation fairness rather than giving equal space to all historical work.

    Knowledge items should be traceable, contestable, and revisable

    A reliable knowledge base should not store only fluent summary paragraphs. Conclusions need stable links to evidence.

    A schematic structure:

    1. Knowledge item:
    2. Topic: applicability bounds of a method class
    3. Claim: an effect observed under stated conditions
    4. Conditions:
    5. - scope of the research object
    6. - data and experimental setup
    7. - resource or implementation limits
    8. Supporting evidence:
    9. - literature record ID
    10. - corresponding version
    11. - section or table location
    12. Counter-evidence:
    13. - related papers and differing conditions
    14. Evidence status: single study / multi-study support / disagreement
    15. Review log: comments and update time

    This is a generic design example, not a product API.

    Counter-evidence and conditions are especially important. Without them, limited experimental results get compressed into overconfident claims.

    Evidence status should not be equated with an uncalibrated model confidence score. Number of supporting studies, experimental quality, independent reproduction, and review state are usually more interpretable.

    How compressed knowledge and retrieval should work together

    Domain compression and retrieval-augmented generation are complementary, not substitutes.

    Compressed knowledge builds overall understanding; retrieval supplies original details for the current question. Together they cover field breadth and evidential precision.

    A practical organization:

    Foundation layer: stable concepts and research maps.
    Problem taxonomies, core terms, and main method lines, so the agent can locate the task.

    Task layer: relevant topics and method comparisons.
    Key conclusions, applicability conditions, prior attempts, and common failure modes for the research goal.

    Evidence layer: original materials on demand.
    When the agent must compare setups, judge novelty, or confirm a specific claim, load the corresponding evidence.

    Context budget should go first to high-relevance, high-constraint, high-evidence-value information. Repeated narration can be compressed, but conditions that decide whether a claim holds should not be dropped to save space.

    Also distinguish long-lived knowledge from intermediate task hypotheses. Unverified inferences should not enter the stable layer merely because they were cited many times.

    How to judge whether a compressed knowledge base is reliable

    Fluent summaries measure writing quality, not knowledge quality. Evaluation should cover at least the following.

    1. Coverage

    Use a domain problem checklist to see whether core topics are present and where gaps remain. Coverage is not paper count alone; foundational concepts, failure cases, and different method lines should all be represented.

    2. Faithfulness

    Sample knowledge items against source papers. Check for exaggerated claims, omitted conditions, and experimental observations rewritten as theoretical guarantees.

    3. Traceability

    Check whether important judgments can be located to a specific version and evidence span. A title without a corresponding passage still raises verification cost.

    4. Task utility

    On real research tasks, compare knowledge supply modes: ad-hoc retrieval only, domain summaries only, and summaries plus original-text retrieval.

    Metrics can include detecting duplicated topics, citation accuracy, identification of key limitations, and expert judgment of proposal feasibility. Without such tests, do not claim a scheme will necessarily improve research quality.

    5. Update consistency

    When new papers, revisions, or retractions appear, check whether linked items update together. Reliability comes from ongoing maintenance, not only the first build.

    From knowledge base to research questions

    The knowledge base should serve research decisions, not stop at literature organization.

    When generating candidate topics, require a structured argument: how far existing work has gone, what the current bottleneck is, why further work is warranted, how the idea differs from the closest prior work, and what experiments would test the hypothesis.

    Treat “research gaps” cautiously. Not finding a paper does not mean the problem was never studied; coverage, terminology, or indexing may be incomplete.

    Then screen candidates on novelty, scientific value, testability, and resource cost. Run low-cost checks first to drop directions built on false premises before full experiments.

    The loop can be:

    Organize domain knowledge → generate candidate questions → verify against original evidence → small-scale validation → full experiments → reviewed knowledge updates.

    When updating, distinguish the team’s own exploratory results from published external evidence, so a preliminary experiment is not written as field consensus.

    Engineering: permissions, versions, and human review

    For team use, the knowledge base needs basic governance.

    Raw literature, structured results, and task context can be stored in layers. Parse, extract, and review via task queues, and log the basis of each generation and update. Technology choices should follow data scale, update frequency, and compliance; they need not be tied to a particular platform.

    Respect literature usage rights; do not publish full texts you are not allowed to distribute. Internal research materials need access control so retrieval does not cross permission boundaries.

    When human review is limited, prioritize high-risk items that affect topic selection: conflicting evidence, heavily cited core claims, and automatically detected incomplete sources.

    Conclusion: compress redundancy, not the boundaries research needs

    Research agents do not need unbounded input text. They need knowledge structure that supports judgment. High-quality domain compression keeps problem lineages, method relations, evidence sources, and applicability conditions, while cutting repetition and irrelevant detail.

    “Putting an entire field into a single agent context” is better as a design goal than as a literal promise. A practical path is layered knowledge for overall understanding, on-demand retrieval for specific evidence, and continuous evaluation plus human review to control error.

    When the knowledge base can answer what we know, on what evidence, under which conditions, and what remains unsettled, it becomes research infrastructure rather than a document dump, and it can help turn experimental execution into more reliable research capability.