Sergey Demyanov (@sdemyanov) profile picture

AI/ML researcher @ HeyGen. PhD. Former legal tech founder. Sold a company to Snap.

San Francisco Bay Area, CA
Joined June 2010
Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)Photo by Sergey Demyanov (@sdemyanov)
👀
HeyGen Video 1 went up against today's leading video models in a blind test on @ArtificialAnlys. Our first general-purpose video model ranked #1 in text to video. Try it: platform.heygen.com/models/h…
20
Proud of the team!
HeyGen is now #1 in voice. Our new voice model, HeyGen Voice, just topped the Artificial Analysis TTS leaderboard, beating every major model in blind tests. Live on HeyGen + API. API users get 50% off through 10/31. $15/million characters instead of $30, applied automatically.
19
Sergey Demyanov retweeted
HeyGen is now #1 in voice. Our new voice model, HeyGen Voice, just topped the Artificial Analysis TTS leaderboard, beating every major model in blind tests. Live on HeyGen + API. API users get 50% off through 10/31. $15/million characters instead of $30, applied automatically.
654
425
365
961
887,449
The smartest mathematicians will switch from inventing solutions to inventing conjectures and understanding/simplifying/explaining AI results. Others will follow, but later. There is enough work for everyone.
Big agree with this
22
Another correction after finding a counterexample: I had to add the number of input words, Nᵢ, to the right-hand side: V ≤ Nᵢ + B(B + Nₒ), where B is the preparation cost and Nₒ is the number of prepared words sufficient to finish the task with constant workspace.
1
1
33
I don’t expect P=L: I suspect some polynomial-time tasks need more than O(1) writable words. For those, the same conjecture should hold, but raw volume must be counted with the minimum workspace budget, with each preparation and inference block having the same budget.
1
1
21
It also seems useful to think about any algorithm as a sequence of constant memory preparations with one last inference block, where each next block reads only the input or the previous layer output, and only the intermediate results might have a growing number of words
39
It is easy to show that V<=BN can’t be true, because you can declare full algorithm to be B and keep one step N. But V is the time of constant memory algorithm, while B can use as much as needed. The correct lemma is V<=B(B+N)
1
62
To simplify the problem, I’m now aiming for any superlinear lower bound for 3SUM, rather than just the quadratic law. The idea is to turn any exact time-T algorithm into one using constant workspace and Õ(T^k) time, for some fixed k<3.
1
121
Then, if I can prove that 3SUM needs Ω̃(n³) time with constant workspace and read-only input, we get T ≥ Ω̃(n^(3/k)). Since k<3, that would give a desired superlinear lower bound.
1
1
82
I updated the definition of raw volume to the complexity of algorithms with a constant number of writable words. It is easy to show that paired membership needs O(n^2), and no o(n^3) algorithm with constant memory is known for 3sum
1
110
Another interesting update: constant memory is not sufficient - it is possible to build a counterexample to the lemma. And the fix is to combine both constant memory AND polylog inference I tried to use before.
1
10
And honestly, Fable 5.1 sucks compared with Astra. I asked it either to close the gap or find a counterexample. After thinking for two hours, it produced a “proof” that neither could be done. Or course, Astra promptly destroyed it.
18
The update on my 3SUM research. The previous counter example made it clear that the lower bound lemma can only be global. It should also be separate the proof of raw volume itself. xitter.cf/sdemyanov_rsrch/status…
For the last couple of weeks I've been working on improving the lower bound of the complexity of the 3SUM problem. Here is what I've come up with so far. If I don't give up, I'll continue posting.
1
366
Indeed, under my definition, this task has raw volume n³. Yet hashing both lists takes only 2n preparation steps and reduces the remaining inference from n³ candidate checks to just n constant-size branches - one for each query pair.
1
68
So I’m left with two paths: revise the preparation lemma so it still yields an n^(3/2) lower bound, or redefine raw volume so it remains n³ for 3SUM but falls to n² for Paired Membership. I haven’t yet decided which path is right.
69