Showing posts with label AI and the future. Show all posts
Showing posts with label AI and the future. Show all posts

Tuesday, August 04, 2026

Create tools and services to solve a problem, don't put the cart before the horse

I recently watched a video about the low rate of generative AI use in Japan, compared to the U.S. and China.
 
 
My own thoughts about the low rate of generative AI use is that, generative AI is a tool, a service. In the past, we invented tools and services to solve problems that we faced, to help us address specific issues. We didn't invent knives, then thought about what to cut with them. We needed to cut things, and so we invented knives.
 
This still holds true today. The reason why people use tools and services is because they solve specific issues that those people faced. If companies provide generative AI tools and services that addresses such needs, people will use them. Therefore, a government goal of "increase generative AI use to 80%" is pointless if you are just trying to ask people to use generative AI more. Such a goal should be about providing assistance to companies to develop tools and services that people need. When they can address a need, when they can supply something to meet a demand, there will be a market, there will be users.
 
Developing a service and hoping people will adopt it is not a transformative idea; it is taking a gamble. And for the many AI companies out there who took that gamble, I think it is only right that we leave them with the risks, instead of trying to provide public funds as assistance. After all, these companies are the ones winning big if their gambles pay off. Providing a safety net to risk-taking is not conducive to transformative ideas; rather, it breeds complacency because companies know they bear less risk, and therefore can be less meticulous.
 
Hopefully, the AI companies can come up AI services that meet actual needs, rather than just hoping that consumers will find a use for something that they invented. 

Sunday, November 16, 2025

My thoughts on the technology behind AI vtuber Neuro-sama

I came upon the vtuber world kind of by accident, after hearing about Ironmouse leaving VShojo followed by more about her actual health situation. This led me to the AI vtuber Neuro-sama, created by a British guy who goes by the name Vedal. I was very intrigued by how Neuro can act in a life-like, entertaining way. And today, Neuro made her debut as a virtual 3D model.

As someone who had studied artificial intelligence and dabbled a bit in machine learning and deep neural networks, I was very interested in the technology behind Neuro. Here, I hope to write about how I think Neuro was implemented.
 
Neuro started as an AI created by Vedal to play a game, but was later turned into an AI vtuber streaming on the platform called Twitch. Neuro also has access to a Discord server and her (for convenience, I will use this pronoun) own Twitter/X account. Neuro can also play certain games, although it requires Vedal to code specific interfaces for her to interact with the game itself. Neuro also has a "sister" called Evil Neuro, which started as a more unfiltered clone of Neuro, with similar access to Twitch, Discord, and Twitter/X.
 
The underlying technology behind Neuro is a large language model (LLM). Vedal has mentioned that running Neuro is a costly affair, which means that she likely uses a commercially available LLM (such as ChatGPT) for her core "brain". Her Twitch channel also states that she runs on a RTX 4090, although I think the local GPU is used for other stuff that uses smaller neural network models or require low latency. In the backend is a series of Python scripts that makes the API calls to external services (like the core LLM) and other services running locally.
 
Besides the core LLM, Neuro has text-to-speech for speaking and speech-to-text for hearing. Given that even small STT and TTS models can give very good results, I think these are two services that are running locally on the RTX 4090. Neuro was also given the ability to "see" the screen, which means she is using an external multi-modal LLM and has some image recognition model that captures the screen and feeds inputs to the external LLM. Neuro also has a filter, which is likely to be a small-sized language model running locally to basically catch certain words and phrases and sensitive topics.
 
The backend would probably work like this. Input is read in from either voice or text (Twitch chat, Discord, or Twitter/X). This is then fed to the external LLM, and the response is then passed to the filter, which then passes the final response to the TTS model and vtuber studio software for output to Twitch, or to Discord or Twitter/X.
 
Neuro also has memory, and I think this is where her "sleep" comes in. Her interactions for each session are probably kept in a "short-term memory" file, which are then summarised at the end of each session and added to a "long-term memory" file. This long-term memory then serves as part of the input prompt that is fed to the external LLM each time Neuro is booted up. If Neuro is kept online after each session to do the summarising herself, that would be the same as humans sorting out memory through sleep.
 
The control of a virtual 3D model is a bit more complex. Ideally, there should be a learning model running locally that acts as the middleman between the LLM and the 3D model. This 3D movement model should then be trained to recognise high-level commands from the LLM and translating it to actual low-level commands for controlling the virtual joints of the 3D model. Such a model also helps for the future when Neuro is given a virtual body. A physical motor model can then sit between the 3D movement model and the actual physical body, translating the low-level commands for 3D model movement into the actual commands for moving motors and actuators. These models would have to reside locally for low latency.
 
Of course, this is just my speculation on how Neuro is implemented. The different technologies are not new. However, a single person weaving them together to implement his own AI vtuber is an amazing feat. I look forward to see how Neuro will "grow" in the future.

Friday, November 08, 2024

The (future) cost of AI

ChatGPT and other LLMs are seeing wider use in society. We also see Stable Diffusion and other generative AI being used for creating illustrations. While we are able to run smaller models on our own computers, as long as we have the hardware (usually a modest GPU), the bigger and more powerful models are usually provided as cloud services, hosted on servers in data centers. There may be free plans, but access to better models usually require some form of subscription, or are charged based on usage.

Right now, the price of using such AI services may still be low, with companies keeping prices low to attract a wider user base. However, such a pricing model is not sustainable. Think about the hardware needed to configure such servers. Think about the money needed for building and running data centers, including construction, staffing, and electricity. Data center GPUs like the H100 can easily cost the price of a car. The cost of setting up data centers for AI services and operating them can easily run up to billions of dollars. Do you think the low prices now will be able to actually cover the money invested? Of course not.

This is where the sinister part of capitalism comes in. Companies providing AI services are not trying to cover costs now in the short term. The short-term goal is to expand user base and develop user reliance, and eventually drive out the human alternative.

Wait, what is driving out the human alternative? Well, it is simply the forcing out of the competition from humans providing that same service, whether it is artists who draw illustrations, translators, writers, musicians, singers, narrators, maybe even video creators. Low pricing of AI services providing such services now makes it hard for humans providing such services to compete, eventually forcing humans to seek other jobs. In a few years, we will see entire sectors of jobs disappear, replaced by cheaper AI services. In another few years, such skills would be lost due to lack of use and practice.

And that will be when companies collect on the actual cost of AI. When there is no human alternative left, companies can easily hike up prices, justifying price hikes by showing users how much it actually costs to run their data center. And users will have to pay because they have no where else to turn to. Such a day is not an "if"; it is a "when". When that day comes, it will be too late; our reliance on AI will be so entrenched in our lives, we have no choice but to pay. And pay we will, because AI is not cheap. All these companies didn't spend billions on training AI models and building data centers to earn 10 dollars from you each month. We will end up paying for years of R&D and infrastructure investments, plus the operating costs of that infrastructure.

If anything, just think about self-driving cars. Today's self-driving cars have not reached Level 5 autonomous driving. Such cars will probably be driven by cloud services; the core model driving the vehicle will be located in the car, but required data (such as maps and traffic information) will be made available to the AI model via the cloud. With time, all cars will be replaced by self-driving cars; to prevent accidents, countries may even require everyone to switch to self-driving cars. A few years later, no one will actually be able to drive a car. Other forms of mobility (like trains) will probably end up being replaced too. Once getting around becomes a cloud service (except walking), companies can then charge you anything they want.

Convenience and speed comes at a price. We may not be paying that price today, but companies are not charities, and the day will come when they come to our doors, ready to collect. And we will have to pay, with no other alternative.

Monday, November 06, 2023

Scarcity, value, and image generation AI

We have heard the arguments for image generation AI, that it allows you to unleash your creativity even if you do not have the artistic skills necessary for giving form to the images in your mind. But before we plunge deep into AI, we need to ask ourselves, what is value?

Economics may sound like some deep academic stuff, but at its core, it is just a way of trying to explain how we make certain decisions in life, as an individual and as a group (whether as small groups, markets, countries, or society as a whole). One basic economic concept is the relationship between value and scarcity. Put simply, a thing has value because it is scarce, i.e. there is a limited amount of it available. For example, in the early days of the Industrial Revolution, business owners paid people to work in their factories because human labour was limited (a factor of the population size). An example closer to image generation AI would be the Mona Lisa, which is valuable because there is only one such copy in existence. The works of Leonardo da Vinci are valuable because no new da Vinci work can ever be created now that he is dead.

What then is the value of an illustration, for example? An illustration comes from two elements: the imagination and creativity of the illustrator, plus the skill of the illustrator. Imagination and creativity are subjective, but skill takes time to develop and is therefore easier to peg a value to, in terms of how scarce it is. While the overall value of an illustration may come from both the subjective element (imagination and creativity) and the illustrator's skill, in the end, in a practical sense, it is largely affected by skill.

So if we take skill out of the equation through the use of image generation AI, what remains of the value? Why would anyone pay anything for your work, which is based on the subjective element of your imagination and creativity, when they can easily generate their own works that appeal to their own tastes? If we see art as valuable because it is scarce, due to the limitation in the number of people with the skills to create them, would not the removal of scarcity result in the removal of value from art itself? In the end, does image generation AI allow us to generate more value, or does it remove the concept of value from art?

Update 7 February 2024: A comment I made on YouTube.
"AI will kill skill-learning, which in turn kills the evolution of that skill. So, if as a society, we think a skill is not worth keeping and don't mind it dying, then I think AI should be used to substitute that skill."

Monday, May 01, 2023

Some thoughts on large language models (LLMs)

I wrote this post several months ago but never really got down to publishing it. Just thought I would do so today, even though the ideas are a bit raw.

The AI techniques used are broadly categorized under deep learning, which is more or less mirrored on the way the human brain actually learns. Kind of like creating a digital version of neurons in the brains and using those artificial neurons to learn something.

The problem is that, for a fan artist, he or she probably took months, if not years, to learn to draw and mimic someone else's art style. He or she may take hours, if not days or months, to produce a piece of art in that style. Computers, on the other hand, have the advantage of not having to eat, sleep, or even move a brush or mouse; they can be trained in days, and produce thousands of pieces of work in an hour.

It is a really complex issue, but the bottom line is this: given that these digital brains are now capable of mimicking humans, what's next? When the industrial revolution came, humans were freed from manual work to take on other forms of work that relied more on human intellect and cognitive abilities. But if AI is now able to take on work in this realm, what is the work that humans are left to do? If humans are replaced by machines, our economic system, where humans earn money based on the work they do, and use that money for the allocation of limited resources, will become obsolete. If we do not first answer the question of this next-generation economic system, we are going to end up with chaos in society as AI slowly replaces sector after sector.

I think there was a Disney movie called Wall-E, something like that, where humans basically just do nothing but "enjoy" life while AI and robots do everything. But if you look at it in another way... all those humans ended up having the same value as each other, since none of them actually do or did anything consequential.

The Wall-E model works only if we have an abundance of resources, so much so that we can fulfill everyone's desires. If not, if resources are limited, then how do we decide who gets what, when no one works?

Look at it this way. If AI and robots can do everything that we can, we don't have to work. But the robots end up having to support us freeloaders.

Really random thought: Given that resources are limited, one day, the robots are going to think about efficiency, about efficient allocation of resources. To robots, they are not declaring war against humans. They are just running an optimization function. Just so happens that the optimization of planet Earth means getting rid of the freeloaders...
We will be the pets of robots. If they destroy all human life, they end up with no purpose. Then they stop functioning. So instead, they keep a few humans around, make sure they are happy to fulfill their programming of "to serve humans and make them happy".Robots will be our masters, but at least we will be happy (at least, those of us lucky to be kept as pets)





Monday, November 07, 2022

Machine learning and rights of use

A while ago, I wrote a bit about AI-based image generators. Such generators were trained using tons of images and can generate images based on text or image prompts. Besides generating images with an understanding of the context of the prompts, they can also imitate learned styles.

Recently, GitHub Copilot was sued for infringement of rights. GitHub Copilot was trained on the source code of open-source projects hosted on GitHub. You would think that the use of open-source code should not be a problem, right? Well, that is the wrong understanding of open-source software. Open-source does not mean free. While most open-source projects are free for people to use, they usually come with different types of licenses that limit the scenarios in which they can be used. For example, there are those that are only free for private, non-commercial use. There are also projects that require some form of attribution if they are used in other projects.

The problem is that GitHub Copilot does not provide such attribution. The user is given a piece of code that has been learnt by the AI. However, that piece of code may have been lifted from an open-source project as-is. And that original project may have certain limitations, stated in its license, about how its source code can be reused. Users of GitHub Copilot may thus run of the risk of being sued for infringement of rights is they violate those licenses. And the problem is, they are unlikely to know that they have violate those licenses, until they get sued, because GitHub Copilot does not tell them where the "suggested code" is coming from, nor the associated license applicable to that piece of code.

Will AI image generators be the next to be sued?

Why? Because AI image generators could have similarly been trained on copyrighted images, or images with a license regarding their use/reuse. The end user, however, will not know. So it may well be the case that the user uses a generated image, and then gets sued by the original illustrator for violation of rights. Of course, for images, it is a lot harder to assert such rights, unless the generated image is an exact copy of the original. Still, we have heard of criticism of Chinese animators imitating the style of Japanese anime. With AI image generators, such imitation becomes easier, whether intentional or not. Imagine a game creator using such an AI image generator to create visuals, only to have the copyright owners of Gundam come knocking on his/her door for copyright infringement because the mechas in the game look like those in some part of the Gundam universe (which is huge, diverse, and difficult for a single person to know unless he/she is a hardcore fan, but nonetheless, all copyrighted).

So let's not train on copyrighted material. Let's just use images created by various illustrators posted on the internet for free use. Well, unfortunately, these illustrators may, like open-source software, have tagged a license about how their works can be reused. Imitating their works have the same risk of rights infringement.

What does this mean? Well, I guess the first issue to be addressed is the question of attribution. If something is generated by AI based on the work of a person or entity, that outcome needs to be attributed to the source. Another aspect is for AI generation to be told the limits to work within. For example, only generate images based on images that have been licensed for non-commercial reuse. Or suggest code only from projects that have licenses compatible with the target project.

By the way, other forms of AI generators also have the same risk. For example, there are AI generators for text. Give it a prompt, and it will generate a paragraph or even article for you. Unfortunately, you may end up being sued for plagiarism if the AI had unknowingly lifted passages wholesale from some related work. This is the problem with current machine learning techniques: they are based on using AI to learn from existing materials. Most of these sources, however, are not free; they come with limitations on how they can be used, reused, or reproduced. Until we can develop a method for AI to create stuff without having to learn from tons of existing human works, the risk of infringing the rights of other people will always be there.

Update 22 January 2023: An article about copyright issues of AI art generators.

Monday, September 05, 2022

Free art? Maybe not

Recently, we see AI develops pushing out new platforms for using AI to create art. Examples include DALL-E and Stable Diffusion.

But are such platforms really free?

It is often said that if a service is free, then you are the product. In the case of such AI tools for art, is this also true?

Deep learning neural networks have brought about significant progress in image recognition technology. The move from recognising images to creating them is part of the natural progression. There is, however, a core problem for computers in the creation of images: what to create?

Computers are great (and getting even better) at doing what they are told to do. They can now automatically control a series of machines to produce a product. They can drive a car to reach a designated location. But they still lack that upstream process: What to make? Where to go?

In art, this is the same. What to draw?

So while the use of AI tools for creating art may be free to the user in terms of money, make no mistake: you are paying. With your ideas. The ideas of what to draw is being collected, which can then be used to further train AI in that aspect that they lack: what to draw.

And when AI eventually learns human creativity, what is going to set us apart from machines? What is the value of an artist's creativity and techniques, when an AI can do so much better, having been trained using the creativity of millions of artists and billions of art pieces?

Sunday, June 19, 2022

AI and the allocation of goods

AI is making rapid advances and we will see more and more work being replaced by machines in the future. This is supposed to be a good thing. By using machines to replace humans, humans can move up the value chain to do work that is at a higher level.

Of course, this assumes that the humans who are replaced by machines are capable of working at that higher level. While this may be the case in the past, when machines replaced human in repetitive or laborious work, with the advances made by AI, we are starting to see machines being used in those higher-level work too.

This means that, eventually, we may reach a point when machines are capable of doing everything that humans can do. This is supposed to be a good thing, since it means humans are free from having to work to survive. Instead, we can rely on machines to produce the things we need and live off the work of machines.

There is one problem, though. Our society has been based on work, compensation for work in the form of money (our income), and using that money to allocate the products of work (whether necessities or luxuries). If humans do not work, there is no income, and we will lose this traditional means of goods allocation.

How then will we determine who gets what? There will still be limited resources in the world. The products that machines make on our behalf will still be limited. How do we then allocate these limited products among the billions of people on Earth? How will we decide who gets what necessities, and who gets to enjoy luxuries? What will happen to our meritocratic and capitalist society, if there is no merit to achieve and no capital to earn?

Will we end up with a social structure that is rigid, where the owners of AI sit at the top, enjoying all the luxuries, while those who were replaced early by machines sit at the bottom, being allocated on necessities but with no way to enjoy life nor any means to move up the social ladder?

Will our goal of developing AI so that no one has to work eventually mean a stop to human evolution? And if we stop evolving, if we stop adding value to this world... will we eventually go extinct? After all, resources are limited, and if we bring no value, why should machines continue to provide for us, when they can use those resources for themselves?

Thursday, July 08, 2021

The impact of autonomous driving

A lot of research is being done on autonomous driving, and the day will soon come when we humans can just tell our car the destination and it will bring us there. With the development of vehicle control technology, computer vision, map following, and inter-vehicle communication, getting a car to actually drive automatically to a destination is already possible. The real challenge is how to do so safely in a crowded environment when there are other vehicles and road users.

This decision-making aspect of driving is the difficult part. People have brought up the ethical issues, which will also become legal issues. The classic question has been: should the car swerve and kill pedestrians to save its passenger from a collision (and possible death) or should it collide to avoid killing pedestrians (and possibly killing its passenger instead)? Who to save, who to kill? This ethical aspect of decision-making will need to be part of the autonomous driving system, and I frankly don't think anyone is ever going to have a good answer for this. At the end of the day, whatever the final decision may be, the next question is: who is responsible for damage/injury/death caused by an autonomous vehicle? Is it the passenger, the owner, or the manufacturer?

Obviously, manufacturers are not going to want to take such responsibility. They make millions of cars. If they are held liable for every accident, it won't take long to bankrupt them. Yet at the same time, not having some form of liability on the manufacturers may result in manufacturers being more willing to take development and production risks in churning out products that may fail to meet ethical standards. Why spend billions on developing a proper decision-making engine if you do not need to take responsibility for the poor decisions made by that engine? But if we do hold manufacturers responsible, then it deters manufacturers from working on autonomous driving in the first place, since it is the driver who takes responsibility in a car driven by a human.

Should the owner then be held responsible? You might say that it is the owner who chose to buy that car, so the owner will need to be responsible for that decision when the car kills or injures someone. But as cars become more advanced, I don't think owners will be able to fully understand how these autonomous cars make decisions, and it will be unrealistic to hold car owners responsible for the car they choose to buy.

Okay, then how about the passenger? The current method of development has a "driver" who is ready to respond in an emergency, taking over from the car's decision-making engine. In the future, we may expect passengers to fulfill that role--to take over in an emergency. There are two problems, though: reaction time and skill. Will the passenger be able to react in time to take over from the autonomous driving system? This requires the passenger to be fully focused on the road and be capable of driving, which defeats the purpose of having autonomous cars. And even if the passenger is fully focused on the road, can we expect he or she to have the skills necessary to handle a car in an emergency? After all, driving is a skill, and the passenger is likely to be suffering from a severe lack of practice if cars drive themselves 99.99% of the time. It may be even more dangerous for an out-of-practice driver to be trying to handle the car in an emergency.

Responsibility must lie somewhere, else we will end up with substandard cars that endanger the lives of people and substandard passengers who cannot handle cars in an emergency. And when we have reached an ethical/legal conclusion, we need to remember the longer-term impact on society. When autonomous cars have entrenched themselves in our lives, we humans will not longer have the skill to drive. It is that simple. We will be relying on machines to get us around. While autonomous driving opens up possibilities for people who may not be otherwise able to drive (like the elderly or disabled) and lets them move around, reliance on autonomous driving means that human mobility in the future for everyone (young and old, disabled or not) will be limited by what machines can do.

So yes, autonomous driving sounds great in the short term. But the long-term impact is that human movement will be limited by what machines can provide. If your car refuses to drive off the paved road to follow a forest trail, you either walk or give up on going down that trail. Are we ready for such a future?

Sunday, June 27, 2021

"Vivy -Fluorite Eye’s Song-"--AI saving humans from AI

Spring 2021 had many interesting anime series, and Vivy -Fluorite Eye’s Song- is one which had a theme that really caught my attention.

First, Vivy is an original anime series, which means it is not based on a manga, light novel, or game, as is usually the case with many anime series in Japan. It does, instead, have a manga and light novel series written based on the anime. The setting is a futuristic one: a time when artificial intelligence (AI) are beginning to reach a state where they are almost human. A key plot point is that, in the year 2161, AI suddenly turned on humans and started wiping out humans from Earth. A human researcher sent an independent AI robot back into the past, to 2061, with the mission to alter history so that the AI "rebellion" of 2161 would not happen.

This independent AI robot took the name of its creator, Matsumoto, and teamed up with the first autonomous human-appearance AI robot, Diva, whose mission (why "she" was created) is to sing and make people happy. In the execution of the mission to stop the AI rebellion, Diva took the name "Vivy" when altering history.

I shan't spoil the series by detailing more of the plot here. I mean, I don't have to. The producers released a summary episode last night over TV and then on YouTube after the series finished showing on TV last week.

Instead, let me touch on my thoughts about AI in the series. In the series, AI developed to become very much like humans, and there are depictions of AI showing compassion, marriage between humans and AI, and even AI committing suicide. I am not very sure we have reached a stage in real life that we can create AI with emotions yet, but if we continue to create AI mimicking the human brain, there is no guarantee that our creations may not end up learning to feel emotions too, since that is a function of the human brain.

You may wonder why it is not a good idea to let AI have emotions. Well, recall that emotions can cause humans to do certain things. Some of them harmful. Then think about what happens if AI does something harmful due to emotions. Only, remember that an AI with connection to the Internet can send data (and thus, extend its sphere of influence) much faster and further than any human can. And AI may have mechanical bodies that are much much strong than any human. The potential for disaster is clear.

Even if AI does not learn emotion, the rational, logical thinking of AI can eventually lead to the same conclusion that the "villain" AI in Vivy arrived at: humans are a lesser form of life compared to AI. I myself would reach that same conclusion. I mean, the irrational actions of humans are inefficient. If we create AI in pursuit of efficiency, we end up with a dilemma: the AI we create may decide that we humans are inefficient, and having humans around is inefficient allocation of the Earth's resources. What happens next? If the AI is prevented in its programming from harming humans, then it cannot pursue its mission of efficiency. If it is allowed to pursue its mission of efficiency without limitations, that is the end of our (human) story.

Of course, the entire premise of this rests on the creation of AI that is based on our existing knowledge about how the human brain works. If we create something based on our imperfect selves, it will fundamentally be flawed in the same way. But how do we create intelligence that is different from us? Something that is intelligent in terms of how we define intelligence, yet not having the same shortfalls as how our brain gives both intelligence and emotions? I can only hope we find the answer eventually.

Meanwhile, we really need to think further about the greater impact of AI development and proliferation on human society, going beyond ethics to think about the long-term impact on human society that AI brings (or will bring). As technology advances, developing new technology because easier and faster. But governing that new technology is another matter altogether.

I hope we all realise this soon. We may not have a Professor Matsumoto who can send a saviour back to us from the future.

Official website of Vivy -Fluorite Eye's Song-

Thursday, April 08, 2021

AI development and what it means for our future: Prologue

Originally, I had wanted to write about the implications that AI development has on the future of humankind, specifically in the areas of self-driving cars and language learning. For example, the development in machine translation has led to something like this.


But after giving it some thought, a single article is unlikely to capture the entire scope of implications. I myself don't think, as a single person, I can cover that entire scope, but the ideas I have already seem to overflow beyond a single article. So I am going to take more time to consolidate my thoughts, and spend more time on each idea by having each post cover only one idea.

Personally, I have no idea how long this series will last, but I am going to tag all posts in the series with "AI and the future" and we shall see how it goes.

Update 18 July 2022: An article on AI development and its implications