ClearML’s end-to-end AI Platform supports AI builders through every stage of the process, from data preparation and management to experimentation, deployment, and performance monitoring. At the heart of ClearML’s data management capabilities is its unique approach to visual data handling, known as Hyper-datasets.
We’re sure you know all about the importance of data versioning, but here’s a quick reminder: effective data management is essential for:
- reproducibility, so you can reliably retrain with the same data;
- transparency, allowing other AI builders to review the data used for training; and
- compliance, ensuring you can track and verify training data for regulatory purposes.
Data Exploration
Hyper-datasets are specifically designed to manage unstructured visual data. A Hyper-dataset consists of multiple frames, linked together by a Hyper-dataset name and version. Each frame consists of two main components:
- Raw Data Link: A link to where the raw data (image, video, or group of images) is stored. It can be stored on a third-party storage such as S3, NFS, or others.
- Metadata: Describing the raw data, including object classification, bounding boxes, segmentation masks, and custom metadata.
This structure enables data and research teams to version, review, and collaborate on their data while keeping it securely within their own infrastructure, whether it’s stored in the cloud or on local/network storage. ClearML never has access to your data.
The metadata attached to each frame enables teams to easily query and explore subsets of the Hyper-dataset without needing to version each subset individually, streamlining data management by ensuring no duplicate versions are needed.
Hyper-datasets data exploration
Training Data Management
The second element is feeding managed data into a training/testing task. ClearML, through its SDK, integrates the same powerful querying language used for data exploration directly into the experimentation process. AI builders can pull data from Hyper-datasets into experiments by selecting specific dataset versions and querying them on-the-fly. Querying options include:
- Object Filtering: Include or exclude objects in each frame with filters based on object count, confidence level, and more.
- On-the-Fly Object Balancing: Define sampling frequency for objects, ensuring that under-represented objects appear frequently enough to enhance model accuracy.
- Metadata Filtering: Filter by specific frame attributes, such as lighting conditions, location, time of day, or any custom property.
With dataset versioning and filtering available as part of an experiment’s parameters, AI builders can create advanced automations, such as parameter searches over dataset properties.
Data Automation
Hyper-datasets can be a powerful driver for automation. ClearML’s customers leverage its SDK with Hyper-datasets to automate data collection, annotation, and model training processes.
One popular use case is “hard example mining,” where customers use Hyper-datasets to help their models focus on challenging, hard-to-classify objects, rather than on only easy-to-learn ones. During model testing, objects detected with low confidence are automatically tagged as “hard”. These “hard” examples can then be over-sampled, helping the model improve its detection accuracy. Once the model can classify these examples correctly and with high confidence, the “hard” flag is cleared — all managed through an automated pipeline powered by Hyper-datasets.
This workflow may also enhance the annotation process. When integrating with specialized annotation software, ClearML provides annotators with “hard” examples to ensure accurate labeling, reducing the risk of mislabeling. Corrected annotations are fed back into the dataset, creating updated dataset versions, which the model then uses for further training.
Hyper-datasets frame view
Turbocharging Experiment Management
Connecting ClearML’s Hyper-datasets with its Experiment Manager guarantees full data reproducibility. Every experiment is directly linked to a specific dataset version and query, enabling exact replication of experiments. Once Hyper-datasets are tied to experiments, AI builders can automate hyperparameter optimization by searching parameters related to the data itself, such as dataset versions and queries. This makes it easy to compare results and identify the optimal data configuration.
Hyper-datasets also support compliance by allowing AI builders to link trained models to the precise data permutations used in training, enabling comprehensive auditing of the training process.
Filtered data statistics
Conclusion
ClearML’s Hyper-Datasets support organizations throughout the entire model-building journey. From data gathering and initial exploration to dataset versioning, compliance, and ensuring models are trained on the correct data without training/testing contamination, Hyper-Datasets provide different solutions for stakeholders across the organization.
To learn more about ClearML’s Hyper-datasets, please visit our website or read the documentation. If you’d like to see it in action, please request a demo to speak to someone on our sales team.