Monday, January 29, 2024

Centralization, Decentralization, and Digital Public Infrastructures

 


Centralization, Decentralization, and Digital Public Infrastructures 

with apologies to Mark Nottingham, https://www.rfc-editor.org/rfc/rfc9518.html

Through the Control/Power Lens.

Governments have typically centralized control of the things that governments do-  raising tax to fund provision of certain services - education, health,  transportation, defence, and even in the not too distance past, telecommunications. Decentralised government (e.g. syndicalism) has been rare. On the other hand, most governments in recent history have left domains outside of government to markets or communities, although not without some (perhaps limited) regulation or control of governance. 

In the past, communities have built cooperative ventures (shared barns, shared savings and loans) and more recently community networks and power grids.

Through the Economic Lens

Markets often espouse competition where multiple providers offer  equivalent products and services. Various models exist for central versus decentralised economies.

There's interaction between government and economy,  through regulation, especially when  threat of monopoly, or even just oligopolies, through coercion, government v. companies w.r.t making sure market operates transparently, efficiently and fairly. (see later feds v. apple, and in the UK, IPA v. GDPR.)

Through law, government may also provide citizens with Agency, Representation, Redress.Of course, there are good and bad government, and typically this can show up in terms of poor practice, or deliberate removal of rights (to agency or redress, e.g. concerning unfair treatment, including exclusion etc 

Governments may be good now, but bad later, or vice versa. It is not an accident that Germany has the strictest privacy laws in the world, it was as a result of their past experience of East Germany under the Stasi. They are not so naive as to believe that that couldn't happen again one day (sadly).

Through the Technology Lens

The Internet is probably the best example of something that had been largely a decentralised system for decades.


Horizontal - services - interoperation/federation

E-mail, web, name spaces

Vertical - stacks - silos

cloud, social media, online shopping, entertainment

Horizontal systems are somewhat decentralised (or at least distributed) whilst in some informational sense, vertical systems are somewhat centralised.

Through the Information Lens

Where is data, is orthogonal to who can read it, who can alter it.ownership and control depends on access, and access control, and legibility. So whether I can get at my, or your data depends on my role and my privilege level but also whether I can then actually decode your data depends on my having the right software.

At some level, we can expect most data today to be encrypted , at rest, during transfer and even while processing. Protection through access control is not sufficient, since there are mistakes, insider attacks and coercion. Software has vulnerabilities. Hence we employ keys, and encryption/decryption depends on having both data and relevant keys.

One step further, who has accessed the data, and who has been able to decode the data is part of audibility (who can see who can see - Quis custodiet ipsos custodes?  etc)

If the user controls the keys, they may not care too much where the data is (except for potential denial of access) since others copying the data will not be able to decode it. On the other hand, if the government keeps copies of keys, then they can access any relevant data, wether it is central or decentralised. Of course, if the government accesses my data o my computer, I may be aware of that (through audit trails). but that might not do my much good in the face of a "bad" government. 

There are two separate aspects of identity systems where visibility of data matters, in terms of threats to citizens from bad actors: firstly, foundational id provides linkability across surveillance of actions (voting, signing on to services, etc) so exposes the individual's digital footprint to long term analysis; secondly, functional id includes particular attributes (age, gender, race, religion, licenses to operate vehciles, medical, academic qualifications etc etc), which offers opportunity to discriminate (treating groups preferentially or excluding or reducing rights of other groups etc etc). A bad actor doesn't need the whole government (or its service providers) to misbehave - just that systems are poorly designed so that insiders can exploit vulnerabilities). The perception of this possibility is enough to create distrust, and disengagement, which itself will mitigate against vulnerable groups in society more than privileged.

Through the Efficiency Lens

We can put all the data in the world in one place, or we can leave it where it was originally gathered. This is a choice that represents two points on a spectrum of centralized versus decentralized data. One can also copy the data to multiple places.

There are efficiency considerations in making this choice, which entail more energy, higher latency, lower resilience, worse attack surface,  and potential for catastrophic mistakes, when taking the centralised path. The decentralised path reduces these risks, but still requires one to consider copies for personal data resilience.

These choices are orthogonal to the access choices, which merely concern who has rights ad keys, and where they keep those, not who holds data where.


Conclusions, regarding Alternative Solutions in the Digital Identity Space

A digital public infrastructure such as an identity system needs to be trusted (so people use it), and therefore considerations about whether the user base trust the government or not matter.

If we don't trust the government, we might choose a decentralised system, or at least a system with decentralised keys (like the Apple iCloud eco-system).

The question of whether there should be one provider, or six, or 10 billion is orthogonal to this trust, although it does impact resilience and latency, i.e. efficiency. If the keys are owned by users, then this impacts governments'  ability to use identity data (attributes, and identity usage) to plan, whether for good or bad. That said, some privacy technology (e.g. FHE or MCS)  combined with decentralised learning might allow non privacy invasive statistics  to be gathered by a centralised agency (i.e. government) without actual access to  individually identifying attributes. A good example of this was the  Google Apple Exposure Notification system designed for use for  digital contact tracing during Covid, which could have been adapted to offer statisticcal information (e.g. differentially private) if necessary (though it wasn't used that way in practice).

All of this leads to the question about who provides key management, and a related question of certification (i.e. why should we trust the key management software too). One solution to this is to provide a small (e.g. national scale) set of identity services, but a decentralised key management system that can also be used to federate across all the identity services (cross-border/ or between state and private sector).One technology that we built to provide that independent key management for identity systems is trustchain[1], which is a prototype that services to replace a (somewhat) centrally owned platform such as Web PKI.

An interesting oligopolistic system that offers somewhat decentralised certificates is the Certificate Transparency network (of about 6 providers) that sign keys for the Internet -- this arose because the previously centralised CAs were hit by attacks which caused major security breaches in the Internet. We would argue that a similar scale system for key management and certification for digital identity is evidentially the bare minimum for acceptability for any trustworthy system.

Whether the system infrastructure itself is decentralised or not is a separate question which concerns efficiency, and, perhaps, some types of resilience (Estonian Digital Citizenship systems are distributed over several countries for backup/defensive/disaster recovery reasons).

[1] trustchain is a prototype that is based on ION and makes parsimonious use of the bitcoin proof-of-work network to provide decentralised trustworthy time, and then can create/issue keys in a way not dependent on any central provider or service, resilient to coercion, collusion and sybil attacks. We are currently investigating replacing the proof-of-work component with TimeFabric, which itself depends on a ledger, but can use a proof-of-stake or proof-of-authority and is therefore massively more sustainable.


Thursday, January 11, 2024

Replacing the Turing Test with the Menard Test

 In Borges short short tale, "Paul Menard, author of the Quixote", he reports on the astonish tale of the 19th century author, who livs a life so exemplary in the literal sense that it is exemplary of what the author of the classic work, Don Quixote should be like, that when Menard produces the Quixote, it is not a copy of the work by Cervantes, but a better work, despite being word-for-word identical. But it is not a copy, it was made through the creative efforts of Menard, based on his experiences and knowldge and skills.

Imagine an AI that was trained i n the world, not on a large corpus of text, so that it didn;t just acquite a statistical model of text, but acquired an inner life, and then could use that inner life to create new works.

Imagine such an AI was able to produce, for example, a book called Don Quixote, without having read the work by Cervantes.

That AI would necessarily contain a model of Cervantes, or at least something that had many of the same elements.

This model of a creative human is quite different from a model of lots of blocks of text, which can be regurgitated with many small variations, but are, of necessity, merely stochastic parrots.

Was one to interrogate the true creative AI, it might respond with other works, that Cervantes might have written, if he were still around.

A similar AI with an inner life, that modelled, say, Schubert, might be capable of completing symphony number 8, or another, with the "eye" of Jackson Pollock, might move from abstract expressionism, to hyper-realism one day.

Such AIs might be able to introspect (e.g. in the manner of Alfred Hitchock, when interviewed by Francois Truffaut about why he used certain approaches for sense in his film).

Such systems would really be interesting, and not rote learned in how to pass trivial Turing Tests.


Tuesday, January 02, 2024

AI predictions with the possibility of fairness?

 There's a bunch of work on impossibility results associated with machine learning and trying to achieve "fairness" - the bottom line is that if there is some characteristic that splits the population, and the sub-populations have different prevalence of some other characteristic, then designing a fair predictor that doesn't effectively discriminate against one or other sub-population isn't feasible.


one key paper on the impossibility result covers this (alternative is to build a "perfect" predictor, which is kind of infeasible).


On the other hand, some empirical studies show that this can be mitigated by building a more approximate predictor/classifier, perhaps, for example, employing split groups and even to try to achieve "fair affirmative action" - this sounds like a plan, but (I think - please correct me if I am wrong), assumes that you can

  • work out which group an individual should belong to
  • know the difference in prevalence between the sub-groups
Suggests also to me that it might be worth looking at causal inference over all the dimensions to see if we can even determine some external factors that need policy intervention to, perhaps, move the sub-populations towards having equal prevalence of those other characteristics (high school grade outcomes, risk of re-offending, choose your use case)....

I guess one very important  value of the work above is to make these things more transparent, however the policy/stats evolve.

Monday, December 04, 2023

Just what is autonomy (in an automated system like an embodied AI, Robot or even Human Proxy)?

 Something or someone (a proxybot) carries out an action "on behalf of someone" at some distance in space and time from the person issuing the instructions. They were given instructions on what to do, including contingencies for varying circumstances. What level of autonomy does this represent, if the proxybot can vary what they do if the circumstances are not precisely any of those foreseen? 

(If this, then that, otherwise...)

Of course, the proxybot programmer could try to foresee the universe of possibilities, or could include "failsafe" alternates, or describe overall / overarching principles for decision making in the presence of novel situations (ethical envelopes, so to speak).

But the instrument is still an instrument, and not really autonomous. It is an agent of the orginator. Just because it is removed in space and/or time does not reeuce the agency of the programmer, surely? Unless the programmer and proxybut "agree" to handover agency: but what would such a handover look like? how would you know?

Monday, November 20, 2023

scholastic parrots

 having a conversation in the Turing with my mentor and discussing whether LLM is just AGI because AGI is "just" statistics, and also "just passed the Turing Test"....and we both observed that most interactions we have with other GIs (human intelligences) are pretty dumb.

so my main concern with this is the usual repetition of the Theodore Sturgeon comment about most SF being pretty terrible, and he responded with "most everything is pretty terrible". Intelligence is rare - most GIs can exhibit it, but only do so very occasionally, as intelligence is really not often very useful - habit is much more useful (thinking fast, rather than slow, is a survival trait according to kahenman and tverski).

so like many things, smartness is zipf/heavy tailed - 

the title of this entry refers to scholarly works - most papers are cited less than once. A few papers get tens of thousands of citations.

So you train an LLM on the common crawl, or on the library of congress, and the majority of stuff you've trained it on isn't even second class, it is just variations of the same thing.

This isn't model collapse - this is an accurate recording of a model of what most people's visible output looks like. Dim, dumb, and dumber. So what?

Well, going back to the Turing test, if you, an Average Joe, pick an LLM at random, prompt it with some average prompts and compare it to the average GI, you will unsurprisingly conclude the LLM has passed the turing test.

But what if you had Alan Turing (assuming still alive) at the other end of the GI teletype, I ask? and what if you got Shakespeare and Marie Curie and Onara O'Neil to ask some questions of it and the LLM.

Then I suspect you'd find your LLM was a miserable failure, like the rest of us. Except that every now and then, we rise to the occasion and actually engage our brains, which it cannot do.

Tuesday, October 24, 2023

In-network processing - do we ever really need it?

 We've looked at this problem from several sides now - to solve the "incast", to do aggregation for map/reduce or any federated learning platform, to aggregate acknowledgements for PGM.

When we say "in-network", we're talking about in-switch processing - borrowing resources from the poor P4 switch to store and process multiple application layer packets worth of stuff, so that only one actual packet (or at least a lot less) needs to be sent on its way.


So how about we compare with multicast (in network copying) and its (largely) replacement by CDNs/overlays.

Key point is branches in the net - this is where the "implosion" (for incast) or "explosion" (for multicast) happens:

So do we have a server nearby? Or can we just put one there (or just connect one there?


Answer is (for multicast yes:

netflix/pops in wide area - use distribution trree to all pops, and caches

So in data center: 

use servers, not switches and build sink forest of trees

clos system, connect servers to local switch, top of rack, and spine switch/server...then for servers at some level, use a node at the next level up as aggregation server (note Clos even has redundancy so this will survive edge/switch outages)

Friday, October 13, 2023

Unseeing like a State

 Just read Seeing like a state, by James C. Scott.  Incredible scope and vision for what is often, but not always) wrong with "tech" led solutions - though in a very broad sense. - looks at imposition of regularised/normalized villages, farming, transport, city structures and so on, especially by "developed" world on the (frequently) completely inappropriate contexts of colonies but also post colonial, self imposted. From russian collective farms, to modernist cities like Brasilia, from mono-culture farming to single-minded, wrong-headed cultural impositions, an amazing read!

It basically makes it pretty obvious why the following stuff happens:-

Tim Wu's Eyeball Bandits

Ian Hislop's Fake News

Doctorow's Drain Overflow


Basically, the Internet users are the hunters and gatherers that just got fenced in and collectively farmed, like ants. Grate.

Monday, September 25, 2023

boxing clever with AI

 There was this AI creative challenge where the you had to figure out things to do with 4 objects, as follows:

A box, a candle, a pencil and a rope


Here's my 3 proposals:

1. Draw a still life on the box of the candle and the rope so that it looks like 3D (i.e. draw on all 6 sides of the cube, with the pencil)

2. make a clock out of setting fire to the candle, the rope and the pencil - they will burn at different rates and you could mark out the seconds, minutes and hours with box lengths, then sit on the box, passing time

3. Have a boxing match between the pencil and the candle, in a ring made by the rope.

Thursday, September 21, 2023

dangerous AI piffle...

 So what's a dangerous model?


The famous equation, E=mc^2 is dangerous - it tells you about nuclear power, but it tells you about A-bombs too.

This famous molecular structure dangerous too - it tells you about DNA damage, but it tells you about eugenics too.

[picture credit By Zephyris, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=6285050]


So we had Pugwash and Asilomar, to convene consensus not to work on A bombs and not to work on recombinant DNA. Another example - the regulator has just approved exploiting the RosebankUK oilfield, despite that solar and wind power are now cheaper than fossil fuel, and that COP26 made some pretty clear recommendations about not heating the planet (or losing biodiversity) any more.

What would a similar convention look like for AI? Are we tallking about not using Generative AI (LLMs, Stable Diffusion etc) to create misinformation? really? seriously? that's too late - we didn't need that tech to flood the internet and social media with effectively infinite amounts of nonsense.

So what would be actually bad? well, a non explainable AI that was used to model climate interventions and led to false confidence about (say) some Geo-Engineering project, that made things worse than doing nothing. That would be bad. Systems that could be inverted to reveal all our personal data. That would be bad. Sytems that were insecure and could be hacked to break all the critical infrastructure (power, water, transportation, etc) - that would be bad. So the list of things to fix isn't new - it is the same old things, just applied to AI like they should have been applied to all our tech (clean energy, conserving bio-diversity, building safe resilient critical infrastructures, verifiable software, just like aircraft designs etc etc)...

n.b. the trivial Excel error that led to UK decision to impose austerity, that was exactly incorrect:-

Recall the Reinhart-Rogoff error:
https://theconversation.com/the-reinhart-rogoff-error-or-how-not-to-excel-at-economics-13646

So dangerous AI is a red herring. indeed, the danger is that we get distracted from the real problems and solutions at hand.


Late addition:- ""There's no art / to find the mind's construction in the face."

sad Duncan, ironically, not about Macbeth...

So without embodiment, AI interacts with us through very narrow channels - when connected to decision support systems, it is either via text, images or actuators, but there is (typically) no representation of the AI itself (it's internal workings, for example) so we construct a theory of mind, about it, without any of the usual evidence that we rely on (construction in the face...) to infer intent (humour, irony, truth, lie etc)

We then often err on the side of imparting seriousness (truth, importance) to the AI, without any supporting facts. This is where the Turing test, an idea devised by a person somewhat on the spectrum by many accounts, fails to give an account of how we actually interact in society.

This means that we fall foul of outputs that are biased, or deliberate misinformation, or dangerous movements, far more easily than we might with a human agent, where our trust would have to be earned, and our model of their mental state would be acquired over some number of interactions, involving a whole body (pun intended) of meta-data.

Of course, we could fix AIs so they did this too - embody them, and have them explain their "reasoning", "motives" and "intents"... That would be fun.


Monday, August 21, 2023

AI4IP

 


Plenty can and has been said about networks (&systems) for AI,  but AI for nets, not so much.


The recent hype (dare one say regulatory capture plan?) by various organisations for generative AI [SD], and in particular LLMs has not helped. LLMs are few shot learning that make use of the attention mechanism to create what some have called a slightly better predictive text engine. Fed a (suitably "engineered") prompt, they match an extension database of training data, and emit remarkably coherent, and frequently cogent text, at length. The most famous LLMs (e.g. ChatGPT) were trained on the Common Crawl, which is pretty much all the publicly linked data on the Internet. Of course, just because content is on the common crawl doesn't necessarily mean it isn't covered by IP (Intellectual Property - patents, copyrights, trademarks etc) or indeed isn't actually private data (eg. covered by GDPR), which causes problems for LLMs.

Also, initial models were very large (350B dimensions) which means most of the tools & techniques for XAI (eXplainable AI) won't scale, o we have no plausible reason to believe their outputs, or to interpret why they are wrong when they err. Generally, this causes legal, technical and political reasons that they are hard to sustain. Indeed, liability, responsibility, resilience are all at risk.


But why would we even think of using them in networking?

What AI tools make sense in networking?

ML

Well, we've used machine learning for as long as comms has existed - for example, training modulation/coding on the signal & noise often uses Maximum Likelihood Estimation to compute the received data with best match.

This comes out of information theory and basic probability and statistics.

Of course, there are a slew of simple machine learning tools like linear regression, random forests and so on, that are also good for analysiing statistics (e.g. performance, fault logs etc)


NN

But also traffic engineering has profited from basic ideas of optimisation - TCP congestion control can be viewed as distributed optimisation (basically Stochastic Gradient Descent) coordinated by feedback signals. But more classical traffic engineering can be carried out a lot more efficiently than simply using ILP formulations on edge weights for link state routing, or indeed, load balancers.

Neural Networks can be applied to learning these directly based on past history of traffic assignments. Such neural nets may be relatively small so explainable via SHAP or Integrated Gradients.


Gassian processes 

Useful for describing/predicting traffic, but perhaps even more exciting is Neural Processes which combine stochastic functions and neural networks, and are fast/scalable, and being used in climate modeling already, so perhaps in communications networks now? Related to this is Bayesian optimisation.


Bayes

Causal inferencing (even via probabilistic programming) can be used for fault diagnosis and has the fine property that it is explainable, and even reveals latent variables (and confounders) that the users didn't think of - this is very handy for large complicated systems (e.g. cellular phone data services) and has been demonstrated in the real world too.

Genetic Algorithms

Evolutionary Programming (GP) can also be applied in protocol generation - and has been - depending on the core language design, this can be quite succesful. Generally, coupled with some sort of symbolic AI, you can even reason about the code that you get.

RL

Of course, we'd like networks to run unattended, and we'd like our data to stay private, so this suggests unsupervised learning, and with some goal in mind, especially, re-enforcement learning seems like a useful tool for some things that might be being optimised.

So where would that leave the aforementioned LLMs?

Just about the only area that I can see they might apply is where there's a human in the loop - e.g. manual configuration - one could envisage simplifying the whole business of operational tools (CLI) via an LLM. But why use a "Large" language model? there are plenty of Domain Specific (small) models trained only on relevant data - these have shown great accuracy in areas like law (patents, contracts etc), user support (chatbots for interacting with your bank, insurance, travel agent etc). But these don't use the scale of LLMs nor are they typically few shot or use the attention mechanism. They are just good old fashioned NLP. And like any decent language (model) they are interpretable too.

Footnote SD: we're not going to discuss Stable Diffusion technologies here - tools such as Midjourney and the like are quite different, though often use text prompts to seed/boot the image generation process, so are not unconnected with LLMs.


Monday, August 07, 2023

re-identification oracle

 surely, chatgpt should be a standard piece of any attempt to show whether allegedly anonymised data is?

effectively it is a vantage point from which to triangulate (any and almost every angle)...

Friday, August 04, 2023

postman pidge

 I'm getting very tired of the infestation of sky rats (as germans call pigeons) in london - they make a mess, are unbearably stupid at getting in the way of cars and cyclists and pedestrians, and serve no obvious use - apparently, they taste so awful that none of the cats or urban foxes in our area will devour them. We need a solution fast.


I asked folks about putting up a hawk silhouette, but apparently this would scare off all birds indiscriminately and we have meadow grass for the express purpose of having some nice critters like our garden space, which any others do, when not flocked out by aforesaid grey menace.


I'm also not a fan of drone delivery systems - ok, for crop spraying or parcels going across to the Orkneys, that's fine, but in urban spaces, those quad copters are just too noisy.


I've considered getting a slingshot, to practice taking out both the pigeons and drones (2 birds with 1 stone, even - if one was lucky could crash the drone into the pigeon or vice versa) - could even be a game, but then there are the neighbours windows, and the people down below to worry about, so that probably doesn't fly (ha ha).

so then I thought about building drones with wings instead of rotors, and then, designing the drones to tackle the pigeons - even further, could we use pigeon as a form of biofuel for the drone, fitting them into the ecosystem in a special sustainable postal niche? seemed possible but tricky bio-engineering.

So then it occurred to me the answer was much more obvious, and more obviously darwinian. 

What we need is a hawk that looks like a pigeon, can cary more than a pigeon, finds its way like a pigeon, and lives on pigeons. Hopefully, the cross breeding programme can just be done right away and doesn't need any GM flocks, though in this case, I am not against it.

I can imagine a society of hawks (or perhaps falcons or some other raptor) living in a very aristocratic manner, serving humans as friends, not slaves, whilst the "cattle" are bred and kept high up on rooftops as fuel.  Cities would once more be adroned with beautiful creatures instead of ugly grey winged rodents, and the postal service would be quiet, prompt, and free, if occasioally stained with pigeon blood.


I can see no downsides.

Wednesday, August 02, 2023

The Enigma Variationals

 After many years of study, Scientists at the Alan Tuning Institute have finally decoded this machine, and we are now ready to show you, or indeed, play to you want it was originally intended for.



Many years ago, Edward Elgar the Elder was strugling to complete his final symphony and turned to his friend Curt Yödel, who was only able to contribute a theory that suggested that some compositions could be finished, but wrong, while others would be perfect, but unfinished. Of course, there was one famous prior, Tomas Albinionini, whose unfinished work, the Adagio Al Fresco was found written in the margins of the remains of the library of Eberbach, possibly scrawled there by the long dead monk, George Borgesi.

Alan Tuning found this keyboard in the belongings of Edward the Elder after his demise, and being familiar with Yödel's Unfinished Therem, devised his own approach to figuring out what El Gar may have been finguring out. His inspiration was that whilst the dominant and tonic notational semantics in use at the time relied on letters (A,B,C,D,E,F,G,H and so on), or even entire words ("doh", "ray" etc), these could easily be represented by numbers - for example, 1,2,3, or in the later case 646F68, if you didn't mind risking the wrath of the coven. Given this, one could work through all the combinations and pernotations that could be played on the keyboard, and evaluate whether they sounded plausible - this could be "fed back" to the player, via a small electric shock system, devised to deliver a higher voltage if the sound was sufficiently unpleasant, or a lower voltage, if the direction of travel (gradient) was promising.  This method of learning to play pleasing sequences became known as "voltage scaling" and was in use in the best sanitoria and conservatories such as the Sheboygan until relatively recently, when the Muskatonic link became more popular.

I've transcribed the piece here for the guitar, as it is easy to play than the old Enigma Keyboard, which frankly has atrocious action, and makes too much fret noise too. I've taken the liberty also of transposing it to the Allen Key.

Here is my modest attempt at the piece. I do hope you like the results - I had a super conductor.

You'll note that this is in Sonata form, and features several themes with recapitulations.

Tuesday, August 01, 2023

teaching CS topic X top down for X={networks, graphics, databases, operating systems...} but what about AI?

 computer science text books have often been written bottom up - start with hardware (here's a CPU, here's a disc, here's a link) and move from physical characteristics, through low level representation of data and processing properties (ISA, memory, errors, coding&modulation, etc) up through the layers of abstraction.


Then along came the pedagogic idea of teaching a couple of CS topics top down. Famous example is Kurose/Ross book on networks, and also Mel Slater and Anthony Steed's book on graphics

(start with web, start with ray tracing etc)

Other books have tried to do this for data bases, operating systems, and (to some extent) PL.


So what would a top-down approach to AI look like? eh? eh, Chat-bard, llamadharma, out with it.



Tuesday, July 25, 2023

differentially private high dimensional data publication - perhaps a common case

 imagine you have data about 100M people, that has around 1000 dimensions,

some binary, some other types statistically distributed in various ways, but lets just say kind of uniform random

so a given person as a pretty clear signature even if it is all binary - 2^1000 is a big space. i.e. a key that specifically very likely is different for each person

but imagine 10 of the dimensions are not binary, but (say) a value gaussian distributed, and 990 dimensions are basically 0 for most people, but 1 (or a small number) for each person, but for a different dimension 

so the 10 dimensions are a fairly poor at differentiating between individuals in the 100M population

but the remaining 990 still work really well. i.e. these are rare things for most people but different for different people, so still a very good signature

but say we want to publish data that doesn't allow that re-identification, but retains the distribution in te 990 dimensions -

so what if  we just permute those values between all the individuals? we leave the 10 values alone, but swap (at random) the very few 1s between fields with other fields (mostly 0s, a few 1s). for all 100M members of the population?

what's the information loss?

baiscally, we're observing that unaltered, and published the data in the higher but sparsely occupied dimensions has very strong identifying power, but very poor explanatory power....so messing with it this way, massively reduces the identification facet, but shouldn't alter the overal distributions over these diemensions (w.r..t the densley populated fewer (10) dimensions)


does this make any sense to try?

ref: PrivBayes

 Another way to think of this is that the low occupancy dimensions are unlikely to be part of causation coz they have poor correlation with anything else, mostly

Monday, July 17, 2023

National Infrastructure for AI, ML, Data Science

There's been a tension between super expensive 

HPC clusters and on-prem cloud style data centers for large scale computation since the e-Science programme 20+ years ago (just noting that as part of that, 

(We (Cambridge University Computer Lab) developed the 
Xen Hypervisor subsequently used by 
Amazon in their Cloud setup for quite a while, so there). 

The High Energy Physicists and
folks with similar types of computation have favoured buying expensive
systems that have astronomical size RAM and a lot of cores very close
to the memory. Not only are these super expensive (because they are
not commodity compute hardware) they are almost always dedicated to
one use and are almost always used flat out by those groups, perfectly
justifiably since the data they process keeps flowing.

Meanwhile, most people have tasks that can be classified as either
small (work on a fast laptop these days) or what we call
"embarrassingly parallel", which means they trivially split into lots
of small chunks of data that can be independently processed to (e.g.)
create models which can then be aggregated (or federated). These work
really well in Cloud Computing platforms (AWS, Azure etc).

However, public cloud is a pay-per-use proposition, which is fine for
a few short term goes, but not great if you have things that run for a
while, or frequently. Or if you are a member of a large community
(e.g. UK academics and their friends) who can outright buy and operate
their own cloud platforms in house (aka "on prem" short for on
premises). This is also true for any data intensive organisation
(health, finance etc).
There are operational costs obviously (but these are already in the
price of public pay-per-use clouds) that include energy, real-estate,
and staffing at relatively high levels of expertise.
However, most universities have got more than one such a service in
house already. And all are connected to the JANET network (which is
about to upgrade to 800Gbps, which continues to be super reliable and
just about the fastest operational national network in the world). So
they are sharable. THey also often feature state of the art
accelerators (GPUs etc) - these are also coordinated nationally in
terms of getting remote access as psrt of collaborating projects, so
that sign-on is fairly straighforward to achieve for folks funded from
UKRI- see UKRI facilities for current lists etc 

There are good reasons to continue this federated system of work
including 

  • better  resource utilisation and 
  • better cost aggregation as well as 
  • potentially higher availability 
  • (lower latency and 
  • lower power consumption) than nationally centralised systems.

  • The other reason that a widely distributed approach is good is that it continues to support teams of people with requisite state of the art computing skills, who are not distanced from their user communities, so understand needs and changing demands much better than a remote, specialised and elite, but narrow facility.

Since a principle use of such facilities is around discovery science,
it is unlikely to be successful in that role if based on pre-determined designs based 
on 10-20 year project cycles such as the
large scale computational physics community embark on. This is not,
however, an either/or proposition. We need both. But we need the bulk
of spending to target the place where most new things will happen,
which is within the wider research community
pre-determined designs based on 10-20 year project cycles such as the
large scale computational physics community embark on. This is not,
however, an either/or proposition. We need both. But we need the bulk
of spending to target the place where most new things will happen,
which is within the wider research community

We have a track record of nearly 4 decades of having a national comms infrastructure 
which is pretty much best in the world - we can quite easily do as well for a compute/storage setup too.

Tuesday, July 11, 2023

Why is the design principles of the Internet are like Climate Interventions are like a bicycle helmet laws?

  1. For a long time, people argued about whether the Internet should have reliable, flow controlled link layers. In olden times, physical transmission systems were not as good as today, so the residual errors and multiplexing contention led to all sorts of performance problems. There were certainly models that suggested that for some regime of delay/loss, you were better off with a hop-by-hop flow control and retransmission mechanism. As the physical network technologies (access links like WiFi, 4G, Fibre to the home) and switches got faster and more reliable, the end-to-end flow control&reliability, and congestion control seem to be a more optimal solution (I'm tempted to add security here too!). But here's the key point I want to deliver - if we had built a lot of switches with additional costs of hop-by-hop (e.g. just one of many) mechanisms, we would have added a lot of latency, which would have led the network to take a lot longer to reach the operating point where a pure end-to-end set of solutions might never have come about - indeed the sunk cost in deploying, and maintaining much more complex switches and NICs would lean against the removal of such tech.
  2. So how is this like climate? Well, people are now sufficiently worried about global heating, and the failure to slow our emissions to anything approaching the necessary low to prevent even 2C temperatures, and worse, that chain-reaction effects may be imminent, that now we are re-visiting arguments for geoengineering, or what I sometimes call re-terraforming the Earth. One such mechanism involves seeding the upper atmosphere so that it reflects a lot more sunlight than currently - an affordable approach exists and could mitigate 1-2C of global heating almost right away. Aside from the downsides (for example, you might catastrophically interfere with precipitation so that things like the Monsoon could move by 1000s of kilometers and months), any such technology would also slow down the effectiveness of actual viable long term solutions like solar power generation. So the short term fix actually directly messes up the better answer.
  3. And how on earth can this be like bicycle helmet laws? So the arguments for wearing bicycle helmets are good - in the event of an accident, they definitely can save your life, or reduce the risk of serious brain injury. No question, there. There is a small amount of plausible evidence that cyclists who wear more visible safety gear do attract a slightly higher risk from drivers who drive closer, based on (unconscious bias) perception that the cyclist is less likely to do something random. That's not the main problem. Statistics from countries that make cycling helmets mandatory conclusively show a large scale reduction in the number of people that cycle, and this leads to a reduction in population health, both from reduced opportunities for exercise and from increased pollution from other modes of transport. Some of those people that don't cycle will actually die as a result of not wearing a helmet, in some sense. So the long term solution is to make cycling safer and to remove the need for personal, unsafe, cars or their drivers who are the root cause of the risk. Autonomous vehicles, and segregated bike lanes seem like things one should continue to argue for, rather than forcing a short term solution on people that is counter productive (i.e. reduces the inherent, healthy actual demand for cycling.).
So there you have it - the Internet Architecture is like Geoengineering and Helmets - as easy as falling off your bike,

AI everyday life skillz

 This extremely useful report from Ada Lovelace et al has lists of "AI" stuff that the public actually encounter - it just predate the hysteria about LLMs so it might change (a bit) if people were re-surveyed (though I doubt it, as this was well constructed being about lived experience more than hearsay and fiction)


nevertheless, it suggests we might want to assess the public readiness to cope with various new AI tech as it (slowly) deploys....


we can look at it through several lenses - the lens of every day includes smart devices (home, phone, health/fitness) and services (cloud/social/media - recommenders etc), and workplace (better software that reduces slog on boring tasks and integrates things nicely - especially stupid stuff like travel/expense claims, meeting&document org/sharing, fancy tricks to improve virtual meeting experiences etc), then there's state interventions (in the report above, face recog, but what about tax surveillance and the like).

of course, there's the trivial lens - that of your camera phone:-) enhanced by some clever lightfield tricks etc etc...


but if we are thinking longer term (5-50 years), what are the key lessons people should be internalising to reduce future shock?


to be honest, I have no idea, and I think climate is far more important than worrying about the LLM taking your job. unless you are a really bad wordmith.

Monday, July 10, 2023

Existential threads

 People who like being in headlines are clutching at straws when they talk about existential threats.

The latest in a long line of "we're all doomed" was trigged by the hype surrounding a new chatbot, mostly similar to the old chatbot, but with a slightly smoother line of patter. LLMs are not AI, or even AGI, they are giant pattern matchers.

In order of threats to things, my list is quite short

  • LLMs are a threat to journalists, as they reveal how few journalist actually do their job, and that job, therefore is at risk, from being replaced by a script, just like workers in call centers. Threat? tiny. When? Right now.
  • Nuclear Fusion Reactor - these actually could save the planet, and the tech is now mere engineering away from being deployable - just main problem is that that engieering is very very serious - more complex than, say, a 747/Jumbo Jet, which is typically a 20 year lead time. Nevertheless, these are. a threat to fossil fuel  industry. Threat: modest. When? 10-20 years off.
  • Quantum Computers - these are.a threat to some old cryptographic algorithms, for which we already have replacements. However, decoherence and noise are a threat to QC, so these may never happen. Someone clever might solve that, so let say 5-50 years, or not at all. Threat: miniscule.
  • Climate. catastrophe. already. right now. Threat: total; When: yesterday.
So there's my list. AGIs might happen if we survive all the above, or at least 3. You choose.

Monday, June 26, 2023

SF stories where individual choices impact the direction of a whole society....

 this isn't naive stuff (anti-marxist history) but more about how choosing specific technical lines of development might be the ultimate influence, viral meme etc -- so examples include

Simak's City

The Webster family bring about humanity's replacement by a society of smart dogs and robots.


Herbert's Dune

The Kwizts Haderach controls all the Spice in the universe.


Asimov's Foundation (at least 1.5 booksworth)

Hari Seldon's ghost manages 1000 years of the Empire's replacement.


Watson' Jonah Kit

People chose to believe a purposeless Universe, so the Whales leave to go to a better one.


Vonnegut's Cats Cradle

Felix Hoenikke creates Ice Nine. Lionel Boyd Johnson creates Bokononism


Hubbard's Scientology

L Ron makes up some truly daft stuff, that makes Pastafarianism look pretty sane.

add yours here...

Blog Archive

About Me

My photo
misery me, there is a floccipaucinihilipilification (*) of chronsynclastic infundibuli in these parts and I must therefore refer you to frank zappa instead, and go home