r/SideProject • • 6d ago

I love mathematics, vibe coded a codec after an idea struck me, and it outperforms leading competitors in my tests. How do I validate and license it?

I'm an IT student who went back to college in my 30s to complete my bachelor's degree.

I previously studied computer engineering, computer science, and cybersecurity, but I never finished my degree because of COVID-19.

I went back to college primarily to complete my bachelor's. However, since my engineering days, I've always loved mathematics, not necessarily calculus or algebra, but abstract mathematics and exploring mathematical structures.

Recently, I was playing around with some mathematics when I had an idea 💡 for a different approach to encoding and decoding data. So, I decided to vibe code a small piece of software to test my idea.

After extensive testing and several adjustments, my codec outperformed the established competitors I benchmarked it against. I conducted these tests on Linux against what GPT identified as some of the leading codecs currently available.

Of course, I understand that my own benchmarks don't necessarily establish that it's the best codec. This is why I would like to have it independently validated and verified before attempting to commercialize or license it.

While I enjoy mathematics, IT, and vibe coding projects, I have absolutely no experience in the software commercialization industry.

My questions are:

- How do I get my codec independently validated?

- How do I protect my intellectual property without exposing the underlying mathematics or source code?

- How do I approach companies that might be interested in licensing the technology?

- Is there an established process for licensing an algorithm or codec to corporations?

- Should I pursue licensing independently or work with a company that specializes in technology commercialization?

I'm more interested in developing mathematical ideas and building technology than running a software company.

I feel there's a massive gap between having a working piece of technology and actually bringing it to market, and I have no idea how to bridge that gap.

I'd really appreciate advice from anyone who has been through this process.

0 Upvotes

46 comments sorted by

8

u/VibeCodedBuilder 6d ago

What did Claude say

3

u/CervalCherkaouia 6d ago

it probably generated the fake benchmark results too if were being real

2

u/klanews 6d ago

Lol, I ran the test myself. Not an AI. I used AI to assist me with the creation of it and that is why I said vibe-code. But in reality is not 100% vibe-code, and the mathematical architecture was designed and implemented by me.

I have test it with real dataset files, check the weight of the file and confirm it, then decoded it and check the file it perfect. While doing that I used the SHA-256 to verify and validated the bytes, and losslessness of the Codec. I did lot more for it, it was a month of development, productivity, implementation, and testing.

-6

u/klanews 6d ago edited 6d ago

Don't use Claude, I don't have it installed.

1

u/WhatNoRobot 6d ago

How much did it outperform by and how did it compare with how much CPU/GPU is used? How would it compare in the demanding VR encoding and decoding world for demading games?

2

u/klanews 6d ago

In my Linux benchmarks, Codec produced compressed files approximately 6.x% smaller than 7-Zip LZMA2, 7% smaller than Bzip3, 49.x% smaller than Zstandard, and 68.x% smaller than LZ4 across the tested dataset.

Approximately 7 dataset were tested. Some up to 16Gb other's up to 8Gb.

It also encoded approximately 3.x times faster than 7-Zip LZMA2, although Zstandard and LZ4 remained considerably faster in encoding and decoding.

The main advantage demonstrated so far is compression density while maintaining completely lossless reconstruction. I'm still evaluating CPU efficiency, memory consumption, and scalability, and I haven't completed GPU benchmarks yet.

Regarding demanding VR games, I haven't tested it directly against hardware accelerated video codecs such as H.265 or AV1. However, I see potential in game asset compression, geometry streaming, game state synchronization, and reducing storage and network bandwidth requirements.

1

u/Historical-Essay-128 6d ago

completely lossless reconstruction

Richard Hendricks, is that you?

2

u/PokerLawyer75 6d ago

He didn't claim to crack middle-out.

1

u/klanews 6d ago

Exactly

1

u/klanews 6d ago

No, I am not him. Yes, lossless completely.

1

u/WhatNoRobot 6d ago

Impressive. Keep going

1

u/klanews 6d ago edited 6d ago

Thanks, but Lol, keep going where? That is the point of my post here.

1

u/everyonemr 5d ago

Those numbers looked cherry picked and out of context. Zstandard can usually hit ratios much closer to lzma if you are optimizing for size.

1

u/klanews 5d ago

This is a fair criticism. Infact is the reason why I posted here at all.

Let me explain myself a bit more. Those particular numbers were from a benchmark where Zstandard was configured for balanced speed. However, those are not the only test but the ones I did before optimization to my codec. I chosen to give this test result because it was the first that actually was better than the competitors compressors.

But since that one, I optimize it to a denser score that is out of the scope of this post. I've also conducted separate benchmarks against Zstandard at level 19, XZ at level 9, and Brotli at level 11.

This is precisely why I'm seeking independent benchmarking under standardized conditions rather than claiming universal superiority.

Thanks for the post.

1

u/14domino 5d ago

Do you use middle-out compression?

1

u/klanews 5d ago

No, unfortunately, I'm not Richard Hendricks. 😂 My Codec is based on a different mathematical approach, but I'm keeping the underlying mechanisms proprietary for now.

1

u/saltinesurfer 6d ago

Would the AI company own the IPR?

1

u/klanews 6d ago edited 6d ago

Thank you for the question.

Using this to help develop my Codec does not, by itself, give the AI Company ownership of my invention or entitle it to licensing royalties.

Is like a hammer. Buying and using the hammer to build a house do not gives the company who sold you the hammer the ownership of the house you developed and build.

1

u/RelaxedFlame311 6d ago

Open source it, AGPL, problem solved.

1

u/klanews 6d ago

I have considered open sourcing it. However, my objective is to commercialize and license the compression technology while retaining control of its intellectual property.

Wouldn't releasing a compiled executable alongside an open source benchmarking suite allow independent performance validation without requiring me to disclose the proprietary algorithms?

I'm not against open source later; I'm simply trying to understand the best commercialization strategy before making an irreversible decision.

2

u/PiaRedDragon 6d ago

Open source it, with non-commercial license. If there is something there, it will gain legs and people will start using it, including in a commercial environment, which you can then charge a license for.

0

u/klanews 6d ago

I understand the business model you're suggesting. However, the software itself isn't my only intellectual asset. It is an implementation of a mathematical structure that I've been developing for almost four years.

Publishing the source code, even under a non commercial license, could expose that structure and allow others to independently implement it. I'm not against that once I've made a decent amount of money, but gas is too expensive these days. 😅

This isn't my only project; it's simply the one I could develop the fastest to serve as a stepping stone.

I would rather open source the benchmarking tools later and provide a compiled version protected against reverse engineering for independent validation, while keeping the mathematical engine proprietary.

My objective is to commercialize the underlying technology, not simply the software implementing it.

1

u/TitleNo1715 5d ago

"developing for four years" ROFL ... honestly, funniest thing i read all day today ...

1

u/klanews 5d ago

Glad to help you laugh. Enjoy you day.

1

u/raphman 5d ago

Just a few additional comments:

  • you cannot copyright an implementation created by an LLM
  • you could try to patent the approach -- however, this is only possible as long as you do not publish it beforehand, and applying for a patent costs money (you probably know this)
  • have you made sure that your idea does not infringe on existing patents?
  • I don't think you can earn money with a compression algorithm. There is AFAIK just no market for patented implementations that are only marginally better than open versions.

1

u/klanews 5d ago

Thanks for the feedback.

The mathematical approach and architecture are my own; I used AI to assist with the implementation.

I conducted a preliminary patent infringement analysis and identified some related patents, but no infringement has been established so far. I am not denying that a more thorough legal review is still necessary, before any commercialization to ensure transparency.

Regarding profitability, commercial compression products like Oodle demonstrate that a market exists despite free alternatives. Even marginal improvements in compression density or speed could translate into significant savings at enterprise scale.

My immediate goal is to independently validate the codec, establish its commercial value, and determine the appropriate intellectual property protection before licensing it.

1

u/alexrada 6d ago

I've read something similar a few weeks ago, done with AI. congrats.

1

u/klanews 6d ago

Thanks, the architecture is unique, but if someone might have found another architecture then.

1

u/lowbercoder 2d ago

did you try with the files with higher entropy score?

-5

u/TitleNo1715 6d ago

if you used Ai, its worthless and you are in AI psychosis. If you honestly did not use AI, then it might have some value.

1

u/PiaRedDragon 6d ago

Yeah, like all this math AI has come up with in the last month.

Complete AI psychosis.

1

u/klanews 6d ago

Thank you for taking the time to comment. I believe even critical comments have value because they provide opportunities to learn from different perspectives.

However, allow me to explain a bit. I've been developing this mathematical structure for almost four years, not one month. I started developing it after studying calculus, when I noticed an underlying assumption that I believed could be exploited.

While attending UCF, I discussed my observation with my professor, who suggested that there might be some potential in the idea. That encouraged me to begin my own research and development. Generative AI was not part of my research process at that time.

There is a difference between using AI to develop software from a mathematical concept and asking AI to invent mathematics and blindly accepting its output.

I'm not asking anyone to believe that my technology is superior simply because I say so. In fact, I'm seeking independent validation precisely because I believe in objective evidence.

I'm open to constructive criticism, mathematical scrutiny, and reproducible benchmarking. Personal assumptions, however, contribute very little to that process.

Nevertheless, I appreciate your perspective and the time you took to share it.

1

u/klanews 6d ago edited 6d ago

I understand the skepticism surrounding AI-assisted development. However, the mathematical concept was mine, and I used AI as a tool to help implement it.

The benchmark results were obtained by executing the software against established codecs on Linux, not by asking AI to predict the results.

I'm seeking independent validation precisely because I don't want to rely on AI's opinion of what I created.

Wouldn't the actual performance, correctness, and reproducibility of the software determine its technological value rather than the tools used to develop it?

1

u/hl_lost 6d ago

Sounds like AI psychosis ...

0

u/oscillator-eye 6d ago

If you can't independently validate yourself then you didn't create anything, sorry. A novel compression algorithm should be very easy to validate if you know what you're doing.

1

u/klanews 6d ago

I think you're misunderstanding what I mean by independent validation.

I've already tested the codec on Linux against established compression algorithms and verified lossless reconstruction.

What I'm seeking is third-party validation so that potential customers or licensees don't have to rely solely on my own benchmark results.

I can validate my own software, but I cannot be an independent third party to my own invention.

1

u/oscillator-eye 6d ago

Compression functions are pure. One input -> one output, you don't need a "third-party" to validate it. The validation comes from your test suite being reproducible.

1

u/klanews 6d ago

You're addressing a technical problem that I'm not asking about.

I understand how to validate a compression algorithm and make its benchmarks reproducible. What I'm seeking is independent third party validation for commercial credibility.

Put yourself in the customer's position. Would you rather invest in a proprietary technology based solely on the developer's own benchmarks or on results independently reproduced and verified by a reputable third party?

A reproducible test suite enables independent validation; it doesn't replace it.

My challenge is commercializing the technology, not determining whether my compression and decompression functions work.

1

u/oscillator-eye 6d ago

Compression is deterministic, no special authority or certification body is needed. Anyone with the binary can check it, so the "third party" is just whoever downloads it. There's no validation service to hire, and the way to get independent validation is to release a binary and let people run it on their own data.

This is very basic computer science. I really don't think you understand what you're talking about.

1

u/klanews 6d ago

You're confusing technical validation with commercial credibility. Companies such as PassMark and The Tolly Group provide independent performance benchmarking services for precisely this purpose.

Thank you for the lesson, but I'm seeking independent validation for potential customers, not a lesson in computer science. 😉

0

u/monvillalon 5d ago

I’ve read all your comments and although in this day and age chances you have AI psychosis, I’m giving you the benefit of a doubt specially because of your attitude towards the other commenters and because I’ve been wrong on every step of the AI wave :)

As far as I know there is no entity or board that will validate this for you. So your best chance is to use academia to your advantage. Cold write to somebody that works on compression and strike a relationship if you really believe you have something, they should know more than either of us, you may even get a partner and somebody to give you credibility and help, a company is not a 1 person thing most of the time anyways.

Bearing that the ACM accepts papers from anyone as far as I know, if you really have a mathematical framework is right on their alley, but research what this would mean for your IP. Especially get a patent first as publishing even if you were the author can count as previous art against your own patent.

At the end of the day you are going to have to explain why and how your thing works besides benchmarks and anybody can copy it with a clean room, your only advantage is a patent and the fear of lawsuits.

I am not a lawyer, mathematician, academic or anything of the sort, just vomiting my general knowledge that I’ve gotten through osmosis through my years in this earth.

Caveat emptor