Better HN
topnewbestaskshowjobs
Log inSign up

throwawaymath

5,982 karma · joined Apr 20, 2018 (8y ago) · 1,603 submissions

I've left. This used to be an enjoyable place to debate, but now it's frustrating to see ideologically driven downvotes on valid and on-topic comments.

I no longer have access to this account. If you want to reach me for past comments, you can do so at throwawaymathhn@gmail.com.

Submissions

comment 7y ago · link · parent

Every five - 10 years the up to date track record is provided to reputable third parties to curate publicity. For example, Bloomberg and WSJ. Generally speaking though, most firms with a track record like RenTech's prefer to keep it quiet because they don't solicit outside investment.

In particular: RenTech likes to keep a handle on this publicity for the purposes of courting extremely good talent from academia and industry. That's the only reason the Medallion returns are ever intentionally publicized. Anyone investing in RenTech's other funds knows full well they're not getting the alpha powering Medallion's returns.

Simons would probably have preferred to stay entirely under the radar, but the cat's out of the bag already and has been for decades. The most successful hedge funds (like the Princeton Alpha offshoots) don't court publicity because they don't need to pool risk with outside investors. They're not even hedge funds in the common sense of the term; they're proprietary trading firms run on employee and partner capital. Medallion can be thought of a prop shop within a hedge fund in that way.

comment 7y ago · link · parent

The hedge fund featured in Billions is entirely unlike typical quant trading firms in culture and operation, let alone RenTech.

comment 7y ago · link · parent

I didn't say you need manual intervention. I said you cannot do automatic inference generation. What you're referring to does not provide automatic inference generation, i.e. you cannot brute force hypotheses. That's why you still employ researchers.

More to your specific example, I've also worked with the alternative data you're talking about and it doesn't offer automated inference generation. You implicitly have a hypothesis (or several) in mind when you're working with things like credit card transaction data from Yodlee or Second Measure.

Automation is a continuum. What you're talking about is automating time series analysis. I never said you can't do that.

comment 7y ago · link · parent

No, that wouldn't work. The options basket strategy you refer to did have nontrivial tax advantages, but

1) Those tax advantages can only improve returns which are already fundamentally strong, and

2) There is no "smoothing" effect achieved; the options baskets do not defer returns for years at a time.

I get that the cynical take is, as ever, the attractive one on Hacker News. But speaking frankly, what you're saying doesn't actually make sense. Among other problems with your explanation, there's a straightforward wrinkle. While it's not available to the general public, other institutions like Bloomberg and WSJ have had (and still have) access to audited attestations of Medallion's track record over a timespan of 25 years.

comment 7y ago · link · parent

They're referring to Simons; over a 30 year period RenTec's Medallion Fund has beaten Berkshire Hathaway.

comment 7y ago · link · parent

You can find a bunch of papers published by people at RenTec. Search MathSciNet for "Renaissance Technologies" as the corporate affiliation for the author.

Likewise, search Google Scholar for "@rentec.com", or "Renaissance Technologies."

comment 7y ago · link · parent

This isn't really correct.

Renaissance has always put massive personnel and technology investment into its data processing and analysis pipeline. But there is no "automatic inference" generation. It's not so much brute forcing alpha as it is streamlining the process of hypothesis testing for research scientists so that strategies can be very rapidly generated and examined.

Automatic inferences would be susceptible to two major risks. First, you'd run into spurious correlations at the dimensionality of data we're talking about. Those spurious signals would have to be pruned, significantly reducing any advantage.

Second, you'd decouple the strategy generation from financial domain expertise. The strategies are not developed in a vacuum - contrary to popular belief, quant trading firms do apply financial acumen.

comment 7y ago · link · parent

That's right. A lot of people are aware that RenTech scoops up talent from math and theoretical CS departments. But it's less well known that many of Simons' old colleagues from the NSA also contribute math and CS talent by referring them to Simons.

Of the people I know who work at (or used to work at) RenTech, one actually joined after working at the NSA. His PhD thesis was a joint collaboration between Harvard's physics department and the NSA.

comment 7y ago · link · parent

"Not a squeak?" Do a basic Google search. It was widely reported in the financial press at the time, especially by Bloomberg.

And as far as billionaires go, I don't even think Simons gets enough press to really make a distinction on whether or not it's overly positive. Someone else mentioned Gates, which is I think apt. He has cultivated a savior mythos in the press in which he eradicates diseases using his fortune.

Even if you include everything the Simons Foundation does for disease and health research, it's just a drop in the bucket compared to how much positive spin lots of other billionaires get. Off the top of my head, I think even David E. Shaw gets more spotlight than Simons through DESRES and his whole "spurned academic turned superstar" schtick.

comment 7y ago · link · parent

For example by representing numbers as pairs (a, b), where the real part is a and the imaginary part is b. Then:

1 = (1, 0)

i = (0, 1)

2 + 3i = (2, 3)

and so on.

comment 7y ago · link · parent

I thought Reid Barton was at RenTech? He's back in academia?

comment 7y ago · link · parent

I think there's a misunderstanding here. Can you please be specific about the operation you're saying is increasing commensurate with inputs n, c? The GCD algorithm is accomplished using O(1) polynomial multiplications, which is achieved because the coefficients for the polynomial multiplication are given by n, c.

EDIT: To make my position clear, what I am saying is this:

1. The presented algorithm will have variable computation time, but not variable asymptotic time,

2. The algorithm uses O(1) (i.e. constant time) polynomial multiplications in the worst case, and

3. The worst case bound does not change with n nor c, though they are used in the algorithm to calibrate the divsteps such that no more than O(1) operations are required.

I will concede it's possible I'm misunderstanding the paper itself, but I don't see that here.

comment 7y ago · link · parent

> What we have here in the cryptography sense is different: the running time n(c+n) clearly does depend on n; it just does not depend on the actual input.

Can you explain to me what the input is, if not c and n?

comment 7y ago · link · parent

The term "constant-time" is used in the complexity theoretic sense. Can you explain to me, concretely, how what you've said here

> as long as inputs have the same bit-length. Any 32-bit inputs will be handled faster than 1024-bit inputs, but any 1024-bit inputs will consume the same amount of time no matter their actual values. That is, 0x0001 and 0x000000001 are handled differently by the algorithm

indicates the algorithm is constant-time in one sense but not the other?

comment 7y ago · link · parent

> In cryptography the term "constant time" is sometimes used to mean a different concept, that the operation actually takes constant non-varying time, so that an attacker can't exploit this as a side channel to figure out the input values.

Note that I cited Thomas Pornin for my definition of constant time cryptography, who is a cryptographer in theory and implementation. It is emphatically not necessary for software to run with unvarying execution time in order for it to be "constant time" according to the cryptographic sense of the term. This will be a poor hill for you to die on, but I invite you to provide literature supporting your alternative definition.

comment 7y ago · link · parent

> The authors are not using "constant time" in the complexity-theoretic sense.

Yes, they are. I've already made a top-level comment citing the paper's explicit definition from Section 2 and comparing it to canonical definitions from the usual literature of algorithm analysis.

> That would mean an algorithm whose running time doesn't depend on n,c.

It does not. Note the exponent, 2 + O(1). It is true that the execution time varies with the input size, but this does not preclude constant time asymptotics.

> The GCD algorithm here has the property that (I'm quoting section 1.4 here) "the number of operations is ... asymptotically n (log n)^(2+o(1))". That is not constant as n varies.

Yes it is. Constant time does not mean that execution time does not vary, in either complexity theory or cryptography.

comment 7y ago · link · parent

No, I didn't misread. You and I are in (apparently violent) agreement. Constant time does not mean that running time cannot vary, in either complexity theory or cryptography. There are misconceptions on both sides here, with regard to what the terminology means in both complexity theory and cryptography.

For precision, I'll start with a good definition[1] for what "constant time" means in cryptography:

> Constant-time implementations are pieces of code that do not leak secret information through timing analysis. This is one of the two main ways to defeat timing attacks: since such attacks exploit differences in execution time that depend on secret elements, make it so that execution time does not depend on secret elements. Or, more precisely, that variations in execution time are not correlated with secret elements: execution time may still vary, but not in a way that can be traced back to any kind of value that you wish to keep secret, in particular (but not only) cryptographic keys.

Secure, constant time cryptographic algorithms need not have unvarying execution time. Now going back to complexity theory, it is also an extraordinarily common misconception that "constant time" means "the algorithm has the same execution time regardless of the size of the input." This is not the case. Big O notation doesn't even care about what always happens, it cares about what happens in the worst case. When we use "constant time" in the O(1) sense of the word, we are not precluding the possibility of an algorithm having variable execution time. Again, for precision, we are simply saying that the execution time (number of operations, etc) has an asymptotic upper bound which is independent of the input. The execution time may vary with the input, and generally speaking it will.

_________________________

1. Thomas Pornin, Why constant time crypto? https://bearssl.org/constanttime.html

comment 7y ago · link · parent

> I see how you may think that, but I would argue that I am not redefining anything, as things turn nonsensical without this assumption.

The point I'm making is that this statement reduces to the claim that defining an algorithm's worst case time complexity as O(1) or constant time is nonsensical.

Do you disagree that adding two numbers is a constant time operation?

comment 7y ago · link · parent

Ah, I misspoke. I meant "access", you're correct about searching. The original link I cited for explanation still applies.

comment 7y ago · link · parent

It's pretty frustrating to see the discussion on this submission dominated by people litigating the "constant time" terminology. The authors, Bernstein and Yang, are using constant time in the conventional, complexity theoretic sense of the word. Here is a quote from Section 2, "Organization of this paper":

> We start with the polynomial case. Section 3 defines division steps. Section 5, relying on theorems in Section 4, states our main algorithm to compute c coefficients of the nth iterate of divstep. This takes n(c + n) simple operations. We also explain how “jumps” reduce the cost for large n to (c + n)(log cn)^2+o(1) operations. All of these algorithms take constant time, i.e., time independent of the input coefficients for any particular (n, c).

In particular note that last sentence. The asymptotic runtime of the presented algorithm does not depend on the inputs, n and c. This algorithm analysis is confirmed throughout the remainder of the paper, which walks through each stage of the algorithm. Now let's look at a few canonical definitions of "constant time", i.e. O(1).

From Skiena, we have:

Constant functions - f(n) = 1 - Such functions might measure the cost of adding two numbers, printing out the "Star Spangled Banner", or the growth realized by functions such as f(n) = min(n, 100). In the big picture, there is no dependence on the parameter n.

Likewise from Sedgewick & Wayne:

Constant. A program whose running time's order of growth is constant executes a fixed number of operations to finish its job; consequently its running time does not depend on N. Most Java operations take constant time.

I'll update if I find a choice example from Knuth in TAOCP, but I think this suffices. The discussion about whether or not the cryptographic use of the term satisfies the complexity theoretic sense of the term is a red herring; it's a distinction without a difference. Algorithm analysis focuses on asymptotic behavior, which is definitionally given by tail behavior, or rate of growth of a function. Among other things, this paper is not about an implementation methodology that ensures the GCD algorithm will take exactly the same amount of time regardless of the input.

______________________

1. The Algorithm Design Manual, 2nd Edition, § 2.3.1 Dominance Relations, Page 39

2. Algorithms, 4th Edition, § 1.4 Analysis of Algorithms, Page 187

comment 7y ago · link · parent

That's not how this works. What you're doing here is defining away the scope of the problem to make O(1) complexity analysis redundant. A bound of O(1) conventionally means that we can exploit some structural component of the input and the given problem to find a solution independent of the input size. If you redefine input size to the more narrow sense of inputs which don't have some sort of structural feature like that, then yes of course nothing is constant time. But then you're just shifting the difficulty of the problem around without much of a gain.

comment 7y ago · link · parent

> it's not "constant time" in the sense of having O(1) time complexity with regards to the size of the inputs

Yes it is. The presented algorithm is constant time in the exponent, i.e. 2 + O(1), where this exponent is not impacted by the size of the inputs n and c. Much like any other complexity analysis, an algorithm is O(1) as long as O(1) is asymptotically the "largest part" of the running time. As the size of n increases, the exponent 2+O(1) increasingly dominates execution time.

comment 7y ago · link · parent

> I cannot think of any algorithms with arbitrary sized inputs that have truly constant execution time.

With respect, I think you may misunderstand the meaning of "constant time" in the sense of complexity theory, i.e. O(1). Accessing an element in an array of size n is a constant time operation. See: https://stackoverflow.com/questions/7297916/why-does-accessi...

EDIT: Corrected "search" to "access"

comment 7y ago · link · parent

> A simple example of constant-time within this definition, as well as why constant-time does not mean O(1) in this context, is that of a comparator:

This is incorrect. The paper explicitly uses "constant time" in the sense of O(1). You can see this listed throughout the paper, in various complexity analyses, beginning from Section 2.

comment 7y ago · link · parent

This is incorrect. Refer to Section 2, "Organization of the paper":

> We start with the polynomial case. Section 3 defines division steps. Section 5, relying on theorems in Section 4, states our main algorithm to compute c coefficients of the nth iterate of divstep. This takes n(c + n) simple operations. We also explain how “jumps” reduce the cost for large n to (c + n)(log cn)^2+o(1) operations. All of these algorithms take constant time, i.e., time independent of the input coefficients for any particular (n, c).

What the authors are doing is (in the simplest sense) adding a worst case O(1) component to the GCD algorithm in the exponent. This is fundamentally a complexity theory paper, and Bernstern and Yang are using "constant time" in the complexity theoretic sense.

Moreover this is not about clever implementation; the algorithm they present will explicitly not take the same amount of time regardless of the input. In line with the presented complexity analysis throughout the paper, the worst case running time is asymptotically bounded independently of inputs n and c.

comment 7y ago · link · parent

As a counterpoint, it drives me nuts when I see a graveyard of deleted comments on reddit. Do you want all your activity to vanish or do you just want to disown the username?

I think a fair compromise would be to simply delete the account name associated with comments.

comment 7y ago · link · parent

Adding this here as it may be of related interest for those who enjoyed the massive math cheat sheet on the front page recently. Evan Chen, a math student at MIT, wrote up what would be considered field notes for higher mathematics. The full PDF is here[1], complete with a dependency graph showing what you need to know before reading any particular section.

____________

1. https://usamo.files.wordpress.com/2019/02/napkin-v15-2019022...

178.

An Infinitely Large Napkin(web.evanchen.cc ↗)

148 points · by throwawaymath · 7y ago · 32 comments

comment 7y ago · link · parent

Extremely common. Most hedge funds buy what's called "alternative data" from vendors who aggregate it, like 7Park. The data is collected by providers who collect it from location telemetry, web scraping, satellite imagery, etc. Scraping from web applications is one of the more common forms.

The more successful quant funds will often build out internal research teams to do this. For example, both Two Sigma and Millennium have (not so well advertised) research teams devoted to this kind of data collection internally.

comment 7y ago · link · parent

That's what mechanical turk is.
1
567
54