An unofficial, read-only Hacker News reader.

AI on brink of making online security useless, mathematicians fear (opens external site)

120 points by conradqh 1 day ago | www.thetimes.com | 165 comments on HN

View full thread · View on Hacker News

Comment thread (48)

  1. How does one estimate the relative difficulty of two things nobody knows how to do?
    Replies (9)
    1. because both are millenium math problem ???
      Replies (2)
      1. I don’t think that’s true. P could equal or not equal NP and public key cryptography could still be broken or unbroken.
        Replies (1)
        1. That's not true, if P was equal to NP, then public key cryptography would definitely be broken (most definitions of current cryptographic methods require exponential breaking time to be considered secure, though your overall point still stands).
          Replies (2)
          1. I don't see how P being equal to NP would mean much if P algorithm has a galactic exponent bigger than currently used key sizes.
            Replies (1)
            1. Assuming you have the algorithm to begin with.

              Obviously an algorithm for producing an equivalent polynomial-time algorithm given any nondeterministic polynomial-time algorithm would prove P = NP, but is there any reason to believe the proof would take this form, or if it did, that the algorithm generating algorithm would run in a reasonable amount of time, or produce efficient polynomial-time algorithms?

          2. You’re right with respect to the definition of secure against a polynomial time adversary, but often people use “break” more practically.
      2. The list of millennium prize problems has only seven entries, "breaking cryptography" is not there.
        Replies (1)
        1. It's not there, but the related problem P vs NP is there. Public key cryptography can only survive if P != NP.
          Replies (1)
          1. Even knowing p=np would not change anything that fast. As I understand it, it just tells that P will grow polynomial with the difficulty rising. It doesn't tell "it's easy" or "can be made with less compute". For breaking the RSA you would need factorization of the multiplication of two big prime numbers
            Replies (1)
            1. For a concrete example, parsing an ambiguous context-free grammar is O(n³). Not only is this in P, 3 is about as small as you can hope for an exponent to be.

              We find that exponent of 3 so onerous that we devote all our efforts to developing unambiguous grammars instead.

              Various gross programming errors come from using an O(n²) algorithm - quadratic time is considered the practical worst case for sorting algorithms, n+1 database queries are bad because they're quadratic, returning-to-the-paint-pot ( https://martynplummer.wordpress.com/2015/10/16/shlemiel-the-... ) is bad because it's quadratic...

              Rockstar made the news by putting quadratic-time bugs into the loading screen for GTA Online: https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times...

              Most of the discourse around "polynomial time" assumes that "polynomial time" means "linear".

              Continue this thread (1 replies) →

    2. I don't know how to build a spaceship. I don't know how to build a chair. I suspect one is harder than the other. Happy?
      Replies (2)
      1. But they are things you can estimate by proxy.
      2. Things nobody knows how to do. It's a lot easier to estimate the difficulty of things lots of people do all the time.
    3. Oh that was definitely solved years ago: planning poker.
      Replies (1)
      1. Prior art existed much earlier: the magic 8 ball
    4. A pretty sizeable chunk of the white collar economy is just project managers estimating the relative difficulty between two products, and attaching timelines to that estimate, and then updating those estimates as the project progresses. Humans are pretty good at that, and our error bars are usually narrow (in the grand scheme of things).
      Replies (6)
      1. > Humans are pretty good at that

        LMAO, humans are absolutely terrible at that, which is why project estimates are basically never correct.

        Replies (2)
        1. They are consistently and predictably not correct which is the best way to not be correct.
        2. Project estimates in e.g. software development are basically never correct because they are made with false assumptions (e.g. fungible capabilities between engineers, full focus on the topic) not seldomly because high ups don't allow for reality in those assumptions.

          Many modern building projects suffer a similar fate, but mostly because contractors cut corners without significant enough repercussions. In countries (e.g. China) where there is stronger enforcement, that ability to execute hasn't eroded as strongly.

          Humans are good in estimates (at a certain granularity we are almost concretely able to calculate how long something will take), but our social/economical/legal systems often leave a lot of room for error on the execution side.

          Replies (2)
          1. > Many modern building projects suffer a similar fate, but mostly because contractors cut corners without significant enough repercussions. In countries (e.g. China) where there is stronger enforcement, that ability to execute hasn't eroded as strongly.

            I disagree with that take.

            Big construction projects get derailed because the state or whoever pays for it wants it delivered on a tight budget that is most likely impractical and on a quick deadline as well. The bidders know this and account for it when they place their bids but everyone acts as if these delays are unexpected.

            The problem is that if bidders were giving their real timelines and the real costs upfront, then no projects would be approved unless it was matter of emergency or something like that.

            In France at the moment for example, they closed one of the major highways around Paris in order to fix a tunnel that has cracks in it and this closure is supposed to last 10 months.

            I made a bet with a friend who works in construction that the closure will last at least a year if not 18 months. Why? Because the 10 months timeline is the most optimistic one and is simply not realistic but if the real timeline had been given from the start, the whole thing would have been canceled so lying is necessary just to get things done.

          2. So, there is no true Scotsman?
      2. > our error bars are usually narrow

        I don't know where you work but I have never seen that anywhere. 200% overrun is expected, 400% still quite common and 1000% is not unheard of either. Time as well as money.

        Tech, pharmaceuticals, public infra. My sample is pretty broad.

        Replies (1)
        1. This has also been my experience. However, even if it will take 10x the amount of time and compute to break public-key cryptography than it took to solve the Riemann conjecture, we are still expecting it to happen in the near future.
          Replies (1)
          1. The Riemann Hypothesis is about 170 years old. I'd not start to sweat if 10x is what we are looking at.
            Replies (1)
            1. If we look at the rate of progress in providing a solution for the Riemann hypothesis, its dependency on modern compute (the availability of which continues to increase exponentially) is the key factor here.
      3. > Humans are pretty good at that, and our error bars are usually narrow (in the grand scheme of things).

        No. There are studies upon studies upon studies that show that people are overconfident to the extreme in the face of unknowns. We consistently underestimate just how bad we are at this. Even the people who know how bad they are at this usually don't perform much better in controlled experiments.

      4. > ... project managers estimating the relative difficulty between two products ... Humans are pretty good at that...

        If the last 25-30 years of software industry is an indicator, humans are absolutely terrible at estimating timelines.

        Replies (1)
      5. >Humans are pretty good at that, and our error bars are usually narrow (in the grand scheme of things).

        We're actually really lousy at it. We've seen how many attempts at a new air traffic control system here in the US in our lifetime? 3 now?

        The difference between ATC and the shitty little software products we work on for our employer is that if ours goes horribly overbudget or past the deadline, the company just gives up for goes insolvent, and we go to work for a new one, and it never makes much of a headline.

      6. My brother in christ, scientific discoveries are not analogous to the manufacturing of consumer widgets.
    5. Technically we do know how to break encryption, it’s just so insanely hard and computationally expensive that by the time you’re finished it no longer matters. That might be (I’m not familiar with the context of the quote) what was meant by “raw mathematical difficulty”, we can technically do the steps.
    6. Because we always have more than zero understanding, even if it's incomplete.

      Which is harder? Traveling to Alpha Centauri or to Andromeda? Nobody knows exactly how to do either.

      Of course, the interesting cases are ones that are harder to estimate, and in practice, professional mathematicians end up developing an intuition about the machinery of math in the same way that a good mechanic develops a sense of whether a car problem will be easy or hard to fix.

      Replies (4)
      1. But we know the distance to Alpha Centauri and to Andromeda. We don't know the distance in this context. We just know we don't have it.
        Replies (2)
        1. That sounds like an argument from ignorance: you don't need to know the exact distance to know what would be required to cover it. Even if you don't know all the requirements, maths has been around long enough that we have plenty of work to guide an understanding of the order or requirements left. Just because you have incomplete information does not mean you can't see something meaningful, but you do need expertise in the subject before you can say anything meaningful about it, and people who don't will simply have to believe you.
        2. Knowing the distance is only a tiny part of knowing how hard it is to get there. The point is that imperfect knowledge is not zero knowledge, and that's what allows one to make estimates and predictions better than flipping a coin.

          Also, like, if you talk to mathematicians it's just a fact that one develops a sense of how hard problems are, and while not infallible, that intuition is vital to doing mathematics research. It's what allows you to work on (hopefully) tractable, but unsolved, problems and keep publishing.

      2. > Which is harder? Traveling to Alpha Centauri or to Andromeda?

        I'd actually hoped that someone who knows a bit of math could explain the "more than zero understanding" bit in more detail. In your example there's a pretty compelling argument: you have to get to something as far away as Alpha Centauri before you can get to Andromeda.

        Is there an equivalent these proofs? If one went directly via the other then the space logic above would apply.

        Replies (2)
        1. > "more than zero understanding"

          Its a roundabout way of saying that we have an understanding of the required constructs, properties, and qualities needed for math to work properly in the first place. From there we can reason an intuition about what may or may not work iteratively, improving at each step when they are present or not present.

          In other words, the theory that has been broken down and reduced into first-principles that can then be used to build further understanding. Theory is anchored through experimentation to reality or metaphysical objectivity and falsifiable statements.

          For example, one must travel significant distances to reach either of those two places. The domain is similar, moving mass at extreme speeds, sufficient for travel within a lifetime. So when someone solves, a piece of that, all the effort from others can be focused on the other pieces, each pillar toppling one after the other until you can do something that was previously impossible. Communication then makes duplication of work minimized.

          So while we don't have an answer about some things where some roads have been very well traveled, we do have methodology about what won't work; and being able to reduce the complexity and search space, and filter out what doesn't work from what might may perhaps help us learn something true that allows us to make the impossible possible.

        2. Fair. Number theory and and modular forms are not my forte, but at 10,000 feet, it does seem reasonable to expect that whatever insights about primes and modular forms makes a GRH proof tick, they significantly overlap with insights about factorization and elliptic curves.
      3. Having read a lot of sci fi this is actually an interesting example.

        It's pretty likely humans can't reasonably get to either Alpha Centauri or Andromeda traveling in normal space. So maybe it turns out Andromeda is easier in some weird hyperspace dimension!

        (I'm not saying this is true, I'm just saying it could be.)

      4. Bad comparison. We know what is necessary to do either. This is more like "which is harder, teleportation or antigravity"
    7. > How does one estimate the relative difficulty of two things nobody knows how to do?

      They don't estimate anything, they troll. It's the old FUD* game to waste your time and hopefully trigger a wrong reaction and a solution beneficial to them but damaging to you.

      New and secure encryption methods will always be available, a lot of math is naturally asymmetric but arguing about it now is the dumbest thing we could do - talk is cheap, let those "estimators" break RSA 4096, then we'll find another algorithm.

      There are a lot of systemic issues of immediate importance which aren't guesses or "estimates". There's also a practical and all-encompassing solution in the form of open source AI good enough to protect us from the attack of the closed clones - that's the only goal worth perusing at the moment.

      *FUD : Fear, Uncertainty and Doubt

    8. Scrum seems to know how.
    9. It's AI, everyone is free to speculate in whichever way they please. No claim too far-fetched, no hypothesis too outrageous.