Artificial intelligence
- "CPU" redirects here. For the California smasher, seeSmasher:CPU.
- For the Florida smasher, seeSmasher:CPU (Florida).
- For the Japanese smasher, seeSmasher:CPU1 (Japan).
Artificial intelligence, abbreviated asAI, in theSuper Smash Bros. series refers to the intelligence of any computer-controlled (CP inSuper Smash Bros. andSuper Smash Bros. Melee,CPU fromSuper Smash Bros. Brawl onward) character (calledcomputer players in-game) in thesingle-player andVersus Modes. In Versus Mode, players can preset the AI of a computer player with a level setting. InAdventure Mode,All-Star Mode, andClassic Mode, players can still set it to some degree with the modes' difficulty setting.
Difficulty levels[edit]
Artificial intelligence levels range from 1 to 9, with 1 being the weakest and 9 being the strongest. The default CPU level in Versus matches is 1 forMelee and 3 in all other games, although rule settings inSuper Smash Bros. Ultimate allow players to select which level CPUs default to. In general, the level of an AI opponent determines how likely they are to follow through with a decision, as well as how fast they react, which results in the illusion of more skill - both a level 1 and a level 9 AI will decide to do something such as input an attack, but the level 1 will almost never do so, waiting for a long time before eventually doing it, while the level 9 almost always will instantly. Likewise, lower level CPUs are unlikely toshield ordodge an attack, usingrolls simply to reposition themselves in some instances, and almost never using theirshield at all, or at random times inBrawl. On the other hand, higher-level ones almost always defend from attacks, generally having good reflexes or dodging any attack when not in lag - in all games, level 9 CPUs are able to perfectly land attacks against opponents when at the appropriate range from them, and fromBrawl onward, they can defend against almost any attack with one-frame reactions, resulting in disproportionateperfect shielding anddodging capabilities.Button mashing gets faster between CPU levels, affecting situations like waking up fromsleep or recovering after ashield break. Low level CPUs mash buttons at a very slow speed, while higher level CPUs mash at a very fast speed (with level 9s having frame-perfect mashing speed). Also due to this change in reflexes, low-level CPUs are prone to simply standing next to their opponent and using a weak attack such as aneutral attack ortilt, while high-level CPUs useaerial attacks,smash attacks, andgrabs more prominently.
The AI'srecovery also improves as their level is increased: CPUs at low levels tend to recover in a simple and predictable pattern with theirup specials, or may not use them at all inSSB, while high-level ones inBrawl,Smash 4, andUltimate are capable of properly combining or alternating between different recovery techniques. For example, CPULuigi inSmash 4 only uses hisSuper Jump Punch to recover at low levels (specifically Level 1 to 5), while at high levels (6-9) he also makes use of hisGreen Missile andLuigi Cyclone.
InTraining mode, besides attacking, CPUs also have many other "modalities" that can be chosen, these being: Stand, Evade, Walk, and Jump. When these are chosen, CPUs will act that way, allowing players to battle in different ways against them, and practice different types of techniques. InSSB andMelee, these are set to a predetermined level (levels 3 and 1 respectively), while inBrawl,Smash 4, andUltimate, they can be chosen from 1 to 9 from the character selection screen as usual, which also improves their reflexes. For example, level 1 CPUs on Stand will just take on whatever attack is thrown on their way, and recover in a simple andgimpable pattern, while level 9 ones will almost always air dodge aftertumbling (inBrawl) and will choose better recovery options. When set to Attack, CPUs will fight the player as on usual battles, but since the level cannot be selected inSSB andMelee, it is somewhat unfavorable to fight CPUs on Training mode. Players instead tend to train against them on normal Versus modes. CPUs set to Attack mode inSmash 4's Training mode are also much likelier tospam projectiles and other special moves than in other modes, using them even at close range from opponents.
Certain single-player stages andevents inMelee give CPUs a level of 0, such asEvent 19: Peach's Peril andEvent 21: Ice Breaker, in which case they don't attack at all, but still follow whatever movement behavior they would normally have. Some also give them other specific behaviors, such asEvent 3: Bomb-fest inMelee causing CPULink andSamus to use theirdown special moves more often, andEvent 31: The Ultimate Bodyguard inBrawl causing CPUZelda tocrouch and do nothing until the stage changes a second time. InMelee, these specific behaviors can be accessed via theDebug Menu.
InSSB, CPU levels appear on thecharacter selection screen as a digit with two arrows on either side to adjust it up or down, appearing where the selected character's name would be displayed for a human. InMelee, the levels are instead adjusted with a red slider which can be selected with theA button and then moved with thecontrol stick, which increases in number from left to right, above the selected CPU character's name. InBrawl,Smash 4, andUltimate, only the level number to which the CPU is currently set is shown at first, now appearing where the option to choose aname would appear for human players; clicking the number displays a menu with the other levels, scrolled by moving the cursor up and down. InSmash 4 andUltimate, the numbers appear with colors changing from indigo to red as the level increases, while inBrawl, all numbers appear in black but with an adjective to accompany each CPU level and describe its skill, namelyPuny,Wimpy,Weak,Normal,Hardy,Strong,Burly,Mighty, andNasty in ascending order.
Starting inBrawl, CPU level would correspond to values from 0 to 100. The wider range allows for finer control of a CPU's difficulty, such as making a CPU in an event more difficult than a level 8 CPU but not quite as difficult as a level 9 CPU. The same values are used inBrawl,Smash 4, andUltimate.
- Level 1 = 0
- Level 2 = 15
- Level 3 = 21
- Level 4 = 31
- Level 5 = 42
- Level 6 = 48
- Level 7 = 60
- Level 8 = 75
- Level 9 = 100
Theamiibo figures released forSuper Smash Bros. 4 andSuper Smash Bros. Ultimate have stored data for a CPU fighter within them. The player maycustomize said character and train them by having them battle. The amiibo is labeled with "FP", and can gain experience to level up after the battle, capping at level 50. Battling amiibo against each other will yield more experience than battling a human or regular CPU. Additionally, amiibo will "learn" from repeated battles by changing its tactics in response to its opponents' behavior (e.g. if the amiibo battles an opponent that shields frequently, it will learn to use its own shield more effectively and counter shielding opponents with grabs).
Training against CPUs[edit]
Players commonly fight against CPUs to train when there aren't other players around to play. This is a practice that is criticized by some, as besides even the highest level CPUs being of a lower level of skill than a typical casual player, CPUs do things that human players never do (and will never do things that are common for human players to do), as well as having several exploitable flaws and being completely incapable ofmind gaming, or even learning from their mistakes and changing their tactics accordingly.
Training against CPUs is said to not adequately build one's skills beyond basic offense and defense (such as the ability to read and bait opponents), and it is often argued that excessive CPU training may cause a player to actually become slightly worse by developing habits that only work against CPUs and will be heavily exploited by human players. For example, if a Marth player usesCounter every time a CPU gets close to attack, it would fall for it most of the time (especially higher-level CPUs), without trying to bait the counter or use grabs more often. However, a skilled or even a remotely competent human player would quickly catch onto the Marth player's strategy and exploit it by feigning an attack in the cases where Marth would commonly use Counter, and then punish him with a grab or delayed powerful attack such as a charged smash. Another example is CPUs not avoiding or fighting off edge-guarders effectively in the first threeSmash games, which allows players to KO them with basic edgeguarding techniques, while experienced players would prevent this at all costs. Also inSmash 4 andUltimate, higher-level CPU's (mostly levels 7-9) also have next to frame-perfect aerial dodging, only doing so when a player or CPU inputs the attack near them, or when items such as projectiles end up close enough to them. As a result, high-level CPUs in the air can only effectively be hit by rapid-hitting moves or through true combos. This can make practicing aerial combos infuriating, especially with characters who rely heavily on their aerial games, such as Marth, Peach, and Jigglypuff; this is further accentuated by their constant hold of the jump command while in the air (even when out of jumps), as they will, more often than not,phantom footstool the player, leaving the CPU in a favorable situation away from the player.
However, training against CPUs does have its merits. CPUs can be used to effectively practicecombos andchain throws, as well asspacing,punishing, and othertech skill related things. CPUs can be more effective than human players in this regard, as they're always available and won't refuse a match where a player just wants to practice the aforementioned things. Many top professional smashers have reported using CPUs to train, such asNairo,Vinnie, andMew2King.
There is, however, no consensus as to which level CPU is best to train against, with players mostly having their own personal opinion on what level is most effective. Some say level 1 CPUs are the best, as they won't have inhuman perfect shielding abilities and won't disrupt the player's training. Some say level 9 CPUs are the best, as they will actively try to fight the player and can punish mistakes the player makes. Some others say level 5 CPUs are the best for being a middle ground between the two extremes. Other players say Level 6-8 CPUs are the best for being challenging but not having inhuman reactions at the same time. Another camp maintains that what level is best is dependent on what a player is trying to practice.
Flaws in the AI[edit]
Learning AI and reading inputs myths[edit]
While still suffering flaws likeSmash 64 andMelee, CPUs withinBrawl came under scrutiny by members of theBrawl community after analyzing the behavior of them within fights. Two primary theories surrounding the AI eventually became commonplace:
- That the CPU was able to read inputs from human players and thus have perfect reaction times, explaining the excessive propensity of a CPU toperfect shield.
- That a "learning system" existed withinBrawl's code that allowed computer players to slowly learn to adapt to human players.
The former rumor was especially controversial, as many smashers thought that allowing the AI to "cheat" was an unfair tactic, and such a programming decision was considered lazy. The American crewSLAPAHO attempted to see whether or not CPUs had perfect reaction times, but their results were eventually declared inconclusive, and more tests were intended to be carried out; inactivity by the group, however, caused these further tests to never occur. In 2013, Canadian smasherToomai analyzedvarious animated GIFs of CPUs responding to aerial attacks; it was ultimately demonstrated that CPUs had a reaction time of one frame, and thus, did not read button inputs to form decisions.
The second rumor was primarily spread by anAll is Brawl blog post by American smasher Churro; entitled "The Wonders of Brawl's CPU Experience System", Churro claimed that CPUs inBrawl could learn from human players, with such changes being unique from different save files forBrawl. Churro provided video examples of these supposed changes, such as how a CPUCaptain Falcon began to more frequently useFalcon Punch following an all-Captain Falcon match featuring overuse of the move. Other videos by other smashers also appeared to show CPUs using tactics such asdash dancing andDACUSes.
Initially widely believed, advances in the hacking scene forBrawl have since disproven the existence of a learning system for CPUs:
- Tests showed that there were no differences in CPU behavior from save files that were over several hundred hours old versus fresh save files; comparisons of two files with significant playtime also showed no differences, when such a case was supposed to have significantly different playstyles.
- DisassemblingReplay files showed that no CPU inputs are saved in the file, only human inputs; as such, this meant that whenever a replay was played back, it meant that the CPU would have to react the same way every time in order to prevent desyncing. A learning system could potentially cause CPUs to react differently in replays, thus further disproving the rumor.
- Disassembling theBrawl save file showed that there were no flags or other notes about the AI.
- Disassembly of the game's AI demonstrated no coding for learning from human players.
- Videos demonstrating that the AI could learn are thought to have suffered fromconfirmation bias; what were thought to be cases of the AI learning were cases of the AI performing as expected, including specific overuse of some attacks.
A rudimentary learning system similar to the above would eventually be used byamiibo inSuper Smash Bros. 4 andSuper Smash Bros. Ultimate, though no such learning system exists outside of this.

