← Latest papers
💰 quantitative finance

Large-Scale Portfolio Optimization Problem Under Cardinality Constraint With Enhanced Multi-Objective Evolutionary Algorithms

This paper proposes enhanced multi-objective evolutionary algorithms featuring novel solution representations, operators, and repair mechanisms to efficiently solve large-scale portfolio optimization problems under cardinality constraints, demonstrating faster convergence and superior performance compared to traditional methods as market complexity increases.

Original authors: Danial Ramezani, Mostafa Abouei Ardakan

Published 2026-07-13
📖 7 min read🧠 Deep dive

Original authors: Danial Ramezani, Mostafa Abouei Ardakan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a treasure hunter trying to build the ultimate backpack for a long journey. You want two things: the most valuable gold coins (high return) and the lightest, safest load (low risk). But there's a catch: your backpack has a strict rule. You can only carry a specific number of different items, say between 3 and 10, no matter how many treasures are scattered across the map. This is the "Cardinality-Constrained Portfolio Optimization" problem.

For decades, investors have tried to solve this using "exact" math methods, like trying to count every single grain of sand on a beach to find the perfect handful. The paper explains that this approach is like trying to drink from a firehose; it's too slow and gets stuck when the number of assets (the grains of sand) gets huge. In fact, the authors note that adding these real-world rules turns the problem into a nightmare for computers, known as "NP-hard," where traditional math tools just give up or take forever.

The Big Idea: A New Backpack Design
Instead of trying to count every grain, the authors built a new kind of backpack and a new set of rules for how to pack it. They took a popular tool called NSGA-II (think of it as a smart, evolving robot that tries different backpack combinations) and gave it a major upgrade.

Here is how their new system works, using their own analogies and mechanics:

1. The "Fixed-Size" Backpack (New Encoding)
Old methods tried to carry a list of all possible treasures and just mark which ones to take. If you had 225 treasures, your list was always 225 items long, even if you only carried 10. This made the robot waste time checking empty slots.
The authors changed the backpack itself. Now, the backpack has exactly Kmax slots (the maximum number of items you are allowed to carry). If you are allowed to carry up to 5 items, your backpack has exactly 5 slots.

  • The Trick: If you put the same treasure in two slots, it counts as one item, but the weight (money) adds up. This makes it much easier for the robot to see if it's breaking the rules. If the backpack has fewer than Kmin unique items (say, only 2 unique items when you need at least 3), the robot knows it needs to swap in a new treasure.

2. The "Two-Phase" Hunt (Mating Strategies)
The robot doesn't just guess randomly. It hunts in two distinct phases, like a detective solving a case:

  • Phase 1 (The Wide Net): At the start, the robot is wild. It uses a "Knee-based" strategy to find the best combinations of treasures. It looks for the "knee" of the curve—the sweet spot where you get the most gold for the least extra weight. It mates solutions that are close to this ideal point to find the right mix of assets quickly.
  • Phase 2 (The Fine-Tune): Once it has a good list of treasures, it stops looking for new ones and starts adjusting the amount of each treasure. It uses a "Similarity-based" strategy, mating backpacks that already have the same treasures but different weights, to fine-tune the exact balance.

3. The "Explorer" Tool
Sometimes, the robot fixes a broken backpack (one that has too few or too many items) by just swapping a random item in. But the authors realized this is clumsy. They invented a new tool called the "Explorer."
Imagine you have a backpack that is missing an item. Instead of just grabbing the first rock you see, the Explorer looks at a few different ways to fill that gap. It tries five different "heuristic" methods (like spreading money equally, or giving more money to the safest items) to see which one makes the backpack better. It then picks the best version and even walks a little way into the "unknown" space between the old and new backpack to see if it can find something even better. This ensures the fix isn't just "okay," but actually an improvement.

4. The "Repair Crew" (Handling Constraints)
When the robot accidentally breaks the rules (like picking too many items or putting too much money in one item), it doesn't just throw the backpack away. It has a specialized repair crew:

  • The Association Crew: Looks at what other successful backpacks in the current group are holding and copies those patterns.
  • The Score Crew: Groups treasures by how well they perform together and picks the best group.
  • The Threshold Crew: Specifically looks for treasures that don't move in sync with the others (low correlation) to add diversity.

What They Found (The Results)
The authors tested this new system against the old, standard robot on four real-world markets: the DAX 100 (Germany), S&P 100 (USA), Nikkei 225 (Japan), and the Tehran Stock Exchange (TSE).

  • The Size of the Test: They used datasets with 85, 98, 225, and 418 assets respectively.
  • The Rules: They set the backpack to hold between Kmin and Kmax items (e.g., between 2 and 10, or exactly 10).
  • The Outcome: In simulations running for 100 iterations with a population of 100 solutions, their upgraded robot consistently found better backpacks.
    • It found solutions that were closer to the "perfect" theoretical limit (measured by a metric called IGD).
    • It covered a wider range of good options (measured by Hypervolume).
    • It did this faster and more reliably, especially when the number of assets grew large.

What They Explicitly Rule Out
The paper is very clear about what doesn't work well for this specific problem:

  • Exact Methods: They argue that traditional, exact mathematical methods are inefficient for this problem because it is NP-hard. They suggest these methods are too slow for large markets.
  • Penalty Functions: While some researchers use "penalty functions" (giving a bad score to broken backpacks), this paper explicitly states that the vast majority of successful studies use repair mechanisms (fixing the backpack) instead. They chose to repair the solutions rather than just penalize them.
  • Random Guessing: They show that simply mating random solutions early on wastes time. Their "Knee-based" selection is necessary to guide the search.

How Sure Are They?
The authors are confident in their results, but they are careful with their language. They state that their approach "indicates" and "demonstrates" superiority based on 100 runs of the simulation. They used statistical tests (the Sign Test and Wilcoxon Signed-Rank Test) to prove that their results weren't just luck.

  • For example, in the TSE market, their method won 10 out of 10 times against the standard method for the Hypervolume metric.
  • However, they note that for the DAX 100 market, the improvement in one specific metric (MGD) wasn't statistically significant at the strictest level, though it was still better on average.

The Bottom Line
The paper suggests that by changing how we represent the problem (the fixed-size backpack), how we search for solutions (the two-phase hunt), and how we fix mistakes (the Explorer tool), we can find better investment portfolios much faster. This is especially true when the market gets crowded with hundreds of assets. The authors conclude that while their method is a strong improvement, it's not a magic wand; it still needs to be adapted if investors want to add even more complex rules like transaction costs later on. But for now, it's a much smarter way to pack the backpack.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →