Experimental data and code for "Consensus formation and change are enhanced by neutrality"

This dataset contains raw and processed data on a number of experiments on marching locust nymphs in a ring-shaped arena. With sufficiently large densities the locusts exhibit coherent motion and directional switching.
The code accompanying that data is for processing the raw data, analysing the processed data and simulating both spatial and non-spatial models of the data.

This dataset also contains raw and processed data on a number of experiments into consensus formation in which human participants played an iterated voting game.
The code accompanying the data is for processing the raw data, analysing the processed data and simulating mathematical models of the process.

This dataset also contains code to simulate a model of nucleosome modification. The model describes the modifications of nucleosomes by recruitment of modifying and unmodifying enzymes from their neighbours or in a ‘recruitment-independent’ (spontaneous) manner. In the model, nucleosomes can be acetylated (A), unmodified (U) or methylated (M), hence A and M represent active states, while U is a neutral state.

Effective collective decision-making in human and animal groups requires robust mechanisms for consensus formation and change, typically via feedback loops in which individuals adapt their behaviour and opinions based on their perception of others. Such processes have been observed in the onset of motion in insect swarms and is believed to manifest across scales from nucleosomes to entire societies. However, levels of participation can be highly variable over time, with individuals sometimes adopting neutral positions such as moving to the back of a group or abstaining from a vote.

In this work we present a new theoretical and experimental analysis showing that neutrality has two important and hitherto unreported benefits to collective decision making. First, it enables the robust formation of consensus in groups of individuals applying simple linear reasoning, updating their state after consideration of at most one other individual at a time. Second, we find that neutral actors can facilitate efficient consensus change by reducing the effective population size during transitions. These findings are derived from a new general mathematical model of collective binary decision problems, and validated against experiments with insect and human populations. Our results provide a parsimonious explanation of how groups of animals and humans quickly reach and overturn consensus, suggesting efficient solutions to collective decision-making problems.

Keywords:
human participant voting experiments, switching, consensus formation, locusts, collective motion
Subjects:
Animal science
Mathematical sciences
Psychology

Cite this dataset as:
Sontag, A., Hoffmann, J., Rogers, T., Yates, K., 2026. Experimental data and code for "Consensus formation and change are enhanced by neutrality". Bath: University of Bath Research Data Archive. Available from: https://doi.org/10.15125/BATH-01478.

Export

Data

Voting experiments.zip
application/zip (2MB)
Creative Commons: Attribution 4.0

# Consensus formation and change are enhanced by neutrality # # A. Sontag, J. Hoffmann, T. Rogers, and C.A. Yates # ### This folder contains data from the voting experiments designed and collected by the authors. It also contains the code used in the analysis of the data. The experiment was coded using the oTree package for Python.

Locust experiments.zip
application/zip (5GB)
Creative Commons: Attribution 4.0

# Consensus formation and change are enhanced by neutrality # # A. Sontag, J. Hoffmann, T. Rogers, and C.A. Yates # ### This folder contains data corresponding to locusts experiments by Buhl et al. (2006) as well as code written by the authors to clean the data and perform the analysis presented in the manuscript.

Code

Nucleosome model.zip
application/zip (70kB)
Software: MIT License

# Consensus formation and change are enhanced by neutrality # # A. Sontag, J. Hoffmann, T. Rogers, and C.A. Yates # ### This folder contains simulation data and code for the analysis of the nucleosome model (see SI Section 7).

Creators

Andrei Sontag
University of Bath

Tim Rogers
University of Bath

Kit Yates
University of Bath

Contributors

University of Bath
Rights Holder

Documentation

Data collection method:

The methodology can be found in the associated paper.

Documentation Files

README_LOCUSTS
text/plain (6kB)
Creative Commons: Attribution 4.0

A readme file for the locust data and code.

README_NUCLEOSOME
text/plain (1kB)
Creative Commons: Attribution 4.0

A readme file for the nucleosome modelling code.

README_VOTING
text/plain (4kB)
Creative Commons: Attribution 4.0

A readme file for the voting data and code.

Legal and Ethical Documents

Consent page.pdf
application/pdf (81kB)
Creative Commons: Attribution 4.0

Consent form for the human participant voting experiments.

Participant Information Sheet.pdf
application/pdf (127kB)
Creative Commons: Attribution 4.0

Participant information sheet for human participant voting experiments.

Funders

Engineering and Physical Sciences Research Council
https://doi.org/10.13039/501100000266

EPSRC Centre for Doctoral Training in Statistical Applied Mathematics at Bath (SAMBa)
EP/L015684/1

Publication details

Publication date: 19 February 2026
by: University of Bath

Version: 1

DOI: https://doi.org/10.15125/BATH-01478

URL for this record: https://researchdata.bath.ac.uk/1478

Contact information

Please contact the Research Data Service in the first instance for all matters concerning this item.

Contact person: Kit Yates

Departments:

Faculty of Humanities & Social Sciences
Psychology

Faculty of Science
Mathematical Sciences

Research Centres & Institutes
Centre for Mathematical Biology