The correct GREEK plural, which would be used because the root of octopus is Greek, could be octopodes. However, in ENGLISH, people have started intuiting that words ending in “~us” pluralize to ~i, akin to cacti. So this isn’t about being a Latin rule, it’s actually an emergent English rule.