From Intent to AI Pipelines: A Controlled Agentic Framework for Non-AI Expert Scientists
Organizations: University of Montreal, Montreal, Canada · McGill University, Montreal, Canada
Abstract
Artificial Intelligence (AI) pipelines have become integral to modern research, supporting fields such as Medical Sciences, Agriculture, and Social Sciences, and enabling large-scale data analysis, predictive modeling, and the automation of complex tasks. However, designing and implementing AI solutions remains challenging for many researchers due to the expertise required in the design and development of end-to-end AI systems. To address this gap, we present Domain-Driven Adaptable AI Pipelines (DDAP), a controlled, human-in-the-loop, agentic framework that leverages large language models to guide users in a systematic construction of AI pipelines and their corresponding implementation code. DDAP structures the development process into four stages: problem definition, compute environment specification, pipeline generation, and code generation. Through this staged interaction, the framework adapts to domain context, user expertise, and resource constraints, while maintaining user control over key decisions. We evaluate DDAP across multiple datasets spanning business, biology, and health science domains by comparing its AI models against expert-developed models. The experimental results show that DDAP achieves competitive results in several tasks compared to expert baselines, although performance varies across problem types, particularly for text-based clustering tasks. By combining guided interaction, adaptability, and reproducibility, DDAP demonstrates that a controlled agentic framework can generate competitive AI pipelines for non-expert users.
Figures & tables
| Predicted Positive | Predicted Negative | |
| Actual Positive | True Positive (TP) | False Negative (FN) |
| Actual Negative | False Positive (FP) | True Negative (TN) |
| Dataset | Data Type | Task | Metric | Our Result | Paper Result |
| Jute Pest ( 4.1 ) | Image | Classification | Precision | 0.95 | 0.97 |
| Recall | 0.94 | 0.97 | |||
| F1 Score | 0.94 | 0.97 | |||
| Parkinsons | Integer, | Regression | MAE (Motor UPDRS) | 0.30 | 4.50 |
| Telemonitoring ( 4.2 ) | Real | MAE (Total UPDRS) | 2.66 | 6.00 | |
| Product ( 4.3 ) | Text | Classification | Training Accuracy | 99.56% | – |
| Expert-Driven ( chen2012data ) | DDAP Framework | ||||||||
| Cluster | Percentage | Recency | Frequency | Monetary | Cluster | Percentage | Recency | Frequency | Monetary |
| 1 | 14.14 | 9.8 | 1.3 | 361.20 | 1 | 70.10 | 42.0 | 41.0 | 121.85 |
| 2 | 17.07 | 5.4 | 2.3 | 586.19 | 2 | 17.84 | 270.0 | 17.0 | 58.91 |
| 3 | 46.91 | 1.5 | 2.6 | 685.71 | 3 | 11.71 | 12.0 | 274.0 | 800.99 |
| 4 | 16.83 | 1.0 | 8.3 | 2425.09 | 4 | 0.28 | 5.5 | 1557.0 | 5277.37 |
| 5 | 5.05 | 0.7 | 17.7 | 5962.85 | 5 | 0.09 | 1.5 | 5391.5 | 22811.02 |
AI-Assisted Scientific Research
AI-assisted scientific research uses machine learning and AI agents to support discovery, analysis, experimentation, and scientific communication.
See all 253 papers