If you develop a new algorithm, you may be able to obtain a patent for it.
But being able to get a patent does not always mean that you should file a patent application.
An algorithm can be difficult to protect.
A patent application makes the invention public, but it may be hard to find out whether another company is using the patented algorithm.
In some cases, keeping the algorithm as a trade secret may be a better choice.
An algorithm is a procedure for solving a problem, expressed as a method of calculation by a computer.
For example, “a method for predicting how much a car will shake while driving, based on the car’s design data” is an invention related to an algorithm.
In this article, an invention related to an algorithm is called an “algorithm invention,” and a patent for such an invention is called an “algorithm patent.”
Weaknesses of Algorithm Patents
The main weakness of an algorithm patent is that it can be difficult to detect infringement.
Even if you find a product that may infringe your patent, it can be hard to enforce your rights if you cannot confirm which algorithm the product uses.
For example, another company’s product may calculate how much a car will shake based on the car’s design data. But if you cannot tell whether it uses the same algorithm as your patent, you may hesitate to take action.

A patent application is published online.
If you file one, other companies can learn about your algorithm.
They may also get ideas for developing similar technology. In other words, patenting an algorithm can create a risk of technology leakage.
Because infringement can be hard to detect and the application reveals the algorithm, some people believe that an algorithm patent has little value.
In the worst case, another company may copy the algorithm after learning about it from the patent application, while the patent owner cannot prove the infringement.
The company may then wonder why it filed the application in the first place.
For this reason, a company may choose to keep an algorithm as a trade secret instead of filing a patent application.
However, it is also too early to conclude that algorithm patents are useless.
Choosing not to file a patent application can create risks, too.
Risks of Not Obtaining an Algorithm Patent
Suppose Company X develops Algorithm A1 but does not file a patent application.
Instead, Company X keeps A1 as a trade secret.
Later, Company Y independently develops the same Algorithm A1.
Company Y files a patent application and obtains Patent P for the algorithm.
If Patent P is valid and covers the algorithm used in Company X’s product, Company X may face a patent infringement risk—even though it developed the algorithm independently and first.
Company X may be able to argue that it had a prior use right or try to invalidate Patent P.
However, these steps can take time, and there is no guarantee that they will fully solve the problem.
Company X may continue to face the risk of Patent P.
Company Y may never discover that Company X is using the algorithm, but the risk may become real if it does.
Company X may find it difficult to sell a product that carries this patent risk.
If Company X had obtained its own patent for Algorithm A1, it could have been in a much stronger position in dealing with Company Y.
Also, if Company X had filed its application first, Company Y might not have been able to obtain Patent P.
There is a paradox: if many companies avoid filing patent applications for algorithms, it may become easier for another company to obtain an algorithm patent.
Company X may have thought that A1 was too ordinary to deserve a patent.
This situation is not limited to algorithm patents. Inventors often believe that their own ideas are not important enough to patent, even when people around them see value in the ideas. The opposite can also happen.
So, choosing not to obtain an algorithm patent also carries risks.
Can You Detect Infringement of an Algorithm Patent?
As mentioned above, algorithm patents have the weakness that patent infringement is difficult to detect. In other words, if an invention employs an algorithm that is easy to detect infringement, then the acquisition of an algorithmic patent should be considered.
The detectability of infringement of an algorithm patent is examined from two perspectives.
1.Can You Obtain the Other Company’s Product?
To check for infringement, you need to find, observe, and analyze the product that may use the patented algorithm.
If the algorithm is used only in equipment inside another company, it may be difficult to find and inspect that equipment.
If the product is sold outside the company, you may have a better chance of obtaining and analyzing it.
2. Can You Analyze the Algorithm?
Sometimes you can make an educated guess about an algorithm by checking its inputs and outputs.
On the other hand, if the inputs and outputs do not reveal what the algorithm is doing, it may be difficult to analyze.
A simple algorithm may be easier to identify in a product. With a complex algorithm, it may be harder to confirm that another company is using the patented method.
If an algorithm is easy to understand and a company sells products that use it, competitors may be able to discover the algorithm.
They may use it to develop similar products or file their own patent applications. In this situation, obtaining an algorithm patent may be worth considering.
Points to Consider When Keeping an Algorithm Secret
When a company keeps an algorithm as a trade secret, it should consider whether it can keep the algorithm secret and for how long.
1. Can Others Figure Out the Algorithm?
Even if a company manages an algorithm as a trade secret, another company may be able to work it out by examining the product.
If competitors are likely to discover the algorithm from the product, the company should consider patent protection.
2. Could the Algorithm Leak?
A trade secret stays protected only if people who know the algorithm keep it secret.
Employees may change jobs or leave the company.
The company should also limit access to design documents that describe the algorithm.
Many algorithms are developed in everyday research and development.
The inventor may not think an algorithm is especially valuable. But the inventor’s view and other people’s views may differ.
The value of an invention may become clear days or even years later.
An algorithm that its inventor does not value highly may be more likely to be handled carelessly or disclosed.
Filing a patent application can also help a company share the idea that an algorithm is valuable enough to seek patent protection.
Should You Obtain an Algorithm Patent?
There are risks in both filing and not filing a patent application for an algorithm.
The decision should take into account the nature of the algorithm and what other companies may do. Two key questions are:
How likely is it that another company will figure out the algorithm?
How likely is it that you can detect infringement?
An algorithm that is easy for competitors to discover and easy for the patent owner to monitor may be a good candidate for patent protection.
An algorithm that anyone could easily think of is unlikely to qualify for a patent.
But if another company might also develop the same algorithm, filing a patent application may be valuable.
For a highly advanced algorithm that competitors are unlikely to develop soon, keeping it secret may be a better choice.
A company might keep the algorithm secret at first and consider filing a patent application later, when other companies are closer to developing similar technology.
Another possible strategy is to file an application and withdraw it before it is published if competitors do not seem to be catching up, then file a new application with the same content.
Repeating this process may allow the company to seek a patent closer to the time when competitors are likely to catch up.
A company could also decide to file after a set number of years and prepare a draft application in advance.
However, delaying an application creates a risk that another company will file first.
If competitors can figure out the algorithm from a product, seeking legal protection may be safer than keeping it secret.
A patent may have little value for a niche algorithm that solves a very specific problem and is unlikely to interest other companies.
If no one else uses the algorithm, there may be no infringement to detect.
How to Overcome the Weaknesses of Algorithm Patents
The main weakness of an algorithm patent is that infringement can be difficult to detect.
One way to address this problem is to describe the invention in a way that makes infringement easier to identify.
An algorithm consists of inputs, internal processing, and outputs.
Inputs and outputs may be easier to observe, while internal processing is often hidden.
For this reason, it may help to focus the patent description on what data goes into the system and what output it produces, without explaining every detail of the internal processing.
If an invention is expressed in terms of its inputs and outputs, the patent may be easier to use.
A company should also consider how much of the algorithm to disclose.
Suppose Algorithm A2 includes Processes K1, K2, and K3. The invention may still be new and inventive with only K1 and K2. Assume that K1 and K2 are essential, while K3 is optional. K3 may add commercial value or help establish patentability, but it may be difficult to identify whether another company uses it.
In this situation, the company may consider leaving K3 out of the patent specification.
It could seek a patent based on K1 and K2 and accept that the application may be rejected.
I once received an invention proposal that said, “Please do not include the data on page N in the patent specification.”
It was not an algorithm invention, but the note showed careful handling of technical information: information that the inventors did not want to disclose publicly, but needed to share with the patent attorney so the invention could be understood.
Whether to patent an algorithm is not a simple yes-or-no decision.
A company should consider the nature of the invention, the timing of the application, and what information to include or leave out of the patent specification.
The choice between a patent and a trade secret should reflect how easily competitors can discover the algorithm, how easily infringement can be detected, whether competitors might develop the same idea, and how likely the information is to leak.