Random kSAT
Pick a random instance of 3SAT by picking at random $m$ of the possible $8 {n\choose 3}$ clauses that can be constructed over $n$ variables. It is easy to see that if one sets $m=cn$, for a sufficiently large constant $c$, then the formula will be unsatisfiable with very high probability (at least $1-2^n \cdot (7/8)^m$), and it is also possible (but less easy) to see that if $c$ is a sufficiently small constant, then the formula is satisfiable with very high probability.
A number of questions come to mind:
A number of questions come to mind:
- If I plot, for large $n$, the probability that a random 3SAT formula with $n$ variables and $cn$ clauses is satisfiable, against the density $c$, what does the graph look like? We just said the probability is going to be close to 1 for small $c$ and close to $0$ for large $c$, but does it go down smoothly or sharply?
Here the conjecture, supported by experimental evidence, is that the graph looks like a step function: that there is a constant $c_3$ such that the probability of satisfiability is $1-o_n(1)$ for density $< c_3$ and it is $o_n(1)$ for density $>c_3$. A similar behavior is conjectured for kSAT for all $k$, with the threshold value $c_k$ being dependent on $k$.
Friedgut proved a result that comes quite close to establishing the conjecture.
For, say, 3SAT, the statement of the conjecture is that there is a value $c_3$ such that for every interval size $\epsilon$, every confidence $\delta$ and every sufficiently large $n$, if you pick a 3SAT formula with $(c_3+\epsilon)n$ clauses and $n$ variables, the probability of satisfiability is at most $\delta$, but if you pick a formula with $(c_3-\epsilon)n$ clauses then the probability of satisfiability is at least $1-\delta$.
Friedgut proved that for every $n$ there is a density $c_{3,n}$, such that for every interval size $\epsilon$, every confidence $\delta$ and every sufficiently large $n$, if you pick a 3SAT formula with $(c_{3,n}+\epsilon)n$ clauses and $n$ variables, the probability of satisfiability is at most $\delta$, but if you pick a formula with $(c_{3,n}-\epsilon)n$ clauses then the probability of satisfiability is at least $1-\delta$.
So, for larger and larger $n$, the graph of proability of satisfiability versus density does look more and more like a step function, but Friedgut's proof does not guarantee that the location of the step stays the same. Of course the location is not going to move, but nobody has been able to prove that yet.
Semi-rigorous methods (by which I mean, methods where you make things up as you go along) from statistical physics predict the truth of the conjecture and predict a specific value for $c_3$ (and for $c_k$ for each $k$) that agrees with experiments. It remains a long-term challenge to turn these arguments into a rigorous proof.
For large $k$, work by Achlioptas, Moore, and Peres shows almost matching upper and lower bounds on $c_k$ by a second moment approach. They show that if you pick a random kSAT formula for large $k$ the variance of the number of satisfying assignments of the formula is quite small, and so the formula is likely to be unsatisfiable when the average number of assignments is close to zero (which actually just follows from Markov's inequality), but also the formula is likely to be satisfiable when the average number of assignments is large. Their methods, however, do not improve previous results for 3SAT. Indeed, it is known that the variance is quite large for 3SAT, and the conjectured location of $c_3$ is not the place where the average number of assignments goes from being small to being large. (The conjectured value of $c_3$ is smaller.) - Pick a random formula with a density that makes it very likely that the formula is satisfiable: is this a distribution of inputs that makes 3SAT hard-on-average?
Before addressing the question we need to better specify what we mean by hard-on-average (and, complementarily, easy-on-average) in this case. For example, the algorithm that always says "satisfiable" works quite well; over the random choice of the formula, the error probability of the algorithm is extremely small. In such settings, however, what one would like from an algorithm is to produce an actual satisfying assignment. So far, all known lower bounds for $c_3$ are algorithmic, so in the density range in which we rigorously know that a random 3SAT formula is likely to be satisfiable we also know how to produce, with high probability, a satisfying assignment in polynomial time. The results for large $k$, however, are non-constructive and it remains an open question to match them with an algorithmic approach.
The statistical physics methods that suggest the existence of sharp thresholds also inspired an algorithm (the survey propagation algorithm) that, in experiments, efficiently finds satisfying assignments in the full range of density in which 3SAT formulas are believed to be satisfiable with high probability. It is an exciting, but very difficult, question to rigorously analyze the behavior of this algorithm. - Pick a random formula with a density that makes it very likely that the formula is unsatisfiable: is this a distribution of inputs that makes 3SAT hard-on-average?
Again, an algorithm that simply says "unsatisfiable" works with high probability. The interesting question, however, is whether there is an algorithm that efficiently and with high probability delivers certificates of unsatisfiability. (Just like the survey propagation algorithm delivers certificates of satisfiability in the density range in which they exist, or so it is conjectured.) This will be the topic of the next post.
10 Comments:
5/08/2007 09:24:00 AM
Good stuff!
5/08/2007 10:13:00 AM
Hi Luca,
Another handwavy thing that one gets from statistical physics is that "convergence to optimal is slow at phase transitions". In this context, it might suggest the following question: if we choose a constant around c_3, i.e what we believe is the transition from satisfiable to unsatisfiable, are those instances likely to be hard on average ?
5/08/2007 12:55:00 PM
That's a good question, Suresh. My feeling is that the semi-rigorous techniques work really well (somewhat mysteriously so) when you use them to analyze one specific probabilistic process. Like when one asks, is an instance drawn from this distribution satisfiable? Is this algorithm converging fast on this input distribution? And the techniques, by some kind of miracle, give you the right answer.
When it comes to questions about complexity, however, you want to know what happens for every possible algorithm, and it is dangerous to draw any conclusion based just on the behavior of one algorithm.
As I will describe in the next post, there is mounting evidence that 3SAT is hard-on-average in the unsatisfiability regime, but this is based on the accumulation of results about various, and general, classes of algorithms.
But whether or not it says something about the average-case complexity of problems, the fact (observed experimentally, semi-rigorously confirmed in many cases, and rigorously confirmed in a few cases) that the Glauber dynamic slows down precisely when there is a phase transition is very intriguing, and it is the kind of question that would probably be not even asked if it weren't for the close interaction between theoretical computer scientists and physicists.
5/09/2007 11:33:00 AM
One of the difficulties in trying to make a general connection between statistical physics notions of phase transitions and hardness on the average is that versions that are too broad are certainly incorrect. The 'amount of (dis)continuity' in the transition (known as the order of the transition) has been suggested as the indicator of hardness on the average, since 2SAT also has a phase transition on c_2 that is of a different order from that of 3SAT, but is always easy. Even this refinement is not accurate. Some NP-complete problems, such as 1-in-k-SAT have the same kind of transition as 2SAT and are hard whereas others like Hamiltonian circuit that have a phase transition like 3SAT are always easy on the average using the usual distributions. It has been suggested, though, that these are cases where the 'wrong' parameter has been chosen and that with the right parameter on which to measure the transition everything will work out.
Despite the problems with applying this approach in general, there are a number of problems where the approach has given good intuition and, with the SP algorithm for 3SAT, even has led to an algorithm that seems to work well on the average. The methods by which these intuitions are obtained are mathematically like of some form of black magic, but somehow they do yield useful conjectures.
5/14/2007 04:32:00 AM
Hi Paul,
I believe that 1-in-k SAT
is not hard on the average. You can turn the proof for the location of the phase transition into a solution finding/refutation algorithm that will work with probability 1-o(1)
(at least outside the phase transition region). Am I missing something ?
On the other hand, there exists a fairly trivial reason why exponential resolution complexity is related to a first-order jump of
a backbone-like parameter: they
are both the consequence of the
same phenomenon, the
emergence of a large unsatisfiable
subformula at the transition
(which, of course, happens for 3-SAT but not for 2-SAT). Please see (sorry for the shameless self-promotion)
http://dx.doi.org/10.1007/s10472-005-7033-2
5/14/2007 12:56:00 PM
Gabriel, doesn't the same phenomenon occur in random 3XOR?
5/15/2007 12:03:00 PM
Yes it does (if you refer to the fact that 3-XOR-SAT has a first-order transition and efficient proofs of unsatisfiability). I was only reacting to the statement about 1-in-k SAT, which went against my intuition.
The connection "order of the phase transition" and "complexity of refutation" probably doesn't go substantially beyond resolution/DPLL (since it doesn't even work for Gaussian elimination). By how much, and for what class of problems ? Descriptive complexity (for the specification of both problems and of certification algorithms, in the style of the LICS 2002 paper by Atserias) could possibly give an answer.
Anyway, what is somewhat frustrating is how little phase transitions seem to relate to standard computational complexity theory. By that I mean, for instance, that I'd like to see a "statistical physics" argument that would somehow relate (at least in a handwaving sense) some aspect of the phase transition in 3-SAT to the average-case-hardness hypothesis for that problem (in the unsatisfiable phase).
5/23/2007 11:31:00 PM
A quick comment on the slowing down of
Glauber dynamics at the SAT-UNSAT phase transition. Indeed it is conjectured that
mixing time changes from polynomial to exponential at a strictly smaller value
of the clause density c_{k,d} smaller than c_k (for k larger than 2).
This is a purely `dynamical' phase transition, that has been proved in
XORSAT on regular graphs.
11/07/2007 01:10:00 AM
doing great random posting, keep it up
7/17/2008 12:35:00 AM
her first lesbian sex -
his first gay sex -
his first huge cock -
hogtied -
hood hunter -
horny spanish flies -
hot gay porno -
interracial adult movie matrix -
interracial retreat -
inthevip -
i spy camel toe -
jordan carpi -
latin exposure -
lesbian sistas -
lesbo trick -
little april -
mature appeal -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
monsters of cock -
mr chews asian beaver -
my sex tour -
naughty allie -
naughty office -
now eighteen -
penis palooza -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
rap video auditions -
reality pass plus -
rectal rooter -
round and brown -
sexy and petite -
street blowjobs -
strictly pornstars -
supreme hardcore -
tawnee stone -
teenie video -
teen rider -
teens for cash -
teeny bopper club -
tgirl island -
the dirty old man -
the mature source -
throatjobs -
tinys black adventures -
tranny hunt -
tranny realm -
tranny surprise -
tugjobs -
twinks for cash -
we live together -
wired pussy -
xxx proposal -
18 interracial -
8th street latinas -
all internal -
all reality pass -
all sites access -
always amateur -
ass parade -
ass traffic -
awesome interracial -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big mouthfuls -
big naturals -
big tit patrol -
big tits round asses -
black bros white hoes -
black cocks white sluts -
blacks on blondes -
blind date bangers -
booty studio -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
circle jerk boys -
coeds need cash -
college fuckfest -
creampie surprise -
cum covered glasses -
cumfiesta -
dangerous dongs -
ebony candy -
ebony dymes -
euro sex parties -
exploited black teens -
exploited moms -
first time auditions -
fisting lessons -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
give me pink -
gloryhole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
his first huge cock -
hogtied -
hood hunter -
horny spanish flies -
hot gay porno -
interracial adult movie matrix -
interracial retreat -
inthevip -
i spy camel toe -
jordan capri -
latin exposure -
lesbian sistas -
lesbo trick -
little april -
mature appeal -
midwest mandy -
mike in brazil -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
monsters of cock -
mr chews asian beaver -
my sex tour -
naughty allie -
naughty office -
now eighteen -
penis palooza -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
rap video auditions -
reality pass plus -
rectal rooter -
round and brown -
sexy and petite -
street blowjobs -
strictly pornstars -
supreme hardcore -
tawnee stone -
teenie video -
teen rider -
teens for cash -
teeny bopper club -
tgirl island -
the dirty old man -
the mature source -
throatjobs -
tinys black adventures -
tranny hunt -
tranny realm -
tranny surprise -
twinks for cash -
we live together -
wired pussy -
xxx proposal -
18 interracial -
8th street latinas -
all reality pass -
all sites access -
anal intensity -
ass parade -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big mouthfuls -
big naturals -
big tit patrol -
big tits round asses -
black cock party -
black cocks white sluts -
blacks on blondes -
blind date bangers -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
coeds need cash -
college fuckfest -
creampie surprise -
cumfiesta -
cumshot circus -
dangerous dongs -
ebony candy -
ebony hunger -
euro sex parties -
exploited black teens -
exploited moms -
first time auditions -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
give me pink -
glory hole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
his first huge cock -
hood hunter -
horny spanish flies -
hot xxx blonde -
inthevip -
i spy camel toe -
jordan capri -
just adult movies -
just over eighteen -
latin exposure -
lesbian adult movie matrix -
lesbina sistas -
lesbo trick -
little april -
maximum orgy -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
mr chews asian beaver -
my sex tour -
naughty allie -
naughty office -
orgy pleasure -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
pussyfootgirls -
pussy foot girls -
rap video auditions -
reality pass plus -
rectal rooter -
shemale angel -
stunning studs -
tasty teen babes -
tasty teen babes -
tawnee stone -
teens for cash -
teeny bopper club -
teeny mania -
tgirl island -
throatjobs -
tinys black adventures -
totally amateurs -
tranny hunt -
tranny surprise -
tugjobs -
twinks for cash -
we like it black -
we live together -
xxx proposal -
18 interracial -
8th street latinas -
all reality pass -
all sites acces -
anal intensity -
ass parade -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big naturals -
big tit patrol -
big tits round asses -
black cock party -
blacks on blondes -
blind date bangers -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
coeds need cash -
college fuckfest -
creampie surprise -
cumfiesta -
ass 2 mouth sluts -
ass2mouthsluts -
banzai sluts -
banzaisluts -
banzai sluts -
black dicks latin chicks -
blackdickslatinchicks -
drool my load -
droolmyload -
drool my load -
kandy valentine -
kandyvalentine -
my moms first dp -
mymomsfirstdp -
pervert paradise -
pervertparadise -
vip reality pass -
viprealitypass -
cumshot circus -
dangerous dongs -
ebony candy -
ebony hunger -
euro sex parties -
exploitd black teens -
exploited moms -
first time auditions -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
give me pink -
gloryhole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
his first huge cock -
hood hunter -
horny spanish flies -
hot xxx blonde -
inthevip -
i spy camel toe -
jordan capri -
just adult movies -
just over eighteen -
latin exposure -
lesbian adult movie matrix -
lesbian sistas -
lesbo trick -
little april -
maximum orgy -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf seeker -
milfs exposed -
mr chews asian beaver -
my sex tour -
naughty allie -
naughty office -
orgy pleasure -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
pussy foot girls -
pussy foot girls pics -
rap video auditions -
reality pass plus -
rectal rooter -
shemale angel -
stunning studs -
tasty teen babes -
tawnee stone -
teens for cash -
teeny bopper club -
teeny mania -
tgirl island -
throatjobs -
tinys black adventures -
totally amateurs -
tranny hunt -
tranny surprise -
tugjobs -
twinks for cash -
we like it black -
we live together -
xxx proposal -
18 interracial -
8th street latinas -
all reality pass -
all sites access -
anal intensity -
ass parade -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big mouthfuls -
big naturals -
big tit patrol -
big tits round asses -
black cock party -
black cocks white sluts -
blacks on blondes -
blind date bangers -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
coeds need cash -
college fuckfest -
creampie surprise -
cumfiesta -
cumshot circus -
ebony candy -
ebony hunger -
euro sex parties -
exploited black teens -
exploited moms -
first time auditions -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
give me pink -
gloryhole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
his first huge cock -
hood hunter -
horny spanish flies -
hot xxx blonde -
inthevip -
i spy camel toe -
jordan capri -
just adult movies -
just over eighteen -
latin exposure -
lesbina sistas -
lesbo trick -
little april -
mature adult movie matrix -
maximum orgy -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
mr chews asian beaver -
my sex tour -
naughty allie -
naughty office -
orgy pleasure -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
pussy pinata -
pussy pinata movies -
pussy pinata pictures -
rap video auditions -
reality pass plus -
rectal rooter -
shemale angel -
stunning studs -
tasty teen babes -
tawnee stone -
teens for cash -
teeny bopper club -
teeny mania -
tgirl island -
throatjobs -
tinys black adventures -
totally amateurs -
tranny hunt -
tranny surprise -
tugjobs -
twinks for cash -
we like it black -
we live together -
xxx proposal -
18 interracial -
8th street latinas -
all reality pass -
all sites access -
anal intensity -
ass parade -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big mouthfuls -
big naturals -
big tit patrol -
big tits round asses -
black cock party -
black cocks white sluts -
blacks on blondes -
blind date bangers -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
coeds need cash -
college fuckfest -
creampie surprise -
cumfiesta -
cumshot circus -
ebony candy -
ebony hunger -
euro sex parties -
exploited black teens -
exploited moms -
first time auditions -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
give me pink -
gloryhole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
his first huge cock -
hood hunter -
horny spanish flies -
hot xxx blonde -
inthevip -
i spy camel toe -
jordan capri -
just adult movies -
just over eighteen -
lesbian exotic -
lesbian sistas -
little april -
mature adult movie matrix -
maximum orgy -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
mr chews asian beaver -
my sex tour -
naughty allie -
naughty office -
orgy pleasure -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
pussy pinata -
pussy pinata pics -
pussy pinata videos -
rap video auditions -
reality pass plus -
rectal rooter -
shemale angel -
street blowjobs -
stunning studs -
tasty teen babes -
tawnee stone -
teens for cash -
teeny bopper club -
teeny mania -
tgirl island -
throatjobs -
tinys black adventures -
totally amateurs -
tranny hunt -
tranny surprise -
tugjobs -
twinks for cash -
we like it black -
we live together -
xxx proposal -
18 interracial -
8th street latinas -
all reality pass -
all sites access -
anal intensity -
ass parade -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big mouthfuls -
big naturals -
big tit patrol -
big tits round asses -
black cock party -
black cocks white sluts -
blacks on blondes -
blind date bangers -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
coeds need cash -
college fuckfest -
creampie surprise -
cumfiesta -
cumshot circus -
ebony candy -
ebony hunger -
euro sex parties -
exploited black teens -
exploited moms -
first time auditions -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
gloryhole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
his first huge cock -
hood hunter -
horny spanish flies -
hot xxx blonde -
inthevip -
i spy camel toe -
jordan capri -
just adult movies -
just over eighteen -
lesbian exotic -
lesbian sistas -
little april -
maximum orgy -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
mr chews asian beaver -
my sex tour -
naughty allie -
oral adult movie matrix -
orgy plesure -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
rap video auditions -
reality pass plus -
rectal rooter -
shemale angel -
street blowjobs -
stunning studs -
tasty teen babes -
tawnee stone -
teens for cash -
teeny bopper club -
teeny mania -
tgirl island -
thoratjobs -
tightbuttholes -
tight buttholes -
tight buttholes movies -
tight buttholes pictures -
tinys black adventures -
totally amateurs -
tranny hunt -
tranny surprise -
tugjobs -
twinks for cash -
we like it black -
we live together -
xxx proposal -
18 interracial -
8th street latinas -
all reality pass -
all sites access -
anal intensity -
ass parade -
back seat bangers -
bang boat -
bare foot maniacs -
big league facials -
big mouthfuls -
big naturals -
big tit patrol -
big tits round asses -
black cock party -
black cocks white sluts -
blacks on blondes -
blind date bangers -
border bangers -
boys first time -
bus stop whores -
cam crush -
captain stabbin -
coeds need cash -
college fuckfest -
creampie surprise -
cumfiesta -
cumshot circus -
dangerous dongs -
ebony candy -
ebony hunger -
euro sex parties -
exploited black teens -
expploited moms -
first time auditions -
ftv girls -
fucking machines -
gangbang squad -
ghetto hoochies -
gloryhole -
her first anal sex -
her first ass to mouth -
her first big cock -
her first lesbian sex -
his first gay sex -
hood hunter -
horny spanish flies -
hot xxx blonde -
inthevip -
i spy camel toe -
jordan capri -
just adult movies -
just over eighteen -
lesbian exotic -
lesbian sistas -
little april -
maximum orgy -
midwest mandy -
mike in brazil -
mikes apartment -
milf challenge -
milf hunter -
milf seeker -
milfs exposed -
mr chews asian beaver -
my sex tour -
naughty allie -
oral adult movie matrix -
orgy pleasure -
phat booty hoes -
please bang my wife -
pump that ass -
pussy ass mouth -
rap video auditions -
reality pass plus -
rectal rooter -
shemale angel -
street blowjobs -
stunning studs -
tasty teen babes -
tawnee stone -
teens for cash -
teeny bopper club -
teeny mania -
tgirl island -
throatjobs -
tight buttholes -
tight buttholes pics -
tight buttholes videos -
tinys black adventures -
totally amateurs -
tranny hunt -
tranny surprise -
tugjobs -
twinks for cash -
we like it black -
we live together -
xxx proposal -
Post a Comment
<< Home