I have a Markov kernel $Q$ from which I would like to generate proposals for the Metropolis-Hastings algorithm. The problem is: When the proposal is accepted, the "internal state" of $Q$ changes. This means that if proposals $y_1,\ldots,y_n$ are accepted, the internal state of $Q$ depends on $y_1,\ldots,y_n$. I know, this means that we cannot use $Q$ as a proposal kernel for the Metropolis-Hastings algorithm.
However, my simple solution to that problem is the following: Before the first sample is accepted, the state of $Q$ does not change. Now, I simply run the Metropolis-Hastings algorithm with proposal kernel $Q$ until the first proposal is accepted. Then I stop. Then I start the Metropolis-Hastings algorithm again, but with the different proposal kernel given by the modified kernel $Q$.
Is this process still guaranteed to work? Are the accepted samples distributed according to the target density after a sufficient long period of time?
EDIT:
I think we can describe the algorithm I've got in mind as follows:
- Let $E$ be the state space and $Q_k$ be a Markov kernel with source $E^k$ and target $E$
- Start with any $x_0\in E$
- Run Metropolis-Hastings with initial state $x_0$ and proposal kernel $Q_1$ for a single iteration
- Let $y_1\in E$ denote the proposed sample and $x_2\in E$ the state after the iteration (So, $x_1=y_1$ if the proposal was accepted and $x_1=x_0$ otherwise)
- Now run Metropolis-Hastings with initial state $x_1$ and proposal kernel $Q_2(x_0,y_1,\;\cdot\;)$ (remark: I'm unsure whether it wouldn't be better to replace this with $Q_2(x_0,x_1,\;\cdot\;)$)
- and so on ...
It would be interesting to know whether - under certain assumptions on $Q_1,Q_2,\ldots$ - the samples $x_b,x_{b+1},\ldots$ are still distributed according to the target density for sufficiently large $b$.
EDIT 2
You can assume that $Q_k(x_1,\ldots,x_k;\;\cdot\;)$ has density $$q_k(x_1,\ldots,x_k;\;\cdot\;):=e^{-\beta f_k(x_1,\ldots,x_k;\;\cdot\;)}$$ with respect to the Lebesgue measure on $[0,1)^d$, where $f_k(x_1,\ldots,x_k;\;\cdot\;)$ is nonnegative. Also: The $Q_i$ are constructed in a way so that at the last iteration $k_{\text{max}}$, we have $f_{k_{\text{max}}}(x_1,\ldots,x_{k_{\text{max}}})=0$. So, the sequence $Q_1,\ldots,Q_{k_{\text{max}}}$ somehow converges; maybe this is enough to show that everything works.