Related Experiment Video
Updated: Jun 8, 2025

Spatial Multiobjective Optimization of Agricultural Conservation Practices using a SWAT Model and an Evolutionary Algorithm
Published on: December 9, 2012
Leveraging enhanced egret swarm optimization algorithm and artificial intelligence-driven prompt strategies for
Zhendai Huang1, Zhen Zhang2, Cheng Hua1
1College of Computer Science and Engineering, Jishou University, Jishou, 416000, China.
This study introduces a structured prompt framework for generative AI in stock selection, enhancing interpretability for investors. A novel algorithm, NBESOA, optimizes portfolios for higher Sharpe Ratios under strict constraints.
Area of Science:
- Quantitative Finance
- Artificial Intelligence in Finance
- Portfolio Optimization
Background:
- Efficient investment portfolio construction is crucial in finance, involving asset selection and allocation.
- Generative Artificial Intelligence (AI) and Large Language Models (LLMs) offer advanced capabilities but often lack interpretability.
- Existing AI tools require iterative fine-tuning, hindering direct application for investors.
Purpose of the Study:
- To develop a structured prompt framework for generative AI to enable direct and interpretable stock selection.
- To propose a novel optimization algorithm for the Mean-Variance Portfolio Selection problem with Transaction Costs and Cardinality Constraints (MVPS-TCCC).
- To evaluate the performance of AI-recommended portfolios using real stock market data.
Main Methods:
- Creation of representative scenarios and experimental cases to test prompt framework influence on AI responses.
- Development of the Nonlinear-Activated Beetle Antennae Search strategy combined with Egret Swarm Optimization Algorithm (NBESOA).
- Application of NBESOA to solve the MVPS-TCCC problem using real stock market data and AI-generated recommendations.
Main Results:
- The structured prompt framework enhances the interpretability of generative AI outputs for stock selection.
- NBESOA demonstrated superior performance in optimizing portfolio configurations compared to other algorithms.
- NBESOA achieved higher Sharpe Ratios under stringent transaction costs and cardinality constraints, approaching the efficient frontier.
Conclusions:
- The proposed prompt framework offers a practical approach to leveraging generative AI for interpretable stock selection.
- NBESOA provides an effective method for solving complex portfolio optimization problems.
- This research bridges the gap between advanced AI capabilities and practical investment decision-making.
Related Concept Videos
Heuristics
People often rely on heuristics when faced with an overload of information, limited time, low importance of the decision, limited information, or when a heuristic readily comes to mind. For...
Decision Making: P-value Method
First, a specific claim about the population parameter is proposed. The claim is based on the research question and is stated in a simple form. Further, an opposing statement to the claim is also stated. These statements can act as null and alternative hypotheses: a null hypothesis would be a neutral statement while the alternative hypothesis can...
Decision Making: Traditional Method
First, a specific claim about the population parameter is decided based on the research question and is stated in a simple form. Further, an opposing statement to this claim is also stated. These statements can act as null and alternative hypotheses, out of which a null hypothesis would be a...
Predator-Prey Interactions
What is Natural Selection?
The Anchoring-and-Adjustment Heuristic

