1,483 karma · joined Jul 3, 2015 (11y ago) · 434 submissions
392.
Quote Notation: representing exact rational arithmetic using p-adic numbers(en.wikipedia.org ↗)
1 points · by ComplexSystems · 4y ago · discuss
399.
Ask HN: Managing a shared music library from several streaming services?
1 points · by ComplexSystems · 4y ago · 1 comment
comment 4y ago · link · parent
Any algorithm powerful enough to generate a proof or refutation of an arbitrary sentence in first-order logic is equivalent in strength to one which can solve the halting problem. This general framework of thinking has often led people to declare that computers will never be able to perform automated theorem proving of arbitrary theorems, for this very reason.
This very narrow analysis doesn't square well with the "real world," particularly in the 21st century, where it is widely projected that AI will eventually get, let's call it, "very good" at this kind of thing, with much fanfare about how it will design the next generation of itself and possibly turn planet Earth into grey goo in the process.
These two perspectives are not really in conflict, because when we talk about an AI that is "very good" at doing math - one exponentially better than a human, which is capable of solving any problem a comparatively puny human mind is capable of coming up with, or perhaps using stochastic methods with a small but nonzero failure rate, and so on - we are talking about an infinitely lower set of goalposts than we have when we talk about the traditional halting problem. To qualify as solving that, an algorithm must be "infinitely good" at this task - it must never fail, even if the probability of doing so is exponentially small, and its failure mode can never be an infinite loop, etc - all things which we do not care about in a realistic machine learning sense.
These things are really very technical statements that need to be interpreted in a very precise and careful way - they are very powerful ideas that shaped 20th century computing, but when we carelessly use them to make claims like "computers will never be able to do _______," we do them a disservice.
comment 4y ago · link · parent
comment 4y ago · link · parent
One thing I am curious about is exactly how this works. How do neural networks make black box nonlinear system modeling possible, and how does this relate to something like a Volterra series? Would love an explanation and/or some sources if anyone has any.
comment 4y ago · link · parent
As you can see, the Python developers have chosen to leave the original incorrect statement about O(n²) time up in the initial post.
comment 4y ago · link · parent
The only issue is that the resulting expression can be extremely large once you unwind the change of variables. It's kind of similar to taking (for instance) a small C++ program and explicitly expanding every macro or function with a copy of the entire function body, producing a huge space increase. You are usually better off leaving things in terms of the transformed variable, along with the formulas to convert back to the each previous variable. This is also an issue with the solution to the general quartic, though, so it's neither here nor there regarding Bring radicals.
comment 4y ago · link · parent
---
There are a few problems with LukeV's argument. First, he conflates the ability to generate human-like text with the ability to communicate. Just because GPT-3 can generate text that sounds like it was written by a human does not mean that it cannot communicate. In fact, GPT-3 is quite good at carrying a line of thought or argument through a longer text, as evidenced by the fact that it is often used by writers to generate ideas and outlines for their articles.
Second, LukeV claims that GPT-3 is at its weakest when writing about the relationships between a set of concepts. However, this is not necessarily true. GPT-3 may not be able to generate text that is perfectly grammatical or that makes perfect sense, but it is often able to generate text that is nonetheless meaningful and insightful. For example, GPT-3 has been used to generate essays on complex topics such as the philosophy of mind, and these essays have been well-received by readers.
Third, LukeV argues that the world does not need more words, but this is clearly not the case. The world needs more communication, and GPT-3 can help to facilitate this by generating text that is meaningful and insightful. In fact, GPT-3 is already being used by writers to generate ideas and outlines for their articles, and it is likely that this use will only increase in the future.
In conclusion, LukeV's argument against GPT-3 is flawed. GPT-3 is a valuable tool that can help to facilitate communication, and the world needs more communication, not less.
----
I'm not sure who I agree with, but that's GPT-1's response to you regarding your critique of itself. Have at it!
comment 4y ago · link · parent
Not quite. No solution exists that uses a very restricted set of functions deemed "closed-form", in particular sums, products, quotients and n'th radicals. These polynomials can still be solved analytically and in closed-form by introducing some additional special functions. Certainly there are many ways forward rather than "trial and error methods," which I interpret as meaning the answer must be approximated numerically.
For instance, all polynomials can be solved analytically and in closed form if elliptic functions are allowed to exist in the solution.
Or as a simpler example, the quintic x⁵+x+a has no closed form solution in radicals, and is in some sense the prototypical example of an unsolvable quintic. This polynomial has one unique real root, which is a function of the variable a. In fact, we can look at this root as a function of a; this is called the "Bring radical" of a, denoted BR(a), and easily see it is a very simple, well-behaved, and perfectly "valid" analytic function of a. It is in some sense a sister function to the ordinary real fifth root of a, denoted ⁵√a, which would instead be the unique real root of the polynomial x⁵-a. The two are also just about equally easy to compute numerically to arbitrary precision. If we allow BR(a) to "exist" as a function worthy of being deemed "closed-form," "analytic" or what have you, then every quintic now has a closed form solution in terms of radicals and this one extra special function.
This somewhat important detail is often omitted when explaining this. People often write the idea that there "is no general solution" to the quintic, which is misleading at best or wrong at worst. Perhaps a good analogy is to think back to the days when all numbers were thought to be rational. In such a system, even quadratic polynomials "have no analytic solution", one needs to invent the square root function to express the roots of the quadratic in closed form. The same thing happens for cubic and quartic polynomials, where we add cube roots and fourth roots; it just so happens for quintics we need to add two additional functions rather than one.
comment 4y ago · link · parent
Often in finance, securities are assumed to follow something like a geometric Brownian pattern. This is the idea behind the Black-Scholes model, for instance. This means that you view your price ticker as a random Gaussian walk (e.g. Brownian motion) when your ticker is placed on a logarithmic scale.
One way to think of this is that, given some (sufficiently large) unit of time, you have an equal chance of your security either doubling or halving in value. Or being multiplied/divided by 1.5, or 1.1, or any other figure you like, given whatever unit of time you like.
It's really easy to see how this basic pattern has a positive expected value. Suppose you put $1 into a fair coin toss game, and if you win it doubles and if you lose it halves. You stand to win $1 or lose only $0.5, thus the expected value is $1.25.
Now suppose, to keep it simple, you have a ridiculously volatile security which doubles or halves in value every day. So the ideal trading strategy is to choose some betting amount, say $1000, and just put it in at the start of the day. Then the next day, just reset your position size to $1000, either taking your $1000 in profit or kicking in another $500 to cover losses. You will quickly become a trillionaire.