Better HN
topnewbestaskshowjobs
Log inSign up

xgk

88 karma · joined Aug 28, 2016 (10y ago) · 69 submissions

Submissions

comment 4d ago · link · parent

I think (but don't know) their initial funding came from gullible investors by appeal to Friston with the Royal Society connection, his high h-index and his charisma. The rest of the initial team looked very sketchy. Friston was literally sold as "He solved the secret of the brain" and the promise that what works for the brain will work for AI. With the initial funding they hired a lot of people, including my friend, along the lines of: "We are the next Bell labs, you are very smart, you can do whatever you like". (Which is a red flag.)

Here is a hilarious ICLR review of a VERSES paper "One might be forgiven for believing this paper was an exercise in H-index hacking" https://openreview.net/forum?id=o3huLE12q5

comment 6d ago · link · parent

They looked so sketchy. I warned a friend of mine to work there, but he ignored me.

I wonder what Gabriel and Dan are doing now?

And I never understood why they received so much funding.

comment 6d ago · link · parent

There have always been a lot of startups in the FEP space that make (made) huge claims (e.g. https://www.verses.ai/), then disappear ...

comment 6d ago · link · parent

How do those core FEP folks train their models, and can the results compete with LMs?

What I have seen in the past made me think that majority of them would not even know how to write a line of CUDA ...

comment 6d ago · link · parent

What makes EBM hard to train?

It took a long time (including the development of GPUs, then TPUs, not to mention domain-specific languages like JAX and PyTorch with associated compilers) and scale to train LLMs. EBMs have not yet seen this level of decades of 'full-stack' optimisation.

comment 6d ago · link · parent

That's also my default assumption: P(x) ∝ e^(−E(x)) Or, in more detail,

    E(x) = −log P(x) + constant
If that's the correct interpretation, then the main advantage of energy-based methods over strictly probabilistic methods seems to be that, since the energy function does not need to integrate to one, it can be parameterised with any nonlinear regression function. That means density estimation is basically a nonlinear regression problem.

This is the interpretation in [1]. I am not sure, however, if the paper here is an unnormalised probabilistic model.

[1] Y. Song, D. P. Kingma, How to Train Your Energy-Based Models. (2021) https://arxiv.org/abs/2101.03288

comment 6d ago · link · parent

The paper does not seem to define what Energy-Based means. The paper says: "EBMs learn a scalar function that assigns an energy to a candidate prediction given an input." What codomain do those learned scalar function have? I guess real numbers? But is "Energy" just a synonym for the reals?

comment 1w ago · link · parent

Interestingly, CXMT (ChangXin Memory Technologies) also started with Siemens technology: CXMT bought a big DRAM patent portfolio from Polaris Innovations, a Canadian patent-monetisation firm. The patents were originally from Qimonda which used to be Infineon. Qimonda’s Xi’an R&D center, with 400-500 engineers, was one of the largest Qimonda built outside Germany. After Qimonda’s collapse, their the whole Xi’an R&D center was acquired. In addition, CXMT successfully attracted Karl-Heinz Kuesters, a senior engineer, from Qimonda’s German site to Hefei, China. Kuesters had spent 24 years as a VP of technology and pre-development across Siemens, Infineon, and Qimonda.

comment 1w ago · link · parent

Distance-based ISA, which is the essence of belt-machines, is currently subject of intense R&D in Japan, see e.g.:

https://www.sigarch.org/distance-based-isa-for-efficient-reg...

comment 1w ago · link · parent

Interaction nets are a representation of proofs in Girard's linear logic and have well-understood proof-theoretic properties.

https://en.wikipedia.org/wiki/Interaction_nets

comment 3w ago · link · parent

CPython could agree, and they have been asked to do so. But they refuse, because it would be a lot of work.

comment 3w ago · link · parent

PyPy's problem with slow startup is, in principle, easily fixable.

When it was created, PyPy did not seek to optimise startup performance. Instead, its aim was steady-state performance of JITed code, and it succeeded handsomely. A conceptually simple fix would be to optimise traces in one processor core, while the interpreter runs in another. Once when the trace is finalised, does interpretation stop and switch to native execution. But PyPy is currently a sequential system and making it parallel, while conceptually easy, is a lot of work and needs a rewrite of the whole system. But, for better or worse, the PyPy team does not have the resources to do this.

The other of PyPy's big performance issues (Python code using a lot of FFI calls via a suboptimal FFI) is also, in principle, easily fixable. But this is a social problem: the Python community would have to move towards better FFIs.

In principle, it would also be easy to fix PyPy's resource problem. I am not sure about the social problem ...

comment 1mo ago · link · parent

I wonder if Claude does the brute-forcing directly. I think what's more likely is that Claude is synthesising programs that brute-force, albeit with interesting heuristics.

comment 1mo ago · link · parent

https://en.wikipedia.org/wiki/CompCert

comment 5mo ago · link · parent

Mixture-of-Expert (MoE) was introduced in the 1990s [1, 2], see also [3, 4]. The idea was that MoE scales up model capacity and only introduces small computation overhead. MoEs did not become viable for high-performance applications until sparse routing was integrated with modern deep networks, made possible by large-scale distributed computation. The breakthrough came with the development of sparsely gated networks [5], which showed that it is possible to maintain model accuracy while activating only a small fraction of a large parameter network during both training and inference.

[1] R. A. Jacobs, M. I. Jordan, S. J. Nowlan, G. E. Hinton, Adaptive mixtures of local experts. (1991)

[2] M. I. Jordan, R. A. Jacobs, Hierarchical mixtures of experts and the EM algorithm. (1993)

[3] L. Xu, M. Jordan, G. E. Hinton, An alternative model for mixtures of experts. (1994)

[4] S. Waterhouse, D. MacKay, A. Robinson, Bayesian methods for mixtures of experts. (1995)

[5] N. Shazeer, A. Mirhoseini, K. Maziarz, A. Davis, Q. Le, G. Hinton, J. Dean, Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. (2017)

comment 8mo ago · link · parent

Indeed, that is the standard approach. It is also how some of the aforementioned languages desugar opaque type synonyms during compilation. It has the slight disadvantage that we can no longer use variables like

    x
in some situations, but need to use

    x._polynomials_gf_2
or whatever is the structure's field name. It is nice to avoid this boilerplate, which can become annoying quickly. Let the type-checker not the human do this work ...

> You do not need another language for this.

By the Church-Turing thesis you never need another language, but empirical practise has shown that the software engineering properties we see with real-world code and real-world programmers differ significantly between languages.

comment 8mo ago · link · parent

There are even more algebras on the same bits, when you take signed integers into account, such as saturating arithmetic.

One interesting programming language construct that might be useful in this context are Opaque Type Synonyms, a refined form of C's typedef, which modern languages like Rust, Haskell, Go or Scala offer. This allows the programmer to use the same underlying types (e.g. int), give it different names, and define different algebras with the alias. The typing system prevents the different aliases accidentally to flow into each other. Of course that alone does not help to manage the profusion of algebras over the same bits. I think a better approach for a high-level programming language is to follow assembly and really use different names for different operations, e.g. not have + build in. Instead use explicit names like add_uint32, add_polynomials_gf_2, add_satur_arith, etc etc. The user can then explicitly define (scoped) aliases for them, including +, as long as the typing system can disambiguate the uses. The Sail DSL for ISA specification (https://github.com/rems-project/sail) does this, and it is nice.

comment 8mo ago · link · parent

> CPUs actually implements 5 distinct data types

Yes, that's true, but the registers themselves are untyped, what modern CPUs really implement is multiple instruction semantics over the same bit-patterns. In short: same bits, five algebras! The algebras are given by different instructions (on the same bit patterns).

Here is an example, the bit pattern 1011:

• as a non-negative integer: 11. ISA operations: Arm UDIV, RISC-V DIVU, x86 DIV

• as an integer residue mod 16: the class [11] in Z/16Z. ISA operations: Arm ADD, RISC-V ADD/ADDI, x86 ADD

• as a bit string: bits 3, 1, and 0 are set. ISA operations: Arm EOR, RISC-V ANDI/ORI/XORI, x86 AND.

• as a binary polynomial: x^3 + x + 1. ISA operations: Arm PMULL, RISC-V clmul/clmulh/clmulr, x86 PCLMULQDQ

• as a binary polynomial residue modulo, say, x^4 + x + 1: the residue class of x^3 + x + 1 in GF(2)[x] / (x^4 + x + 1). ISA operations: Arm CRC32* / CRC32C*, x86 CRC32, RISC-V clmulr

And actually ... the floating point numbers also have the same bit patters, and could, in principle reside in the same registers. On modern ISAs, floats are usually implemented in a distinct register file.

You can use different functions in C on the bit patterns we call unsigned.

comment 2y ago · link · parent

> China’s terrible demographics

Are China's demographics appreciatively different from other industrialised countries? Questionable. Not to mention that it's unclear why an aging society is a problem at least for the next 100 years or so (e.g. most violent crime is perpetrated by the under-30s). It's also easy, at least for a dictatorship, to increase the birth rate (e.g. restrict access to all birth control, give massive preferences to families with children, like housing, salary, "bachelor tax" etc).

> military containment of China.

That is expensive. One frequently cited explanation for the collapse of the Soviet Union was that its poor economy could not support its oversized army, which it needed to keep the Soviet Bloc at heel (not to mention all the revolutions and secession movements it fostered elsewhere).

Also, does anyone actually believe that China is expansionist? Compare:

https://en.wikipedia.org/wiki/List_of_wars_involving_the_Uni...

https://en.wikipedia.org/wiki/List_of_wars_involving_the_Peo...

The strategic problem of China's rise is more that other countries will eventually switch allegiance away from the West.

comment 2y ago · link · parent

> In terms of design, China has world class companies.

And not just companies. This is currently the world's top open-source RISC-V development https://github.com/OpenXiangShan coming from the Chinese Academy of Science.

(Whether China will remain investing in RISC-V, given that the US government has started to pressure US RISC-V development to limit their involvement with China is another question.)

comment 2y ago · link · parent

An alternative explanation might involve both of:

1. Stopping technology transfer worked exceedingly well for the west weakening the Soviet Union during the Cold War.

2. A distinct lack of (non-violent) alternatives for the West preventing China becoming the world's leading technological superpower (and hence also strongest military).

I doubt this will be successful in the long run, because China is not burdened by the Soviet Union's extremely inefficient way of organising its economy. Not to mention that China is the worlds biggest market.

comment 2y ago · link · parent

Sorry, I should have said: ... (row)hammer hard enough, every sufficiently dense/modern DRAM ...

comment 2y ago · link · parent

I think if you (row)hammer hard enough, every DRAM will eventually flip a bit.

comment 2y ago · link · parent

This is misleading.

I recommend [1] as an introduction to the semiconductor physics behind the Rowhammer problem. Rowhammer is an instance of the "weird machine" problem behind many security problems, i.e. a mismatch between two abstractions: the abstraction we pretend describes the system, vs the reality of the system. In the case of Rowhammer, that is the abstraction of memory as a digital device, against the reality of storing bits with capacitors and wires, ie. analog devices. Clearly a leaky abstraction. The denser you pack those capacitors and wires, the more leaky.

[1] A. J. Walker, S. Lee, D. Beery, On DRAM Rowhammer and the Physics of Insecurity. https://ieeexplore.ieee.org/document/9366976

comment 2y ago · link · parent

Agree. The extreme secrecy of DRAM manufacturers about the innards of their chips puts an additional obstacles in the way of memory controllers (MCs) implementing efficient Rowhammer defences. In particular, if the MC doesn't know which addresses are corresponding to neighbouring rows, how can an MC know with certainty that any concrete row is being attacked? (And, to the best of my knowledge, DRAM manufacturers don't give away this information.)

comment 2y ago · link · parent

The possibility of flipping bits in DRAM in a Rowhammer like fashion, was known in the DRAM industry since at least the 1990s (sorry, no reference handy), and Rowhammer-like access was used in DRAM quality testing.

As silicon density increased, the issue became more urgent.

comment 2y ago · link · parent

It has been possible to re-purpose such additional refresh cycles as an additional Rowhammer attack vector, see https://www.usenix.org/conference/usenixsecurity22/presentat...

comment 2y ago · link · parent

Have you ever seen any even moderately detailed specification of what the DRAM manufacturers do in this regard? I have not, and I looked. I am deeply sceptical ....

I don't believe that Rowhammer mitigations happen inside the DRAM chips themselves, I think that they are being put into the memory controller that talks to DRAM. Since DRAMs with built-in Rowhammer defences would have to spend transistors on this defence, those transistors would be 'wasted' in situations where Rowhammer is not part of the attacker model.

comment 5y ago · link · parent

   On one side ...
   On the other side ...
Only one of those sides has children in substantial numbers, so this polarity will sort itself out over longer time scales. As somebody living next to a primary school in a very progressive city I already see this in a big way!
123