Leveraging Large Language Model for Automatic Evolving of Industrial Data-Centric R&D Cycle

Xu Yang, Xiao Yang, Weiqing Liu, Jinhui Li, Peng Yu, Zeqi Ye, Jiang BianarXiv 2023 · DOI

Introduction

Research and Development (R&D) in data-intensive industries such as finance, drug discovery, and anomaly detection is a resource-heavy process. It typically involves a complex, iterative loop where experts analyze requirements, formulate hypotheses, develop specialized code, and interpret experimental results. While Large Language Models (LLMs) have shown promise in code generation, they often struggle with the "long-horizon" nature of industrial R&D, frequently failing due to a lack of tool grounding, inability to manage multi-step complexity, and a "stateless" nature that prevents learning from past failures.

To address these challenges, researchers from Microsoft Research Asia introduced Arda, an autonomous R&D agent. Arda is designed to automate the entire data-centric R&D cycle by treating industrial software frameworks as a symbolic language and employing a specialized knowledge management system.

The Arda Framework

Arda's architecture is built upon two innovative pillars that enable it to function as a sophisticated research assistant rather than a simple chatbot.

1. Framework as an Extensible Symbolic Language (SL)

Instead of allowing the LLM to generate arbitrary code, Arda reformulates existing industrial platforms (like the quantitative investment platform Qlib) into a modular symbolic language. This approach constrains the LLM to think in terms of decoupled components: Data, Model, and Evaluation. By providing a structured, "low-coupling" environment, Arda reduces hallucinations and ensures that the agent's plans are grounded in the actual capabilities of the underlying software infrastructure.

Overview of the Arda autonomous agent architecture, illustrating the flow from user intention to industrial infrastructure.

2. R&D-Specific Knowledge Management

Unlike standard agents that are stateless, Arda maintains a persistent memory of its research "experiences." These experiences are stored as embeddings, allowing the agent to perform two types of queries:

  • Idea Queries: Analyzing past experiments to identify research gaps or "unseen conclusions."
  • Implementation Queries: Retrieving successful code structures and configurations from previous tasks to inform new ones.

This memory system allows Arda to balance exploration (trying new directions) and exploitation (refining known successful strategies).

The R&D Loop

The Arda agent operates through a four-stage cycle:

  1. Requirement Analysis: Parsing the user's high-level intention into specific metrics and constraints.
  2. Planning & Implementation: Generating a research plan and the corresponding code using the symbolic language framework.
  3. Execution & Evaluation: Running the experiments within the industrial infrastructure and collecting results.
  4. Knowledge Update: Storing the experimental outcomes to refine future iterations.
The process of long-horizon planning and implementation using the framework as a symbolic language.

Experimental Evaluation

The researchers evaluated Arda using Qlib, focusing on quantitative financial modeling with real-world datasets from the Chinese A-share and US S&P 500 markets. The evaluation covered "Cold Start" cases (entirely new tasks) and "Warm Start" cases (tasks requiring the application of prior knowledge).

Key Results

  • Planning Accuracy: In Cold Start scenarios, Arda achieved a planning score of 0.967, significantly outperforming Chain-of-Thought (0.831) and standard few-shot prompting (0.802).
  • Code Grounding: Arda demonstrated a near-perfect pass rate of 0.995 for generating runnable code, whereas baseline models often failed to interface correctly with the domain-specific tools.
  • Knowledge Transfer: In Warm Start tasks, Arda showed a transferability score of 0.96, successfully applying lessons learned from one objective (e.g., return maximization) to another (e.g., risk minimization).

Conclusion

Arda represents a significant step toward the automation of industrial R&D. By bridging the gap between high-level reasoning and low-level tool execution through a symbolic language interface and persistent memory, it demonstrates that LLMs can effectively manage complex, long-horizon research tasks. Future work will focus on expanding Arda's capabilities to other domains and enabling the agent to evolve the underlying software infrastructure itself.

Summary updated

BibTeX
@misc{yang2023leveraging,
  author = {Xu Yang and Xiao Yang and Weiqing Liu and Jinhui Li and Peng Yu and Zeqi Ye and Jiang Bian},
  title = {{Leveraging Large Language Model for Automatic Evolving of Industrial Data-Centric R\&D Cycle}},
  year = {2023},
  eprint = {2310.11249},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.11249},
}
Figure