arXiv:2608.27419cs.GTAug 2026

Manuscript Offprint

arXiv:2608.27419

Algorithms for Robbins' Problem using Markov Decision Processes

Léonard Brice, F. Thomas Bruss, Anirban Majumdar, Jean-François Raskin

Léonard Brice 1^{1}, F. Thomas Bruss 2^{2}, Anirban Majumdar 3^{3}, and Jean-François Raskin 2^{2}

1^{1} Institute of Science and Technology Austria, Klosterneuburg, Austria

leonard.brice@ista.ac.at

2^{2} Université Libre de Bruxelles, Bruxelles, Belgium

{thomas.bruss, jean-francois.raskin}@ulb.be

3^{3} Tata Institute of Fundamental Research, Mumbai, India

anirban.majumdar@tifr.res.in

Abstract. In this paper, we consider Robbins' problem, which is a full information variant of the well-known secretary selection problem. In this version of the problem, the goal is to minimize the expected rank of the selected candidate among nn that are interviewed sequentially, and a decision to select or not the mthm^{th} candidate needs to be taken right after the interview (so without seeing the last n−mn - m candidates and without recall). We first show how to model instances of Robbins' problem as infinite Markov Decision Processes (MDPs). Then we propose several finite-state abstractions of these MDPs that allow us to approximate the value of the problem for fixed nn. While it is known that the full memory of past candidates' values is necessary for optimal expected rank minimization, making the analysis of the problem challenging, we highlight simple memory structures that are sufficient for obtaining near-optimal selection strategies. Additionally, we provide approximate values for Robbins' problem for numbers of candidates nn up to 100 for which no good approximations were previously known (the exact value is only known for instances where n≤4n \leq 4 and numerical approximations were for small values of nn not exceeding one digit), for all n:5≤n≤100n : 5 \leq n \leq 100, we give better approximation than what was previously known.

Keywords: Robbins' problem · Secretary problem · Markov decision Processes

1 Introduction

Imagine the high-stakes world of professional cycling, where a director of a top-tier team is on the hunt for the perfect new team member. There are a known number n of candidates, and the director must interview them one by one. During the interview, the director asks questions about the candidate's weight, FTP

∗^{*} This work was primarily conducted when Dr. Anirban Majumdar was a post-doctoral researcher at ULB, and Dr. Léonard Brice was a doctoral student at ULB.

Brice, Bruss, Majumdar and Raskin

number (Joost-Pieter Katoen, to whom this paper is dedicated, will know what this acronym means), VO2maxVO_{2}max value, and more. The director is exceptionally precise and has a function that maps the candidate's skills and attributes to the interval [0,1)[0,1), and this function returns small values for the best cyclists, and it allows to compare the cyclists in a fine-grained way 4^{4}. For example, this allows him to rank the current candidate against all previous ones, and as a specialist (the best candidate having rank 1, and the worst one having rank n), he also knows the probability distribution of these values among the set of candidates being interviewed as they are assumed to be randomly taken from a set of cyclists with world tour level.

Because other teams are also looking for the best cyclists, after each interview, the director must make an immediate decision about whether to hire the cyclist and add this candidate to his team, with no opportunity for second-guessing. Furthermore, if the first n−1n-1 candidates are rejected, the director is obliged to hire the last one.

The challenge is to devise a selection strategy that minimizes the expected rank of the selected cyclist among the n cyclists that he may potentially interview. In essence, how can the director ensure he is getting the best possible additional team member based on the candidate's rank in expectation among the n cyclists that he can review? And for the more mathematically oriented director (like Joost-Pieter Katoen would be), he might intriguingly ask: what is the limiting value of this expected rank as the number of candidates becomes large, i.e., tends to infinite?

The problem that we sketched above not only tests the director’s decision-making skills, but also his ability to strategize under pressure, ensuring the team gets a top-notch cyclist who can help them race to victory. This is a variant of the secretary selection problem (the fourth variant [3]), and it is also known as Robbins’ problem. It still remains open to find an optimal strategy for this problem, as well as to determine the limiting value when n tends to infinity.

Robbins presented this problem at the end of his memorable talk on the International Conference on Optimal Stopping and Selection in 1990 (U. of Massachusetts). It is deep and an easy-to-describe representative of a whole class of problems in Probability Theory, which attract interest for several reasons. This is the class of problems of full history-dependence. Before formally defining Robbins' problem, let us intuitively explain the notion of a strategy on the previous example of selecting the best cyclist.

Here we could assume that the director will apply the following strategy: when interviewing the ii-th candidate (with 1≤i≤n1 \leq i \leq n), if the measure of the candidate is less than or equal to 2/n−i+22/n - i + 2, then select that candidate. The above strategy is an instance of a more general class of strategies σnc\sigma_n^c: select the first candidate whose measure is less than or equal to c/n−i+cc/n - i + c. Let us elaborate this strategy on a particular instance of the cyclist-selection problem described above.

4^{4} Candidates like M(v)DP, pun intended, would be mapped very close to 0 (best value) and should hopefully be selected by the director.

Assume that the director has 4 interviews scheduled. At the first interview, assume that the value of the candidate is 0.7. Recall that small values in [0,1)[0,1) are associated to the best cyclists, this one is rather average and as

0.7>2/4−1+2=2/5,0.7>2/4-1+2=2/5,

the director bets to see a better candidate in the remaining 3 interviews, and therefore decides to "not stop".

Now assume that the measure of the second candidate is 0.55. Again, since

0.55>2/4−2+2=2/4,0.55>2/4-2+2=2/4,

the director decides to "not stop" and wait for hopefully better candidates to come.

Finally, assume that the third candidate has measure 1/3. Since

1/3<2/4−3+2=2/3,1/3<2/4-3+2=2/3,

the team director decides to "stop" and select this candidate.

Let us note a few remarks. First, let us note that, by stopping now, the director chooses the best candidate seen so far (in this example), so the candidate's relative rank is 1. However, the team director has not seen the last candidate, and hence, the right question to ask is the following: what is the expected rank of the selected (3rd) candidate knowing that the last candidate is taken uniformly at random from [0, 1). According to that, the probability that the last candidate is better than the selected one is 1/3 (in that case, the absolute rank, or simply, rank of the selected candidate is 2), and the probability that it is worse than the selected one is 2/3 (in that case, the rank of the selected candidate is 1). Therefore, the expected rank of the selected candidate is:

1/3.2+2/3.1=4/3=1.33.1/3.2+2/3.1=4/3=1.33.

Now, let us take the time here to note that it is also mathematically relevant to ask the following question: what is the expected rank of the candidate selected by the strategy σnc=2\sigma_n^{c=2}. Further, one can also ask how this expected rank evolve as n→∞n \to \infty. Both of these problems for the class of strategies σnc\sigma_n^c have been studied in details in the paper [5]. We also note that the straightforward strategy described above does not utilize the entire history of the values of the candidates observed so far. Consequently, this strategy cannot be optimal regardless of the value of cc, since, as shown in [6], an optimal strategy for the Robbins' problem needs to fully depend on the history of the measure of the candidates seen so far.

We now formally define the Robbins' problem and the relevant notations.

Definition of Robbins' problem. Let n∈Nn \in \mathbb{N} be a fixed natural number, and let X1,X2,⋯ ,XnX_1, X_2, \cdots, X_n be independent and identically distributed (i.i.d.) random variables uniform on [0,1)[0, 1). We can observe them sequentially, i.e., in the order X1,X2,⋯X_1, X_2, \cdots, and we must select exactly one of them. A selection is only possible

Brice, Bruss, Majumdar and Raskin

at the time of observation, and if XmX_m is selected, then the decision is irrevocable and the game is finished. At step nn we see the whole picture, and if we have selected XmX_m, with 1≤m≤n1 \leq m \leq n, then we occur the loss

Lm=∑j=1n1{Xj≤Xm},(1)L_{m}=\sum_{j=1}^{n}\mathbb{1}\{X_{j}\leq X_{m}\}, \tag{1}

where 1{A}\mathbb{1}\{A\} is the indicator function of the event AA, formally: 1{x}=1\mathbb{1}\{x\} = 1 if x∈Ax \in A, and otherwise 1{x}=0\mathbb{1}\{x\} = 0.

In other words, if we denote the increasing order statistics of the XjX_{j} by

X1,n≤X2,n≤⋯≤Xn,n(2)X_{1,n}\leq X_{2,n}\leq\cdots\leq X_{n,n} \tag{2}

and if we have chosen X=Xj,nX = X_{j,n}, then our loss is j.

Note that we see the values and not only their relative ranks, but the loss is the rank of the accepted observation! At time n, the random variable LmL_m becomes deterministic, taking as value the final rank of XmX_m among the whole sample X1,X2,⋯ ,XnX_1, X_2, \cdots, X_n. If we must choose exactly one variable, what sequential strategy will minimize the expected loss? 5^{5}

A strategy σn\sigma_n, for a fixed n∈Nn \in \mathbb{N}, is a function that, given a sequence of numbers from [0,1)[0,1) of length less than or equal to nn, decides to accept the last value (or, to continue) using STOP (resp., ¬\negSTOP), with the additional condition that σn\sigma_n must accept exactly one number along all possible nn-length sequences. Formally,

σn:[0,1)≤n→{STOP,¬STOP},\sigma_{n}:[0,1)^{\leq n}\to\{\mathrm{S T O P},\neg\mathrm{S T O P}\},

such that ∀x1,…,xn∈[0,1)n\forall x_1, \ldots, x_n \in [0,1)^n: ∃j≤n:σ(x1…xj)=STOP\exists j \leq n : \sigma(x_1 \ldots x_j) = \text{STOP}; and for all j′<jj' < j, σ(x1…xj′)=¬STOP\sigma(x_1 \ldots x_{j'}) = \neg \text{STOP}. A solution of Robbins' problem is then an optimal strategy σn∗\sigma_n^* that minimizes the expected loss:

Eσn∗(L)=inf⁡σnEσn(L)=vn.\mathbb{E}^{\sigma_{n}^{*}}(L)=\inf_{\sigma_{n}}\mathbb{E}^{\sigma_{n}}(L)=v_{n}.

We also note that solving Robbins' problem for the uniform distribution will also mean solving it for any absolute continuous distribution FF. Indeed, then we have a one-to-one correspondence between X1,⋯ ,XnX_1, \cdots, X_n and F(X1),⋯ ,F(Xn)F(X_1), \cdots, F(X_n). Since P(F(X)≤y)=P(X≤F−1(y))\mathbb{P}(F(X) \leq y) = \mathbb{P}(X \leq F^{-1}(y)), and the latter follows the distribution function FF, it equals F(F−1(y))=yF(F^{-1}(y)) = y, i.e., F(X)F(X) is uniform on [0,1)[0,1).

The challenge of Robbins’ problem as a secretary problem. We briefly explain why Robbins’ problem stands out in the class of so-called secretary problems. The overall probably best-known optimal stopping problem is the so-called (classical) secretary problem, or "first" secretary problem. This is to maximize the probability of selecting with a single choice, with no recall of

5^{5} Robbins announced this problem by saying “Finally, here is the problem which I’d like to see solved before I die”. Robbins’ wish did not realize. He died February 12th, 2001, and unfortunately the main part of the problem is still open today.

preceding observations and with rank information, the "best" rank (rank one) from a sequence of n uniquely rankable objects. Its solution was published in [14]. The same problem with full information (i.e., the values and not only their ranks could be observed) was solved in [11]. Minimizing the expected rank under rank information was proved to be harder, and was completely solved in [8]. The same problem under full information is the fourth secretary problem, rounding up this two-by-two design of optimization problems, and this is Robbins' problem. We know that its full solution is open, so the "fourth" problem already presents a particular challenge in the class of secretary problems.

Known results for Robbins' problem. Since for each n, we need only to take n decisions, by backward induction principle, for each n, an optimal strategy must exist. Let vnv_n denote the corresponding optimal value, i.e., the minimal expected (final) rank.

The following results ((i) to (iv)) are proved in [5,8,1].

(i) vnv_{n} is increasing in n.

(ii) The sequence (vn)(v_n) is bounded below (trivially by L=1L = 1) and bounded above by another known value from a related problem studied in [8], which is 3.869⋯3.869 \cdots. This is one of the variants of the secretary problem (as described in the previous paragraph), where only the rank of the new draw within the current history is revealed and not the exact value. Since seeing the numerical values of the random variables allows us to rank them, obtaining the numerical values provides at least as much information as rank information. Therefore, one cannot achieve better results with rank information than by seeing the XjX_j. The optimal expected rank for rank information is v~=3.869⋯\tilde{v} = 3.869 \cdots, which is the upper bound mentioned above. As a direct consequence, the following limit is known to exist:

v~=lim⁡n→∞v~nexistsandv=lim⁡n→∞vn≤v~,(3)\tilde{v}=\lim_{n\to\infty}\tilde{v}_{n}\quad exists and\quad v=\lim_{n\to\infty}v_{n}\leq\tilde{v}, \tag{3}

where v~n\tilde{v}_{n} denotes the optimal value for n draws under rank-information. Note that the same reasoning applies to obtain an upper bound using memoryless strategies. This approach is summarized in the next paragraph.

(iii) Smaller XmX_m have smaller ranks. Hence, it is intuitive that the values XmX_m and the corresponding final ranks LmL_m (which will be known at time nn only) should be positively correlated. Recall that correlation is a measure of dependence of one random variable of another one. We can compute it and obtain ([5], (1.6) - (1.8)):

asn→∞,∀1≤m≤n:corr(Xm,Lm)=n−1n+1→1.(4)as n\to\infty,\forall1\leq m\leq n:corr(X_{m},L_{m})=\sqrt{\frac{n-1}{n+1}}\to1. \tag{4}

The strong positive correlation described in Equation 4 suggests proposing a strategy by just looking at time m at the observed value XmX_m and to select it if and only if XmX_m is smaller or equal to some threshold φ(X1,⋯ ,Xm−1;Xm;n)\varphi(X_1, \cdots, X_{m-1}; X_m; n).

Brice, Bruss, Majumdar and Raskin

This is a threshold strategy. If, moreover, we ignore at each step mm all preceding values X1,⋯ ,Xm−1X_1, \cdots, X_{m-1}, then we speak of a memoryless threshold strategy6^{6}, or in short mlml-strategy. We denote the optimal value obtainable for nn observations in this restrained class by v‾n\overline{v}_n. This strong positive correlation of the values X1,X2,⋯ ,XnX_1, X_2, \cdots, X_n and their corresponding absolute ranks can be exploited to define a pattern of memoryless threshold strategies. The precise optimal memoryless strategy is complicated to compute (see [1]); however, it is known that a threshold strategy using the threshold function φ(n,m)=cn−m+c\varphi(n, m) = \frac{c}{n-m+c}, i.e., the mthm^{th} is accepted if this draw is less than or equal to cn−m+c\frac{c}{n-m+c}, with c=1.9469⋯c = 1.9469 \cdots yields a good approximation. The upper bound obtained with this memoryless strategy is equal to 2.3318⋯2.3318 \cdots when nn tends to infinity. So this improves the upper bound that we obtain with v~\tilde{v}. It is however important to note that it was shown that the memoryless optimal strategy can always be improved, see e.g., [15]. However, so far nobody has proved that the improvement will not disappear as n→∞n \to \infty. The author in [12] studied a related problem, namely Poisson embedded Robbins' problem, in which the optimal limiting strategy is indeed not a memoryless threshold strategy.

(iv) Lower bounds of different levels for vnv_n, and thus for vv can be obtained by a truncation argument (see [5, Section 4]). We say we truncate the loss at level jj with 1≤j≤n1 \leq j \leq n, j∈Nj \in \mathbb{N}, if the loss generated by XmX_m is defined to be equal to min⁡{j,Lm}\min\{j, L_m\}. Therefore, clearly,

∀1≤j≤n:vn(j)≤vn.(5)\forall1\leq j\leq n:v_{n}(j)\leq v_{n}. \tag{5}

Truncating at the level j=5j = 5, the authors in [5] obtained the lower bound L≈1.908L \approx 1.908.

Intrinsic difficulties of Robbins’ problem. We seemingly cannot compute vnv_n for large nn as we do not know the optimal strategy in general. It is trivial for n=1n = 1, almost trivial for n=2n = 2, and still easy for n=3n = 3, but that’s it as far as we can say "easy". The problem is that the optimal strategy is fully history dependent, which means that the optimal strategy depends at each step mm on the complete preceding cloud of values X1,X2,⋯ ,Xm−1X_1, X_2, \cdots, X_{m-1}. The order in which the points arrived is irrelevant. This is why it is the "cloud" {X1,X2,⋯ ,Xm−1}\{X_1, X_2, \cdots, X_{m-1}\} of the history which counts. The full history dependence is proved in [6].

From a decision-theoretical point of view, the interpretation of full history-dependence is as follows. There is no sufficient statistic for optimal decisions other than the whole history itself, that is, the cloud of all points in [0,1)[0,1) seen so far. This is not necessarily a serious problem for classes of problems where the influence of the history on the currently observed process can be shown to become irrelevant sufficiently quickly. However, Robbins' problem is a representative in

6^{6} In the community of applied probability, where Robbins’ problem originates, such strategies are referred to as memoryless threshold strategies. However, in the Formal Methods community, we refer to them as counting strategies, as the threshold used depends on the round number.

the class of fully history-dependent problems where this asymptotic irrelevance is not clear.

To understand the difficulty to compute the optimal strategy for n points and the corresponding value vnv_n precisely, we refer to Figure 1-Figure 4 of [10]. The authors of [10] coped with the challenge to solve the problem precisely for n = 4. Their graphs for the composed acceptance regions of the corresponding optimal strategy are complicated and do not show an easy structure.

The idea to compute, for larger n, the vnv_n by the truncation method, described in (iv) of Section 1, is seemingly hopeless. As shown in [5], the storage demands to implement the truncation method increases exponentially in both the number n and the truncation level j. Under the hypothesis that the capacity of computers increases exponentially, this is far away from the double-exponential growth we would need.

These combined difficulties may explain why many authors have stopped working on Robbins’ problem. Indeed, not much was contributed to Robbins’ problem after the nineties.

In a recent paper [4], several aspects of this full history dependence, as well as their implications, are investigated in detail. The author concludes that the intricacies of the problem require a new approach and argues that deep learning is, for several reasons, a promising candidate for this goal. However, the paper does not contain a concrete description of the architecture of a suitable neural network. This contrasts our present paper essentially, because our approach, based on Markov decision processes, is concrete throughout, and enables us to obtain new values of Robbins' problem for a range of interesting n.

Contributions. In this paper, we consider several abstractions of Robbins' problem that lead to finite MDPs solvable with algorithms based on backward induction, as implemented in tools like STORM [9]. Note that, if we consider the clouds simply as the successive states of the decision process, then this sequence indeed forms an MDP. These finite MDPs are useful for at least two purposes. First, when n is fixed, they allow us to compute an upper bound of the value vnv_n. We will demonstrate in the experimental section that the upper bounds obtained this way are better than the currently known upper bounds, which are derived from memoryless strategies. Second, by solving the underlying MDPs, we obtain strategies that can be practically implemented and whose performances surpass those of the previously known memoryless strategies. Furthermore, from these abstractions, we will highlight some properties that are crucial in the history for playing a good strategy.

Discretization. The first abstraction is a straightforward discretization of the problem: we partition the interval [0,1)[0,1) in d∈Nd \in \mathbb{N} intervals of length 1d\frac{1}{d} and we abstract the draws by the interval in which they fall, and histories by counting how many draws landed in each interval. We show that for a fixed nn, when dd tends to infinity, this approximation scheme is giving the value vnv_n. The number of states of the underlying MDP increase proportionally in the number of draws and the number of possible histories of draws, the latter is given by the binomial

Brice, Bruss, Majumdar and Raskin

coefficient (n+d−1n)\binom{n+d-1}{n}. As a consequence, this abstraction can be used only to approach the optimal value vnv_n for small values of nn and dd. Still, this MDP can be used to closely approximate vnv_n for values of nn for which no good approximations were known so far. We report on this in the experiments section of the paper.

Note that, (n+d−1n)\binom{n+d-1}{n} corresponds to the number of possibilities to place, without constraints, nn balls in dd places. If we limit our interest to single occupations (i.e., conflict-free) only, the number becomes (dn)\binom{d}{n}. Then it is easy to see that (dn)/(n+d−1n)→1\binom{d}{n}/\binom{n+d-1}{n} \to 1 as dd goes to infinity. In other words, as dd grows, the non-conflict probability tends to 1. This argument can be used to show that this simple abstraction scheme preserves the limit value (see Theorem 2).

Limiting the history. In the second abstraction, we limit the histories, and so the memory, in the following way: instead of remembering the number of draws that fall into every interval in the history, we only consider the intervals of the kk best previous draws. This results in an MDP whose size is bounded by O(n⋅dk+1)\mathcal{O}(n \cdot d^{k+1}). While this MDP only achieves the precision of the first approach when k=nk = n, we observe experimentally that the value obtained using this MDP, which is proven to over-approximate the true value of Robbins' problem, is close to the value computed with the first MDP even for small values of kk (e.g., k=2k = 2 or k=3k = 3). This implies that remembering only the values of the kk best previous candidates allows us to devise a good strategy for stopping on a candidate with a small expected rank.

Handling the bad draws carefully. In the third abstraction, we limit the way we record bad draws. In the finite-state MDP that keeps track of the k-best draws seen so far, defined in Section 4, the number of states grows as O(n⋅dk+1)\mathcal{O}(n \cdot d^{k+1}), making it difficult to consider large values for dd. As nn grows, dd must also be reasonably large to approximate vnv_n sufficiently well. Otherwise, the probability of conflicts in histories increases, reducing precision. Therefore, computing the value for the underlying MDP may become infeasible. However, if we remember the kk best draws, it is likely that the values in memory are "good candidates" (i.e., in [0,l)[0, l)). For instance, if we remember the k=2k = 2 best draws and have seen jj draws taken uniformly at random, the probability that one is above ll becomes very small when jj is growing. Thus, for large nn, it is reasonable to remember only the exact interval of the "good candidates" seen so far. Our next abstraction uses a non-uniform partitioning of [0,1)[0, 1), with a precise partitioning for [0,l)[0, l) into intervals of size 1d\frac{1}{d}, and only one interval for candidates in [l,1)[l, 1). This reduces the number of states of the MDP to O(n⋅lk+1)\mathcal{O}(n \cdot l^{k+1}). In Section 6, we will report on values for several choices of ll, showing that, in practice, as nn grows, a relatively smaller ll suffices for a reasonable approximation of the value vnv_n.

Structure of the paper. In Section 2, we introduce the necessary preliminaries. In Section 3, we present the MDP of the first abstraction, which discretizes the interval [0,1)[0,1) into intervals of length 1d\frac{1}{d}. In Section 4, we introduce the second abstraction and its MDP formalization, in which only the interval of the k best candidates are memorized in the history. In Section 5, comes the third abstraction, in which only the interval of good candidates (those whose value is less than l) are precisely recorded. In Section 6, we present experimental results. In Section 7, we draw conclusions and hint on possible future works.

Missing proofs can be found in Appendix A. All values for n = 1 to 100 with d = 500, 1000 and k = 2, and for the memoryless strategy of [1] are also reported in Appendix A.