Answers.Body: <p>Well, one of the simpler definitions for <code>SI</code> sounds like this:</p>
  
  <blockquote>
    <p>The emergent collective intelligence of groups of simple agents.”
    (Bonabeau et al, 1999)</p>
  </blockquote>
  
  <p>So, in order to get to the <code>SI</code> you have to use some kind of algorithms/AI to get simple intelligent agents. It's just cooperative intelligence, or cooperative <code>AI</code> if you wish. <code>SI</code> just uses today's <code>AI/ML</code> techniques to build the swarm, in same manners as reinforcement learning uses <code>AI/ML</code> techniques to make agents that can behave reasonably in large spaces by approximating value functions <code>V(S)</code> and policies <code>pi(S)</code>. I hope this helps a little.</p>
  
  <p>So <code>AI/ML</code> is kinda of a tool plugged in <code>SI</code>, as <code>SI</code> is field with it's own algorithm definitions and theory.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-25T16:19:24.037Z
Answers.Text: This answer is partially wrong. SI doesn't use today's AI/ML to build a swarm. It would be like saying that evolutionary algorithms use ML techniques (e.g. SVMs) to build a population. So, no, AI/ML is not kind of a tool plugged into SI. Actually, it's more the other way around. SI techniques are sometimes used in ML (for example, for hyper-parameter optization, see PSO). Not sure why people are upvoting this. I suggest that you edit this answer to address/fix these points/issues that I raised.
Answers.UserDisplayName: nbro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-14T06:38:16.943Z
Answers.LastActivityDate: 2020-05-14T06:38:16.943Z
Answers.UserDisplayName: Igor 
Answers.Body: <p>Artificial Intelligence, as its name suggests, is intelligence made by humans. It's usually thought of as having human-like behaviors and characteristics. However, it doesn't have to resemble humans to be AI. It just has to be made by humans. Many common AI algorithms aren't even made to resemble humans, they may just have similarities. Reinforcement learning is present in humans, but also in the many creatures with intelligence.</p>
  <p>Swarm Intelligence is basically <em>a lot of small stupid things working together to do something complex</em>. Take for example ants. Each individual ant only follows a few very simple &quot;instructions&quot; like <code>if has this chemical: follow</code>. Like Evolutionary AI, it's taking mimicking features of nature. We humans just take a feature made by nature (Evolution/Swarming) and try to replicate some behaviors. Much like Evolutionary AI, Swarm Intelligence is a type of AI.</p>
  <p>tl;dr:</p>
  <ul>
  <li>AI: intelligence made by humans</li>
  <li>SI: feature made by nature that humans are trying to copy</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-25T16:22:52.233Z
Answers.Text: I think it's a bit restrictive or pointless to say that AI is intelligence made by humans. It would be better to say that AI is intelligence not found directly in nature or biological systems or organisms. Also, saying "Swarm Intelligence is basically a lot of **small stupid things** working together to do something _complex_." is not only quite provocative, but also not very clear at all. Also, ants do not follow deterministic if-then rules, but probabilistic ones, so this answer is quite misleading and actually partially wrong.
Answers.UserDisplayName: nbro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-25T16:24:07.243Z
Answers.Text: For example, "Like Evolutionary AI, it's part of nature.", no, not necessarily, in the sense that artificial ACO algorithms, for example, are not part of nature (unless you consider computer programs an extension of ourselves and part of nature in the sense that they are made of substances that are present in nature). So, I suggest that you edit this post to address my concerns, then your answer seems more or less reasonable to me. Not sure why people are upvoting this when there is some info that is not fully correct.
Answers.UserDisplayName: nbro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-28T13:15:33.630Z
Answers.LastActivityDate: 2021-01-26T02:41:03.723Z
Answers.LastEditDate: 2021-01-26T02:41:03.723Z
Answers.UserDisplayName: ChocolateOverflow
Answers.Body: <p><strong><a href="http://www.scholarpedia.org/article/Swarm_intelligence" rel="nofollow noreferrer">Swarm intelligence (SI)</a> is a <em>sub-field of</em> or <em>an approach to</em> artificial intelligence (AI)</strong>, where you have multiple individuals (for example, artificial ants), which collectively can produce what we (or most of us) would <em>intuitively</em> call <em>intelligent behaviour</em>.</p>
  <p>SI is sometimes categorized as a sub-field of <em>evolutionary computation</em> (which also includes <em>evolutionary algorithms</em>, such as <em>genetic algorithms</em>, <em>genetic programming</em>, <em>evolution strategies</em>, and so on), which is often considered a sub-field of AI or techniques to produce artificial intelligence, because all these techniques are often based on the use of multiple individuals/solutions (that either compete or collaborate with each other).</p>
  <p>One of the most commonly used SI techniques is <a href="http://www.scholarpedia.org/article/Ant_colony_optimization" rel="nofollow noreferrer">ant colony optimization algorithms</a> (proposed by M. Dorigo and further developed by other people like Luca M. Gambardella), which have been successfully applied to solve the <em>non-decision</em> version of the <a href="https://en.wikipedia.org/wiki/NP-completeness" rel="nofollow noreferrer">NP-complete problem</a> (in simple words, it's a combinatorial problem that may require exponential time to be solved in the <em>usual</em> case) known as the <a href="https://en.wikipedia.org/wiki/Travelling_salesman_problem" rel="nofollow noreferrer">travelling salesman problem</a>. There are other SI techniques, which are somehow similar to ACO algorithms, such as <a href="http://www.scholarpedia.org/article/Particle_swarm_optimization" rel="nofollow noreferrer">particle swarm optimization</a> or the <a href="http://www.scholarpedia.org/article/Artificial_bee_colony_algorithm" rel="nofollow noreferrer">artificial bee colony algorithm</a>.</p>
  <p>Occasionally, SI may also be categorised as a sub-field of <a href="https://ai.stackexchange.com/a/16649/2444"><em>computational intelligence</em></a>, which often refers to specific techniques to create artificially intelligent systems (i.e. programs that exhibit what we would call <em>intelligence</em>) that are more based on or inspired by the biology, such as neural networks, genetic algorithms, or, in fact, SI algorithms, such as ACO algorithms. However, CI can also be considered a sub-field of AI, given that it studies techniques to produce artificial intelligence, so, in the end, as I said above, SI is an approach to AI, which includes other approaches, such as evolutionary algorithms, rule-based systems, deep learning or other machine learning techniques.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-25T14:37:56.463Z
Answers.Text: What are `artificial ants`? Could you please elaborate on the example?
Answers.UserDisplayName: Pluviophile
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-25T14:39:19.430Z
Answers.Text: Artificial ants are the "individuals" (i.e. the solutions to a problem or the programming abstraction that finds those solutions) in the ant colony optimization algorithms that I mention in my answer. If you learn a little bit about ACO algorithms, you will understand more about them. I suggest that you read, for example, http://www.scholarpedia.org/article/Ant_colony_optimization for more details.
Answers.UserDisplayName: nbro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-25T14:22:34.553Z
Answers.LastActivityDate: 2022-01-14T17:56:22.920Z
Answers.LastEditDate: 2022-01-14T17:56:22.920Z
Answers.UserDisplayName: nbro
Body: <p><a href="https://en.wikipedia.org/wiki/Artificial_intelligence" rel="nofollow noreferrer">Artificial intelligence (AI)</a> refers to the simulation of human intelligence in machines that are programmed to think like humans and mimic their actions. The term may also be applied to any machine that exhibits traits associated with a human mind such as learning and problem-solving.</p>
  <p>According to <a href="https://en.wikipedia.org/wiki/Swarm_intelligence" rel="nofollow noreferrer">the Wikipedia article on swarm intelligence</a></p>
  <blockquote>
  <p>Swarm intelligence (SI) is the collective behavior of decentralized, self-organized systems, natural or artificial. The concept is employed in work on <strong>artificial intelligence</strong>.</p>
  <p>The application of swarm principles to robots is called swarm robotics, while 'swarm intelligence' refers to the more general set of algorithms.</p>
  <p>SI systems consist typically of a population of simple agents or boids interacting locally with one another and with their environment. The inspiration often comes from nature, especially biological systems.</p>
  </blockquote>
  <p>These two terms seem to be related, especially in their application in computer science and software engineering. Is one a subset of another? Is one tool (SI) is used to build a system for the other(AI)? What are their differences and why are they significant?</p>
  
Tags: <comparison><terminology><swarm-intelligence>
Title: What is the difference between artificial intelligence and swarm intelligence?
UserDisplayName: Pluviophile
ThreadText: # What is the difference between artificial intelligence and swarm intelligence?
  
  (Asked by: username_0 on 2020-05-14)
  
  [Artificial intelligence (AI)](https://en.wikipedia.org/wiki/Artificial_intelligence) refers to the simulation of human intelligence in machines that are programmed to think like humans and mimic their actions. The term may also be applied to any machine that exhibits traits associated with a human mind such as learning and problem-solving.
  
  According to [the Wikipedia article on swarm intelligence](https://en.wikipedia.org/wiki/Swarm_intelligence)
  
  > Swarm intelligence (SI) is the collective behavior of decentralized, self-organized systems, natural or artificial. The concept is employed in work on **artificial intelligence**.
  >
  > The application of swarm principles to robots is called swarm robotics, while 'swarm intelligence' refers to the more general set of algorithms.
  >
  > SI systems consist typically of a population of simple agents or boids interacting locally with one another and with their environment. The inspiration often comes from nature, especially biological systems.
  
  These two terms seem to be related, especially in their application in computer science and software engineering. Is one a subset of another? Is one tool (SI) is used to build a system for the other(AI)? What are their differences and why are they significant?
  
  **Tags:** comparison, terminology, swarm-intelligence
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2021-01-25. Score: 3 | Accepted answer
  
  **[Swarm intelligence (SI)](http://www.scholarpedia.org/article/Swarm_intelligence) is a *sub-field of* or *an approach to* artificial intelligence (AI)**, where you have multiple individuals (for example, artificial ants), which collectively can produce what we (or most of us) would *intuitively* call *intelligent behaviour*.
  
  SI is sometimes categorized as a sub-field of *evolutionary computation* (which also includes *evolutionary algorithms*, such as *genetic algorithms*, *genetic programming*, *evolution strategies*, and so on), which is often considered a sub-field of AI or techniques to produce artificial intelligence, because all these techniques are often based on the use of multiple individuals/solutions (that either compete or collaborate with each other).
  
  One of the most commonly used SI techniques is [ant colony optimization algorithms](http://www.scholarpedia.org/article/Ant_colony_optimization) (proposed by M. Dorigo and further developed by other people like Luca M. Gambardella), which have been successfully applied to solve the *non-decision* version of the [NP-complete problem](https://en.wikipedia.org/wiki/NP-completeness) (in simple words, it's a combinatorial problem that may require exponential time to be solved in the *usual* case) known as the [travelling salesman problem](https://en.wikipedia.org/wiki/Travelling_salesman_problem). There are other SI techniques, which are somehow similar to ACO algorithms, such as [particle swarm optimization](http://www.scholarpedia.org/article/Particle_swarm_optimization) or the [artificial bee colony algorithm](http://www.scholarpedia.org/article/Artificial_bee_colony_algorithm).
  
  Occasionally, SI may also be categorised as a sub-field of [*computational intelligence*](https://ai.stackexchange.com/a/16649/2444), which often refers to specific techniques to create artificially intelligent systems (i.e. programs that exhibit what we would call *intelligence*) that are more based on or inspired by the biology, such as neural networks, genetic algorithms, or, in fact, SI algorithms, such as ACO algorithms. However, CI can also be considered a sub-field of AI, given that it studies techniques to produce artificial intelligence, so, in the end, as I said above, SI is an approach to AI, which includes other approaches, such as evolutionary algorithms, rule-based systems, deep learning or other machine learning techniques.
  
  > **Comments:**
  > **username_0**: What are `artificial ants`? Could you please elaborate on the example?  
  > **username_2**: Artificial ants are the "individuals" (i.e. the solutions to a problem or the programming abstraction that finds those solutions) in the ant colony optimization algorithms that I mention in my answer. If you learn a little bit about ACO algorithms, you will understand more about them. I suggest that you read, for example, http://www.scholarpedia.org/article/Ant_colony_optimization for more details.  
  
  ---
  
  ### Answer by username_1 on 2020-05-14. Score: 2
  
  Well, one of the simpler definitions for `SI` sounds like this:
  
  > The emergent collective intelligence of groups of simple agents.”
  > (Bonabeau et al, 1999)
  
  So, in order to get to the `SI` you have to use some kind of algorithms/AI to get simple intelligent agents. It's just cooperative intelligence, or cooperative `AI` if you wish. `SI` just uses today's `AI/ML` techniques to build the swarm, in same manners as reinforcement learning uses `AI/ML` techniques to make agents that can behave reasonably in large spaces by approximating value functions `V(S)` and policies `pi(S)`. I hope this helps a little.
  
  So `AI/ML` is kinda of a tool plugged in `SI`, as `SI` is field with it's own algorithm definitions and theory.
  
  > **Comments:**
  > **username_2**: This answer is partially wrong. SI doesn't use today's AI/ML to build a swarm. It would be like saying that evolutionary algorithms use ML techniques (e.g. SVMs) to build a population. So, no, AI/ML is not kind of a tool plugged into SI. Actually, it's more the other way around. SI techniques are sometimes used in ML (for example, for hyper-parameter optization, see PSO). Not sure why people are upvoting this. I suggest that you edit this answer to address/fix these points/issues that I raised.  
  
  ---
  
  ### Answer by username_3 on 2020-05-28. Score: 2
  
  Artificial Intelligence, as its name suggests, is intelligence made by humans. It's usually thought of as having human-like behaviors and characteristics. However, it doesn't have to resemble humans to be AI. It just has to be made by humans. Many common AI algorithms aren't even made to resemble humans, they may just have similarities. Reinforcement learning is present in humans, but also in the many creatures with intelligence.
  
  Swarm Intelligence is basically *a lot of small stupid things working together to do something complex*. Take for example ants. Each individual ant only follows a few very simple "instructions" like `if has this chemical: follow`. Like Evolutionary AI, it's taking mimicking features of nature. We humans just take a feature made by nature (Evolution/Swarming) and try to replicate some behaviors. Much like Evolutionary AI, Swarm Intelligence is a type of AI.
  
  tl;dr:
  
  * AI: intelligence made by humans
  * SI: feature made by nature that humans are trying to copy
  
  > **Comments:**
  > **username_2**: I think it's a bit restrictive or pointless to say that AI is intelligence made by humans. It would be better to say that AI is intelligence not found directly in nature or biological systems or organisms. Also, saying "Swarm Intelligence is basically a lot of **small stupid things** working together to do something _complex_." is not only quite provocative, but also not very clear at all. Also, ants do not follow deterministic if-then rules, but probabilistic ones, so this answer is quite misleading and actually partially wrong.  
  > **username_2**: For example, "Like Evolutionary AI, it's part of nature.", no, not necessarily, in the sense that artificial ACO algorithms, for example, are not part of nature (unless you consider computer programs an extension of ourselves and part of nature in the sense that they are made of substances that are present in nature). So, I suggest that you edit this post to address my concerns, then your answer seems more or less reasonable to me. Not sure why people are upvoting this when there is some info that is not fully correct.  
  
  ---
  
  