Papers
Topics
Authors
Recent
Search
2000 character limit reached

Coded Arms in Secure Linear Bandits

Updated 7 July 2026
  • Coded Arms are deterministic linear combinations of original arms that enable secure best-arm identification by masking informative arm pulls in stochastic linear bandits.
  • They employ a hierarchical subset-sum structure with internal decoding to retain statistical efficiency similar to elimination-based methods while ensuring observational security.
  • The method achieves a near-optimal error exponent with only a logarithmic loss, balancing performance and security without relying on cryptographic primitives.

Searching arXiv for the primary paper and closely related linear bandit BAI work. arXiv search query: (Cohen et al., 25 Jul 2025) Coded arms are deterministic linear combinations of original arms used in a secure best-arm-identification procedure for stochastic linear bandits. In the formulation introduced in "Secure Best Arm Identification in the Presence of a Copycat" (Cohen et al., 25 Jul 2025), the learner receives rewards of the form Xt=atθ+ηtX_t = a_t^\top \theta^* + \eta_t for arms atARda_t \in \mathcal{A} \subset \mathbb{R}^d, must identify the best arm after TT pulls, and simultaneously must prevent an external observer, Copycat Chloe, from inferring the best arm from the observable action sequence. The central idea is to replace direct pulls of informative arms with subset-sums of arms, then decode virtual uncoded rewards internally. This preserves a high degree of symmetry in the observable play sequence while retaining most of the statistical efficiency of multi-round elimination algorithms (Cohen et al., 25 Jul 2025).

1. Definition and ambient problem

The setting is a stochastic linear bandit with a finite arm set

A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,

satisfying span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d. Each arm a(i)a(i) is a dd-dimensional feature vector, and there is an unknown parameter θRd\theta^* \in \mathbb{R}^d. At round tt, Leah chooses ata_t and observes

atARda_t \in \mathcal{A} \subset \mathbb{R}^d0

For the main theorem, the noise is assumed Gaussian with atARda_t \in \mathcal{A} \subset \mathbb{R}^d1, although the recalled linear-bandit concentration inequality is stated for sub-Gaussian noise (Cohen et al., 25 Jul 2025).

The mean reward of arm atARda_t \in \mathcal{A} \subset \mathbb{R}^d2 is

atARda_t \in \mathcal{A} \subset \mathbb{R}^d3

Assuming the arms are indexed so that

atARda_t \in \mathcal{A} \subset \mathbb{R}^d4

the best arm index is atARda_t \in \mathcal{A} \subset \mathbb{R}^d5, with gaps

atARda_t \in \mathcal{A} \subset \mathbb{R}^d6

The fixed-budget best-arm-identification objective is to output atARda_t \in \mathcal{A} \subset \mathbb{R}^d7 after atARda_t \in \mathcal{A} \subset \mathbb{R}^d8 pulls with error probability

atARda_t \in \mathcal{A} \subset \mathbb{R}^d9

ideally exponentially small in TT0. The hardness parameter used is

TT1

The security model introduces Chloe, who observes the entire played-arm sequence TT2, including time indices, but does not observe rewards. Chloe outputs a set TT3 that she claims contains the best arm. The security constraint requires

TT4

and Chloe’s equivocation is defined as

TT5

The target equivocation is on the order of TT6, not TT7, because the paper treats the underlying statistical dimension as TT8 (Cohen et al., 25 Jul 2025).

2. Tradeoff between unconstrained efficiency and observational security

The paper positions coded arms between two baselines: a minimax-optimal but insecure elimination algorithm, and a secure but statistically weak non-adaptive design (Cohen et al., 25 Jul 2025).

Yang and Tan’s OD-LinBAI is presented as a minimax-optimal fixed-budget best-arm-identification algorithm for linear bandits. It operates in TT9 rounds, uses a G-optimal design in each round over the current surviving set, estimates arm values, and eliminates roughly half the arms after each round. Its error probability satisfies

A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,0

However, because the procedure is elimination-based and later rounds concentrate play on a small set of promising arms, the observable arm frequencies reveal which arms Leah currently considers plausible. The paper notes that in many elimination algorithms, the final round compares only A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,1 and one other arm, leaving Chloe with uncertainty essentially on the order of one bit (Cohen et al., 25 Jul 2025).

A naive secure approach is a single non-adaptive round: choose a distribution A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,2, pull according to A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,3 for all A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,4 rounds, estimate all arm values at the end, and never let action selection depend on observed rewards. This makes the play sequence independent of Leah’s intermediate beliefs, and therefore secure in the operational sense adopted by the paper. With a G-optimal design, the analysis yields

A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,5

and, rewritten in terms of A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,6,

A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,7

so the exponent is essentially

A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,8

This incurs a linear dependence on A={a(1),,a(K)}Rd,\mathcal{A} = \{a(1),\dots,a(K)\} \subset \mathbb{R}^d,9 in the denominator, substantially worse than the span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d0 dependence of OD-LinBAI (Cohen et al., 25 Jul 2025).

The resulting comparison is the central motivation for coded arms.

Method Security behavior Error exponent
OD-LinBAI Insecure; late-round play reveals top candidates span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d1
Single non-adaptive round Secure; arm selection independent of rewards span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d2
Algorithm 1 with coded arms Secure with equivocation span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d3 span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d4

This suggests that coded arms are designed to break the apparent security-efficiency dichotomy by retaining the symmetry of non-adaptive play while recovering most of the elimination-based gain.

3. Coded arms as subset-sums and the logic of decoding

A coded arm is any linear combination

span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d5

for a subset span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d6. When Leah plays span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d7, the reward is

span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d8

Thus a coded arm is a subset-sum experiment whose expected reward is the sum of the expected rewards of the constituent arms (Cohen et al., 25 Jul 2025).

The paper emphasizes that there is no formal coding matrix written, but it is conceptually natural to view the coded arms as rows of a span(A)=Rd\mathrm{span}(\mathcal{A}) = \mathbb{R}^d9 matrix a(i)a(i)0, with each row indicating a subset whose arm vectors are summed. The algorithm itself uses precisely such subset-sums.

Decodability follows from linearity. If Leah previously observed coded rewards for subsets a(i)a(i)1 and a(i)a(i)2, and then observes the coded reward of a(i)a(i)3, subtraction yields the reward sum over the missing component: a(i)a(i)4 By recursively organizing subsets in a binary tree, Leah can isolate the contribution of a single arm through a sequence of such differences. The paper’s decoding lemma states that at round a(i)a(i)5, each decoded reward for an original arm is a sparse linear combination of at most a(i)a(i)6 coded rewards, and the effective noise variance is

a(i)a(i)7

The coding structure is hierarchical rather than arbitrary. In round a(i)a(i)8, the algorithm forms a multiset a(i)a(i)9 of subsets of size dd0, with the number of coded arms equal to the number of active arms in that round. The subsets are built by random pairwise unions from the previous round so that each arm in the maintained pool participates symmetrically. This symmetry is the mechanism used to hide Leah’s preferences from Chloe (Cohen et al., 25 Jul 2025).

A common misconception would be to treat coded arms as cryptographic objects. The paper explicitly states the opposite: the algorithm does not require any key or cryptographic primitives. Security comes from equalized observable frequencies and from the fact that decoding occurs internally using rewards Chloe never sees.

4. Multi-round secure best-arm identification with coded arms

Algorithm 1 mirrors OD-LinBAI’s multi-round elimination structure but replaces direct pulls in rounds dd1 with coded pulls. For simplicity, the presentation assumes dd2 is a power of dd3, so the number of rounds is

dd4

The per-round budget parameter is chosen as

dd5

following the same allocation logic used in Yang and Tan’s analysis (Cohen et al., 25 Jul 2025).

Round 1 is uncoded. Leah computes a G-optimal design dd6 over dd7, lets

dd8

plays each arm in the support of dd9 exactly θRd\theta^* \in \mathbb{R}^d0 times, and forms

θRd\theta^* \in \mathbb{R}^d1

She then estimates

θRd\theta^* \in \mathbb{R}^d2

for all θRd\theta^* \in \mathbb{R}^d3, keeps the top θRd\theta^* \in \mathbb{R}^d4 arms as θRd\theta^* \in \mathbb{R}^d5, and selects an additional set θRd\theta^* \in \mathbb{R}^d6 of θRd\theta^* \in \mathbb{R}^d7 dummy arms from θRd\theta^* \in \mathbb{R}^d8. The multiset

θRd\theta^* \in \mathbb{R}^d9

therefore contains tt0 singleton subsets. This step is crucial: from this point onward, all arms in tt1 will be used with exactly the same frequency across coded rounds (Cohen et al., 25 Jul 2025).

For each subsequent round tt2, Leah computes a G-optimal design tt3 over the current active set tt4, sets

tt5

and constructs tt6 by random unions of subsets in tt7. The family tt8 contains tt9 subsets, each of size ata_t0, and each arm in ata_t1 appears in exactly one subset of ata_t2. For each active arm ata_t3, Leah defines the coded arm

ata_t4

where ata_t5 is the unique subset containing ata_t6.

When a coded arm is played, Leah applies the recursive Decode procedure to obtain a virtual uncoded reward

ata_t7

Using the collection of decoded virtual pulls, she forms

ata_t8

estimates

ata_t9

computes atARda_t \in \mathcal{A} \subset \mathbb{R}^d00, and eliminates all but the top atARda_t \in \mathcal{A} \subset \mathbb{R}^d01 arms. After round atARda_t \in \mathcal{A} \subset \mathbb{R}^d02, the single remaining arm is output as atARda_t \in \mathcal{A} \subset \mathbb{R}^d03 (Cohen et al., 25 Jul 2025).

5. Security mechanism and equivocation guarantee

Chloe observes the coded-arm sequence, including time indices, and in round 1 also sees the uncoded G-optimal design over at most atARda_t \in \mathcal{A} \subset \mathbb{R}^d04 arms. She does not observe rewards atARda_t \in \mathcal{A} \subset \mathbb{R}^d05, decoded virtual rewards, or internal estimates. The security argument is therefore based entirely on the symmetry of the observable arm-use pattern (Cohen et al., 25 Jul 2025).

From round 2 onward, all atARda_t \in \mathcal{A} \subset \mathbb{R}^d06 arms in atARda_t \in \mathcal{A} \subset \mathbb{R}^d07 and all atARda_t \in \mathcal{A} \subset \mathbb{R}^d08 dummy arms in atARda_t \in \mathcal{A} \subset \mathbb{R}^d09 are used with exactly the same frequency in coded arms. In each round, the subset family atARda_t \in \mathcal{A} \subset \mathbb{R}^d10 partitions these atARda_t \in \mathcal{A} \subset \mathbb{R}^d11 arms into equal-size subsets, and the coding structure is symmetric across the entire pool. Leah continues to eliminate arms internally using decoded rewards, but Chloe cannot see the decoding layer. Consequently, arms that remain serious candidates for Leah and dummy arms that are merely frequency-balancing devices are observationally indistinguishable.

Lemma 3 in the paper states that Algorithm 1 achieves equivocation atARda_t \in \mathcal{A} \subset \mathbb{R}^d12. Equivalently, with probability at least atARda_t \in \mathcal{A} \subset \mathbb{R}^d13, Chloe must output a set of size at least atARda_t \in \mathcal{A} \subset \mathbb{R}^d14 if she wants it to contain the best arm with the required probability, so

atARda_t \in \mathcal{A} \subset \mathbb{R}^d15

The analysis is combinatorial and symmetry-based rather than information-theoretic: the paper does not frame the guarantee in terms of mutual information or differential privacy. Instead, the claim is that the action sequence alone does not allow Chloe to distinguish which members of the size-atARda_t \in \mathcal{A} \subset \mathbb{R}^d16 protected pool are truly promising (Cohen et al., 25 Jul 2025).

This security notion is operationally strong within its observational model. Even if Leah’s own error probability becomes exponentially small with growing atARda_t \in \mathcal{A} \subset \mathbb{R}^d17, Chloe’s uncertainty need not collapse correspondingly, because the action frequencies remain intentionally non-diagnostic.

6. Error exponent, sources of loss, and scope of the method

The main theorem states that under Gaussian noise of variance atARda_t \in \mathcal{A} \subset \mathbb{R}^d18, Algorithm 1 both satisfies the security constraint and achieves

atARda_t \in \mathcal{A} \subset \mathbb{R}^d19

Relative to OD-LinBAI’s

atARda_t \in \mathcal{A} \subset \mathbb{R}^d20

the coded-arm method loses one additional factor of atARda_t \in \mathcal{A} \subset \mathbb{R}^d21 in the denominator, but it is much better than the naive secure exponent

atARda_t \in \mathcal{A} \subset \mathbb{R}^d22

(Cohen et al., 25 Jul 2025).

The extra atARda_t \in \mathcal{A} \subset \mathbb{R}^d23 factor has two stated sources. First, the multi-round structure already distributes the budget across atARda_t \in \mathcal{A} \subset \mathbb{R}^d24 rounds. Second, decoding increases effective noise. At round atARda_t \in \mathcal{A} \subset \mathbb{R}^d25, the decoded reward of an arm is a linear combination of at most atARda_t \in \mathcal{A} \subset \mathbb{R}^d26 coded measurements, with

atARda_t \in \mathcal{A} \subset \mathbb{R}^d27

Because decoded rewards share underlying coded-arm noises, the effective noise terms are not independent. If atARda_t \in \mathcal{A} \subset \mathbb{R}^d28 denotes their covariance matrix, then the paper bounds

atARda_t \in \mathcal{A} \subset \mathbb{R}^d29

This yields the concentration inequality

atARda_t \in \mathcal{A} \subset \mathbb{R}^d30

which replaces the standard factor atARda_t \in \mathcal{A} \subset \mathbb{R}^d31 with atARda_t \in \mathcal{A} \subset \mathbb{R}^d32. Plugging this into the OD-LinBAI-style elimination analysis produces the atARda_t \in \mathcal{A} \subset \mathbb{R}^d33 denominator in the final exponent (Cohen et al., 25 Jul 2025).

The assumptions are specific. The linear reward model must be exact; atARda_t \in \mathcal{A} \subset \mathbb{R}^d34; atARda_t \in \mathcal{A} \subset \mathbb{R}^d35 is assumed known and, for simplicity, a power of atARda_t \in \mathcal{A} \subset \mathbb{R}^d36; and the horizon atARda_t \in \mathcal{A} \subset \mathbb{R}^d37 is known in advance so that atARda_t \in \mathcal{A} \subset \mathbb{R}^d38 can be set. The coding structure and G-optimal designs are computed offline, and the paper does not discuss computational complexity or scalability for very large atARda_t \in \mathcal{A} \subset \mathbb{R}^d39. The method is tailored to linear bandits: extending it to generalized linear models or non-linear reward mappings is explicitly described as nontrivial because the decoding procedure relies heavily on linearity of expectations (Cohen et al., 25 Jul 2025).

The broader significance of coded arms is therefore precise rather than generic. They are not merely compressed measurements of arm rewards; they are a specific hierarchical subset-sum construction that allows Leah to run a near-optimal elimination procedure in a hidden layer while ensuring that all potentially best arms appear equally often in the observable play sequence. A plausible implication is that the method identifies an intermediate regime between statistical optimality and full non-adaptivity: security is obtained without cryptographic primitives, but only by exploiting the structure of linear bandits and by paying a logarithmic penalty in the error exponent.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Coded Arms.