# CAS: enhancing implicit constrained data augmentation with semantic enrichment for biomedical relation extraction and beyond

**Authors:** Fang-Yi Su, Gia-Han Ngo, Ben Phan, Jung-Hsien Chiang

PMC · DOI: 10.1093/database/baaf025 · Database: The Journal of Biological Databases and Curation · 2025-07-03

## TL;DR

CAS is a new data augmentation framework that improves performance in biomedical relation extraction by preserving constraints and semantic quality.

## Contribution

CAS introduces a novel constrained augmentation framework with a self-evaluation mechanism for biomedical and other constrained NLP tasks.

## Key findings

- CAS maintains structural and semantic integrity in augmented biomedical data.
- The SemQ Filter effectively removes noisy or inconsistent data samples.
- CAS improves model performance across multiple constrained NLP tasks.

## Abstract

Biomedical relation extraction often involves datasets with implicit constraints, where structural, syntactic, or semantic rules must be strictly preserved to maintain data integrity. Traditional data augmentation techniques struggle in these scenarios, as they risk violating domain-specific constraints. To address these challenges, we propose CAS (Constrained Augmentation and Semantic-Quality), a novel framework designed for constrained datasets. CAS employs large language models to generate diverse data variations while adhering to predefined rules, and it integrates the SemQ Filter. This self-evaluation mechanism ensures the quality and consistency of augmented data by filtering out noisy or semantically incongruent samples. Although CAS is primarily designed for biomedical relation extraction, its versatile design extends its applicability to tasks with implicit constraints, such as code completion, mathematical reasoning, and information retrieval. Through extensive experiments across multiple domains, CAS demonstrates its ability to enhance model performance by maintaining structural fidelity and semantic accuracy in augmented data. These results highlight the potential of CAS not only in advancing biomedical NLP research but also in addressing data augmentation challenges in diverse constrained-task settings within natural language processing.

Database URL: https://github.com/ngogiahan149/CAS

## Full-text entities

- **Diseases:** math word problems (MESH:D001037)
- **Chemicals:** CAS (-)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12224179/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12224179/full.md

## References

33 references — full list in the complete paper: https://tomesphere.com/paper/PMC12224179/full.md

---
Source: https://tomesphere.com/paper/PMC12224179