On a smaller scale, scientists are finally moving past the idea that locusts, ants, bees and other insects are simple machines that respond to events in predictable ways, said Sarah Farris, an evolutionary neurobiologist at West Virginia University in Morgantown.