Introduction
Generative AI has achieved remarkable success in domains with abundant data, such as text-to-image synthesis. However, specialized fields like drug discovery, biomechanics, and finance often suffer from a "low-resource" problem: high-quality pairs of textual descriptions and complex data (e.g., molecules or human motion) are rare and expensive to produce.
In these scenarios, researchers face a "Catch-22." Supervised learning on small datasets leads to overfitting and poor diversity, while simple finetuning often causes "catastrophic forgetting," where the model loses its grasp of the underlying data's physical or mathematical validity—for instance, generating a molecule that follows a text prompt but is chemically impossible. Text2Data addresses this by combining unsupervised distribution learning with a lexicographic constrained optimization strategy.
The Text2Data Framework
The authors propose a two-stage approach to bridge the gap between general data structure and specific textual control.
- Unsupervised Distribution Mastery: The model first learns the general distribution of the data ($p(x)$) using all available data, most of which is unlabeled. By training a diffusion model with a "NULL" token, the framework captures the fundamental "grammar" of the domain—such as chemical bonding rules or human skeletal constraints—without requiring text labels.
- Controllable Finetuning via Lexicographic Optimization: The model is then finetuned on the limited labeled data. To prevent the model from drifting away from the valid data distribution learned in Stage 1, the authors treat training as a constrained optimization problem. They minimize text-alignment loss while ensuring the general distribution loss remains below a threshold, using a dynamic gradient descent algorithm to balance these objectives in real-time.
Experimental Evaluation
Text2Data was evaluated across three distinct modalities to demonstrate its versatility:
- Molecules (QM9): 130,831 molecules with properties like polarizability ($\alpha$) and heat capacity.
- Human Motion (HumanML3D): 14,616 motions with 45,000 textual descriptions.
- Time Series (Yahoo Finance): 210,964 sequences from 24 stocks, using statistical features like skewness and frequency as control signals.
Key Results
Text2Data consistently outperforms standard diffusion baselines (such as EDM and MDM), particularly when labeled data is extremely scarce (e.g., only 2-10% of the total dataset).
In molecular generation, Text2Data achieved significantly lower Mean Absolute Error (MAE) for properties like polarizability compared to standard finetuning methods. Similar gains were observed in human motion, where the model achieved higher R-Precision (text-motion matching) and lower multimodal distance. Qualitative results further confirmed that the model correctly maps textual prompts to appropriate structural changes, such as transitioning from symmetrical to elongated molecular shapes as polarizability requirements increase.
Conclusion and Future Work
By using unlabeled data as a structural prior and employing surgical constraints instead of blunt regularization, Text2Data provides a robust path for generative AI in specialized, data-poor fields. The framework is supported by theoretical generalization bounds, proving its effectiveness in covering the underlying data distribution. Future work includes exploring the integration of Large Language Models (LLMs) for richer textual control and scaling the framework to even more complex data modalities.
Summary updated