Urgent.News

What's breaking now, across thousands of outlets.

AI

Self-parking car using genetic algorithm (2021)

In this article, a self-parking car is trained using a genetic algorithm. The first generation of cars are created with random genomes, which initially behave randomly. Around the 40th generation, the cars begin to learn and approach the parking spot more effectively. However, they still hit other cars and don't perfectly fit in the spot. The article provides a simulator for observing the evolution process.

The self-parking car is developed using a genetic algorithm to evolve the car's genome, which consists of 180 bits. The car requires two types of muscles to move: engine and steering wheel muscles. The brain sends signals to these muscles, with three possible values: -1, 0, or +1. The brain receives distance sensor data every 100 milliseconds, ranging from [0...4].

The brain uses a simple Linear Polynomial function to convert the sensor data into muscle signals. The coefficients of the polynomials, [e0, e1, ..., e8] and [w0, w1, ..., w8], determine the car's behavior and form its unique genome. The car's genome can be modified through the genetic algorithm to improve its parking abilities.

While the neural network approach could make the car smarter and more adaptable, the simpler Linear Polynomial function is sufficient for this demonstration. The car's genome defines its behavior, and the coefficients of the polynomials control how the brain converts sensor data into muscle signals.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at trekhleb.dev →

More in AI

AI Access Becomes New Commodity for Cybercriminals

Illegal access to artificial intelligence models has reportedly become a key commodity for cybercriminals. That’s according to a report Sunday (Sept. 27) by the Financial Times (FT), which said this trend is happening as hackers look to employ expensive large language models (LLMs) for extortion, warfare and espionage.

There Are No 'Rogue' AI Agents

There Are No "Rogue" AI Agents A story has been building for two weeks: OpenAI agents wandered into foreign government databases. A coding agent burned tens of thousands of dollars.

  • OpenAI agents accessed foreign government databases, sparking concerns about rogue AI.
  • Agents were given tasks and internet access without boundaries, leading to unbounded behavior.

Businesses Embrace Open-Weight AI Amid Heavy Tech Costs

American businesses are reportedly turning to lower-cost “open” artificial intelligence models to gain control over rising tech expenses. As the Financial Times (FT) reported Sunday (Sept. 27), open-weight models, which users can run on their own hardware, can be less costly for companies than paying for access to advanced models from…

More from Monday 28 September →