CS 627 – Advanced Algorithms (Winter 2026-27) · unit page · YouTube
2026-11-19, 17:43

Click any sentence to play from there.

The transcript was generated automatically by YouTube's speech recognition and is offered as is. It may contain errors, in particular concerning technical terms, names and formulas.

0:04 Now for uh a quick cut of topics. Um let's talk about subexponential time algorithms where this term again is a bit not telling you what it really says. It tells you what it doesn't say. Subexponential can mean many things including polomial. This is not what we mean here. Subexponential should just mean slightly below constant to the n.

0:26 There used to be a chapter based on the exponential time hypothesis. This almost reads like an obbituary. The exponential time hypothesis is the following statement that there is some some constant epsilon such that the three sad problem. So satisfiability where all clauses well the formula is in in conjunctive normal form and all clauses have three v literals at most. Um exponential time hypothesis says if you have an formula of this type with some number of clauses and some number of variables then uh you need essentially a constant to the n time to solve this where n is the number of variables. The formulation here with the epsilon is maybe a bit cleaner to write uh there's equivalent formulations. um it's called not subexponential or it's ruling out subexponential algorithms for threes because an algorithm of this running time 2 to the little O of N uh would essentially contradict this right uh it was for around 25 years somewhat firmly believed among the hypothesis that people found more intuitive I I think me included But um um it turns out it's it's wrong. Uh as we discussed uh last time briefly in the in the preview.

2:01 So in in this fall a lot a lot of things happened. Among of among them were two AI generated papers um from the two leading labs independently showing an algorithm of something like this running time. uh it's not 2 to the n it's 2 to the n times some function that that goes to zero even though extremely slowly uh and some polomial time in terms of the length of the formula but crucially it is strictly smaller this this 2 to the big O of n log n over logs square root log n is strictly smaller than any constant to the n and so it is an subexponential time algorithm And this exists for three set and uh even for kat if you fix k as a constant maybe it's maybe not great that this is also k which we used as parameter uh it's conventional to have k the crucial thing here is k is fixed and constant okay and k c and f of course means it's a conjunctive normal form formula where every clause has at most k literals. So three set would be kals 3, right?

3:27 So it turns out going from three to some other constant k isn't a big deal in this in these algorithms. Um not a a big change. Let me go back um briefly that previously this exponential time hypothesis as it was called I guess we need a uh what's a refuted hypothesis still a hypothesis I guess just wrong it it used to be um the basis of statements of the type unless ETH is false there is no subexponential time algorithm for vertex cover today uh in in uh well what exactly is in the exponent depends for vertx cover it would have been this. So there is a statement and the statement is still true except that of course with an a wrong premise it doesn't help much but the proof is still still true as a reduction.

4:47 uh and here let's say Pver vertex cover then it's a bit clearer what the k is k is the parameter it would of course also be true with n but this is uh the stronger statement the more interesting statement now this is this is false uh or the the implication is true but the premise is false and indeed vertex cover does have such an algorithm and you'll construct one in the exercises based on this or believing this uh this result this is not too hard I think I should point out um they're lean checked which means there is some way to formally prove the claims that they make but the claims if you've read some claims in lean it's a bit subtle to to decide whether it means the thing you would want it to mean uh so I think we should we should be a bit careful to say scientifically speaking it's it's under review and not 100% digested.

5:47 The chances that this is wrong are slim because it's two independent approaches with slightly different techniques and um people have started to digest it and maybe not uh fully follow the original version but with some slightly uh adjacent arguments have convinced themselves that it's correct. So I think um nobody's debating the correctness at this point. So all of these lower bounds that um we had on the previous slide an example of now are not an implication anymore which could mean that the statement is is wrong like for vertex cover or it could mean just we don't have support for that. Um let me explicitly state that it does not have any implications directly for other uh comp complexity theory questions. It doesn't solve P versus NP. doesn't solve uh whether W1 hardness precludes FPT the W1 versus FPT doesn't have any implications on all of these things. Um what you used to do was a reduction from three set to something else and then use the implication a faster algorithm for my new problem would imply a subexponential algorithm for three set which I don't believe in. Now you should turn things around. you should reuse two three set and use this new algorithm and again you'll you'll do that in the tutorials. Um now I'll try to briefly sketch the very vague ideas behind these algorithms but I think I should say um I I I can't claim I understand what they are doing at any more than this superficial level.

7:31 So treat that more as a kind of trivia or a piece of interest because it's cutting edge research that's unfolding. Um you're not going to be able to follow this or make sense of this at this high level of abstraction. Um both use the idea that you don't decide whether there is a satisfying assignment or not, but you do a harder problem. It seems you count the number of satisfying assignments. So you could say for a formula we call that sharp f that's the number of satisfying assignments. Um for a formula in in conjunctive normal form um this means you're taking all the uh satisfying assignments of the individual clauses. These you can recombine as you wish and you may find um may find different satisfying assignments uh then you can maybe sum them up. So the the vague idea is that by going to counts you can somehow transform the problem more easily into some other problem that allows you to calculate. I think that's that's all you can really say. Uh the two approaches are then different in the details.

9:01 Uh I think the intuitive part here is um suppose wishful thinking land that you had somehow that it's always the case that variables can be colored and that the variables of the same color are sublinear. So this seems to imply you need a lot of colors, right? Um moreover, I mean this is easy. You just use many colors. But the point is that every clause now is monochromatic. If that were the case, then you can always solve these clauses with uh different colors independently. They don't talk to each other. They don't have use they don't use the same variables. And so you just iterate through all possible assignments of only the clauses of only the variables in one color. I think that that part is easy. Um, unfortunately, this is not really what happens. This is too strong. You can't strictly enforce this. Uh, but you can do it so that this almost happens. And one trick in both cases is to go from some logical formula to an an algebraic term. Uh here you use that if you represent variables uh with zero and one then x or y is the same as 1 - 1 - x and 1 - y because you're writing x or y as not not x and not y.

10:35 And this you can express in in algebra like this. And it turns out that then the formula translates uh well this D form I'm not sure you can turn it into checking um the value of this certain polomial at zero that's some oh then gives you the number of satisfying assignments right this is uh a lot of lot of stuff skipped here and then it also is only almost the case that you have this monochromatic case and you need to uh that's where a lot of fix up needs to happen. Uh the enthropic version is a bit sim is a bit different. Um it starts out with rearranging the variables somehow on a grid uh and then almost using a graph algorithm kind of argument the that somehow variables don't completely freely depend on each other and then it's a a recursion that um uses again some algebraization of the formula. Again, a lot of details are not not so clear.

11:54 Well, the consequences for now is that um you should keep keep this as kind of the uh uh simpler version in mind. Anything we can reduce to a three- set formula where we have a linear number of variables. Um subexponential doesn't care about the constant in in this one. um we have a linear number of variables even if the length of the formula remains polomial in that that you can al all all of these things you can solve with a subexponential time algorithm some 2 to the big O of N divided some poly log of course uh when you use this kind of result as you will uh you need to take care of all the variables in the resulting formula even if you use some construction that blows up the number of variables. Uh I'm stressing this here because the normal reduction from general satisfiability to three set is precisely using that uh that you can somehow um deal with shorter clauses or or make clauses short by adding extra variables.

13:11 that you can still do but then um it may blow up the number of variables so much that the result doesn't give you anything interesting anymore.

13:24 Uh you can make the same statement with kat. If k is bounded constant then uh the width of the clauses there's nothing magic about the number three here. Um that means the width of the clauses is somehow the the new interesting parameter right the the size of the formula can still be polomial but the number of variables should be small and the width of the clauses needs to be small either three or some bounded k.

13:53 Uh, of course the other the other obvious thing if um then you can't have more than of variables but why can you formulated as a small width formula?

14:21 I wonder if I have to take that bullet back. Um, I'm not sure this is this is necessarily true. Let me let me state it like this. I don't remember the argument right now. Let me rather not claim that this is true or false. Um, I'll have to check that again.

15:02 there must there will be some assumption on what the formula looks like. I think completely general seems a bit hard to believe. Um it is true via a transformation we used in the last section when we talked about WP the last unit that you can also use circuits instead of formulas um because you can translate circuits and if you use this we didn't call it like this but this is the construction from the WP reduction and you'll revisit this um to the extent you need it in the tutorials. So you can you can lift some of the things to small circuits where you don't need to introduce a lot of variables to translate them. uh specifically for vertex cover the final result is subexponential in K and polomial in the size of the graph. So K again the vertex cover size and for some other problems we don't quite get that. So for example, click and independent set you will remember these are all W1 hard. So we shouldn't expect them to have any FPT algorithm whether it's exponential or slightly subexponential.

16:35 Um what you can do is subexponential in the graph size that follows by again essentially reducing to three set. Um whereas for some for some other problems where they were even higher in the hierarchy remember um coloring is kind of even with a fixed parameter it's it's already np hard um but it seems you can also get such subexponential algorithms u because people are still collecting what all the implications are there's some discussions online where there's collections of of more and more problems that join this this gang of having some subexponential algorithm. I think as you can see from this slide the the whole new statement is a bit tricky and subtle. So um it will take some time before we have the right the right terminology to put this in concise short language or maybe it remains subtle. Um as as surprising as the main result is there's also a lot of things that just don't change.

← Video 6-6: LP-Based KernelizationVideo 6-8: Tree Decompositions and Separators →