> ## Documentation Index
> Fetch the complete documentation index at: https://labs.laer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Review batches

You can organize the review of a large document set by review batches. You can create a static batch with a fixed number of documents based on search criteria. You can also create a dynamic batch using an active learning algorithm that automatically samples new documents for review.&#x20;

## Create a review batch

To create a new review batch, navigate to the *Review* section of the menu, click *Review Batches* and then click the *Create review batch* button*.*

<Frame>
  <img src="https://mintcdn.com/epiqai/PTrKqfq7PLU1AcXh/images/review_batches.png?fit=max&auto=format&n=PTrKqfq7PLU1AcXh&q=85&s=0151dd4a6eb3c9f65f023707e3c571f6" alt="" width="2142" height="946" data-path="images/review_batches.png" />
</Frame>

There are two types of review batches: `Dynamic` and `Static`. A *Dynamic batch* is an active learning batch whose size can grow continuously as users request more documents to be labeled, while a *Static batch* is a fixed set of randomly sampled documents using user-defined criteria.

### Create a static batch&#x20;

You can create a static batch by randomly sampling documents from a dataset or by uploading a list of Doc IDs.

Static batches have fixed sizes.

<Frame>
  <img src="https://mintcdn.com/epiqai/PTrKqfq7PLU1AcXh/images/static_batch.png?fit=max&auto=format&n=PTrKqfq7PLU1AcXh&q=85&s=48f806b81da91236d5b373c4ee0ac2ad" alt="" width="1532" height="1452" data-path="images/static_batch.png" />
</Frame>

### Create a dynamic batch

To create a dynamic batch, select `Dynamic batch` and enter the setup details.

Dynamic review batches use active learning to sample documents on demand. There are three types of sampling strategies: `priority`, `coverage`, and `balanced`

<Frame>
  <img src="https://mintcdn.com/epiqai/5-Xpsc0dxL4Alr7A/images/dynamic_batch.png?fit=max&auto=format&n=5-Xpsc0dxL4Alr7A&q=85&s=984baefbd527bd05ef7453e139be3e25" alt="" width="1548" height="1512" data-path="images/dynamic_batch.png" />
</Frame>

### Sampling strategies

Aida can utilize different sampling strategies during active learning. Each strategy has a different goal.

#### **Priority Sampling**

The goal is to prioritize documents that are most likely to be relevant based on model predictions. The sampling process is:

The process:

* **90%** of the batch comes from the highest-scoring documents: sort the documents in descending order, apply clustering on the top-ranking documents, and select the centroids to form the sample batch. This is to ensure some degree of diversity in the documents.
* **10%** of the batch comes from a pure random sample.

**Use Case**: Best suited when the richness is low or the goal is to focus on documents most likely to contain relevant information and to maximize efficiency.

#### **Coverage Sampling**

The goal is to ensure diverse areas of the document space are covered, avoiding bias toward highly scored documents.

The process:

* **30%** of the batch comes from documents with scores above 0.5. Documents are selected as centroids of document clusters to ensure diversity.
* **30%** of the batch comes from documents with scores below 0.5. Documents are selected as centroids of document clusters to ensure diversity.
* **30%** of the batch comes from documents with scores around 0.5. Documents are selected as centroids of document clusters to ensure diversity.
* **10%** of the batch comes from a pure random sample.

**Use Case**: This approach is useful when aiming for covering diverse information to improve the model’s overall accuracy across different types of documents.

#### **Balanced Sampling**

The goal is to balance the review process by combining priority and coverage strategies.

The process:

* **70%** of the batch is selected from documents with scores above 0.7. Documents are selected as centroids of document clusters to ensure diversity.
* **20%** of the batch comes from documents with scores below 0.7. Documents are selected as centroids of document clusters to ensure diversity.
* 1**0%** of the batch comes from a pure random sample.&#x20;

**Use Case**: Useful when seeking to balance between documents that are most likely to be relevant and the ones that are less likely to be relevant, while ensuring that the model is exposed to diverse and relevant data. &#x20;
