arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v2/sections/introduction.tex
v2/sections/introduction.texRaw
 1% !TeX root = ../build/main.tex
 2
 3Online voting remains one of the most studied yet elusive applications in applied cryptography. As digital services expand across both public and private sectors, secure and universally verifiable online voting systems have become an increasingly desirable goal. Remote electronic voting promises scalability, accessibility, and administrative efficiency; yet the design of systems that simultaneously ensure privacy, integrity, coercion resistance, and transparency under realistic adversarial models remains a formidable challenge. 
 4Numerous deployments have revealed deep-rooted usability flaws and security gaps, particularly when verifiability mechanisms are either poorly understood by users or reliant on centralized infrastructure.
 5
 6Against this backdrop, the Vocdoni project was initiated in 2018 with the aim of rethinking online voting from first principles. The name Voĉdoni, meaning \textit{to give voice} in Esperanto, reflects the project’s foundational goal: to empower collectives, from small associations to millions of citizens, to engage in secure and verifiable decision-making, regardless of technological or institutional barriers. Central to this vision was the idea that voting is not limited to formal governmental elections but serves as a more general-purpose mechanism for collective signaling. Vocdoni introduced a fully anonymous end-to-end verifiable voting system designed to operate efficiently on a range of devices, including smartphones. To support these goals, the team deployed a custom infrastructure emphasizing resilience, neutrality, and transparency.
 7
 8Technically, the architecture of Vocdoni was based on a bespoke \ac{BFT} layer-1 blockchain, named Vochain. At the time, efficient zero-knowledge (ZK) proof systems were emerging, but not yet practical for most deployments. Vochain provided a performant and low-cost environment (achieving approximately 700 transactions per second) in which advanced cryptographic tools could be used without the constraints imposed by general-purpose blockchains based on the \ac{EVM}. The ability to issue voting transactions without requiring user fees enabled broader accessibility. Over several years of development and deployment, this architecture proved both viable and valuable in practice. However, broader adoption as a universal voting protocol highlighted the need for further architectural refinements and stronger formal guarantees.
 9
10In this work, we introduce \davinci, a new protocol that builds upon the lessons and conceptual groundwork laid by Vocdoni. \Davinci adopts a modular design and integrates state-of-the-art cryptographic tools, including succinct ZK proofs, improved bulletin board constructions, and robust coercion resistance mechanisms, reflecting the most recent advances in academic research. Unlike monolithic designs, \davinci is conceived as a composable primitive: a foundational layer intended to support secure and verifiable voting in diverse contexts, from blockchain governance to institutional elections. This shift in design philosophy aims to address long-standing challenges in the field, offering a cleaner abstraction with clearer security boundaries and formal underpinnings.\\
11
12\subsection{Contributions}
13\label{sec:introduction:contributions}
14
15This work introduces \davinci, a modular and verifiable protocol for digital voting, designed to support privacy-preserving, auditable, and adaptable election processes across diverse governance contexts. The protocol \textit{models voting as a constrained state machine}, in which each valid operation is expressed as a formally defined state transition, enforced through succinct \ac{ZK} proofs. That is, at the core of the system lies a set of reusable arithmetic circuits that implement voter authentication, encrypted ballot validation, state transitions, and tally finalization. These circuits are optimized for off-chain proving and are compatible with modern \ac{ZK-SNARK} protocols. Application-layer state is maintained off-chain and committed on-chain using Merkle trees as cryptographic accumulators. 
16%The protocol defines two such trees: one for the voter registry (the census) and one for the voting state. These trees enable voters and verifiers to produce efficient inclusion and transition proofs, while minimizing on-chain storage and computation.
17
18A key contribution of this work is the introduction of a generic ballot protocol that abstracts a wide range of voting systems into a unified, parameterized representation. Instead of designing specialized circuits for each voting rule, ballots are expressed as fixed-length vectors subject to configurable constraints, enabling support for approval, ranking, quadratic, single-choice, and multiple-choice elections within the same circuit framework. This design significantly reduces circuit complexity while allowing different tallying and counting rules to be enforced efficiently inside \ac{ZK} proofs.
19
20To coordinate protocol execution over a decentralized network of nodes, \davinci includes a set of Ethereum smart contracts that mediate the setup of elections, manage finalization procedures, and verify submitted proofs of correctness. A standardized transaction and data encoding format supports all stages of the process, including vote casting, ballots aggregation, and result publication. This approach ensures that protocol interactions remain deterministic and interoperable across clients and backends. The system also introduces the Vocdoni token, which is used to align incentives between participants. Altogether, the design aims to balance auditability and privacy while reducing trust assumptions on infrastructure providers. By cleanly separating functionalities and providing modular interfaces, the protocol is intended to serve as a foundation for both practical deployments and future extensions, such as integration with alternative identity systems, off-chain data availability layers, or other consensus backends.
21
22\subsection{Related work}
23\label{sec:introduction:sota}
24
25%https://research.azkr.org/blog/evoting-review/
26
27\paragraph{Foundations of cryptographic voting.}
28%Cryptographic e-voting begins with Chaum's mix-nets~\cite{chaum1981}, which establish anonymity through verifiable shuffling of ciphertexts.
29Cryptographic e-voting originated with Chaum's mix-net construction~\cite{chaum1981}, which achieves anonymity through verifiable shuffling of ciphertexts.
30Helios~\cite{helios2008} was the first deployed web-based system to combine threshold ElGamal encryption with a public bulletin board and homomorphic tallying, and it remains a standard reference point for end-to-end (E2E) verifiability in practice.
31Belenios~\cite{belenios2019} refines this design with formal verifiability proofs and a clean separation between the registration authority and the voting server; the BeleniosRF variant additionally achieves receipt-freeness, but only under the assumption that the voting server is honest regarding that property.
32ElectionGuard~\cite{electionguard2024} belongs to the same family, combining homomorphic tallying with threshold guardians, publicly verifiable proofs, and a centralized election administrator that drives the tally. A common feature of all of these systems is that, beyond their cryptographic core, they require a non-trivial setup of either the bulletin board, the tally authority, or both, and that the operator set is fixed for each election rather than open to participation.
33
34\paragraph{Receipt-freeness and revoting.}
35A receipt-free voting system prevents a voter from producing convincing evidence of their vote, mitigating bribery and simple coercion. Benaloh and Tuinstra~\cite{benaloh1994} gave the first formal notion, and Hirt~\cite{hirt2000} showed how to achieve it efficiently by combining homomorphic encryption with re-encryption performed by a designated helper.
36Doan et al.~\cite{doan2024} subsequently generalize Hirt-style receipt-freeness to a setting with multiple ballot-processing servers, removing the single-point-of-failure assumption common to earlier non-interactive constructions.
37These constructions remain server-based: none of them places the protocol on a public bulletin board with cryptographically enforced data availability, and the helpers responsible for re-encryption are selected in advance rather than drawn from an open set.
38
39\paragraph{Blockchain-based and ZK-based voting.}
40McCorry et al.~\cite{mccorry2017} proposed the first self-tallying voting contract on Ethereum, but placing every vote directly on-chain is expensive and creates a linkable trail between voters and their choices. Permissioned-ledger proposals~\cite{kirillov2019} improve operational properties but still rest on honest-majority assumptions over a closed set of validators.
41Freedom Tool~\cite{freedomtool2024} uses ZK proofs over biometric passports to enforce eligibility, but votes appear on-chain in cleartext, trading ballot secrecy for transparency.
42MACI~\cite{maci2019} uses ZK proofs to discourage bribery, but its coordinator is a single trusted party that can read individual votes; although later versions improve usability, this assumption remains.
43Semaphore~\cite{semaphore2020} provides anonymous group-membership proofs and is reused as a building block in several voting prototypes, although it is not itself a complete voting protocol.
44Cicada~\cite{cicada2023} and Shutter Network~\cite{shutter2024} use timelock and threshold encryption to keep ballots hidden until the tally, but neither re-randomizes stored ciphertexts after submission. As a result, voters can still prove how they voted, weakening protection against coercion and vote-selling.
45
46%\paragraph{Position of DAVINCI.}
47%Architecturally, DAVINCI is close to payment-focused ZK rollups such as Loopring~\cite{loopring2019} and zkSync~\cite{zksync2020}, rather than to traditional e-voting systems. It applies the off-chain computation and on-chain settlement split to elections while adding threshold decryption, ciphertext re-randomization, and silent revoting. These features are required in voting systems but absent from payment applications.
48%Table~\ref{tab:comparison} evaluates these systems on five formal properties: \emph{ballot privacy}, that the voter's choice remains hidden from third parties under the system's stated trust assumption; \emph{cast-as-intended verifiability}, a voter-facing mechanism by which the voter can check that the casting device honestly encrypted the chosen option; \emph{receipt-freeness}, that a voter cannot produce convincing evidence of how they voted to a third party observing the public bulletin board; \emph{permissionless ballot processing}, that the operator set is open to anyone rather than fixed in advance; and \emph{public-ledger settlement}, that the protocol's state and integrity proofs are anchored on a public bulletin board. For Belenios, the receipt-freeness mark refers to BeleniosRF, which adds an honesty assumption on the voting server; for MACI, ballot privacy and receipt-freeness are restricted to third parties besides the coordinator.
49%DAVINCI is the only system among those compared that provides \emph{receipt-freeness} without trusting a server while simultaneously running on \emph{permissionless} ballot-processing infrastructure with on-chain settlement. The cost it pays for this combination is the absence of \emph{cast-as-intended verifiability} at the protocol level; we discuss this gap and compatible second-device remedies in Sections~\ref{sec:e2e-verifiability} and~\ref{sec:conclusions}. Beyond the properties captured in the table, DAVINCI's parametric ballot circuit supports approval, ranking, multiple-choice, and quadratic voting with a single on-chain verifier, allowing arbitrarily many elections of different formats to reuse the same circuit set and trusted-setup ceremony.
50
51\subsection{Paper organization}
52\label{sec:introduction:organization}
53
54The rest of the paper is organized as follows. In Section~\ref{sec:background} we introduce the necessary background. 
55In Section~\ref{sec:protocol-intuition} we provide a high-level overview of a voting process, omitting technical details for clarity. In Section~\ref{sec:vocdoni-protocol} we describe the full voting process in detail and in Section~\ref{sec:ballot-protocol} we focus on the ballot protocol. 
56%In Section~\ref{sec:token} we discuss the role of the Vocdoni token within the incentive structure of the system. 
57In Section~\ref{sec:analysis} we analyze the protocol, covering its security properties, implementation details, and performance evaluation. In Section~\ref{sec:conclusions} we conclude the paper with final remarks and future work. Finally, we include Appendix~\ref{sec:cryptographic-primitives} with the concrete instantiations of all the cryptographic primitives used in the protocol.