Showing posts with label Spark. Show all posts
Showing posts with label Spark. Show all posts

Saturday, June 30, 2012

Growing the Weavr feature-set: A story of algorithms and data visualization

After a comment by David Bausola, stating that any discussion of weavrs should include a conversation about the bot's feature-set, I went about looking for a way to optimize this creature given what I had previously discussed (i.e., emphasizing its machinic qualities). My initial direction was driven by two impulses. One, when I had first attempted to create a weavr, I had tried to 'upload' every possible conceptual connection into its little box of "What Words Define Who I Am?" Sadly, this approach failed miserably as there seemed to be some cap on the number of words I could input. Two, the weavr, in my mind, was a social tool that helps us simultaneously better understand our social mechanisms while decentrating those mechanisms away from their proto-human bias (e.g., intention, individuality, will, etc.). The goal not being to make 'Man' more like 'Machine,' but to obliterate the distinction altogether: sapiens machina.

Shortly after plunging into this exploration, I stumbled upon the work of Kevin Slavin, once again through CBC's Spark (179). It was a beautiful marriage. Slavin's discussion of 'algorithms as nature' only reemphasized my second motivating impulse: if something as stereotypically 'artificial' as an algorithm is in fact natural or a part of Nature--yes, the reified capital 'N,' Nature--then perhaps humanity had best reconceptualize the machine-human-nature relationship. That is, humanity's view of both 'Nature' and 'Machine' as diametrically opposed 'Others' is a serious hindrance to its self-conceptualization. It isolates the system from both its past (Nature) and future (Machine or hybrid) by making itself the indivisible divider: the Individual. Thus, for the very idea of 'algorithms as nature' to even make sense, one must decentralize their current conception qua relation to the 'world.'

In his Ted talk,  Slavin pushes this idea even further. Not only are  algorithms beginning to dominate on the internet, in economics, and even in culture, but they are producing in these domains in a way that is incomprehensible to humanity's current perceptions. When changes are thus occurring in the system, we cannot see them, predict them, or understand them. To use my own jargon: as the machinic level of organization gains ever increasing precedence, our need for an integrative approach, a language and framework, in which to operate in this domain is of the utmost importance.

With this problem in hand, I reapproached the discussion of the weavr's feature-set. If the weavr is a tool that can help our growing understanding of the machine-human-nature triad in the context of social mechanisms, it must in some way answer a particular question related to this problem. It must bring an implicit element of this relationship into an explicit manifestation. It must help us 'see.' However, I do not believe the weavr is so simplistic that it can only help us answer one question. Rather, it seems to have the flexibility to answer many depending on the context we impart to it. Thus, this context and its particular implementation is a key point. For the Encodingist, it is the point at which we breath 'life' into the organism. For the Interactivist, it is the framework in which an 'answer' will emerge and grow. And, in its current manifestation, it is more art (implicit) than science (explicit).

To anticipate a future critique: I have no problem with art and some might argue that art has explicit manifestations. It does. My point is just that the ambiguity of a gestalt does not offer the necessary formality needed to develop a framework for the language of the sapiens machina.

Perhaps, on the other hand, the distinction between science and art is a tad crude. Instead, it may be more accurate to say that the weavr needs more structure to better ground its implicit qualities. The goal, after all, when working at this level of abstraction and cross-domain integration (i.e., machine-human-nature) is to utilize the methods of both: to crystallize just enough of the raw potentialities that the underlying emergent qualities remain visible (i.e., do not stagnate in crystallization) but neither do they vanish in the vivid halo of a hallucination. The weavr is unique because it already sits at this intersection. This brings me to my second key point: the 'answer.'

Currently, we can gather a primitive answer by asking the growing weavr various questions, seeing what new emotions and their respective associations it has picked up, examining what it has stumbled upon on the web through its posts, etc. However, most of this is very distant from the original question as it was framed in the context we uploaded into the weavr's system. Words may repeat or appear. Certain vague patterns suggest themselves, but the creature is rather opaque. I lack a way to 'see' into the world of the weavr as it has changed through its interaction with its environment and self. Without giving it a series of questionnaires before and after certain time frames as I might a human, I am left in the dark. Thus, perhaps the construction of the weavr is overemphasizing the 'human' qualities of the system in order to demonstrate their ontology With this emphasis, it is easy to forget the beauty of the underlying formality of any digital structure. The architecture of the code and the digitized information offers the perfect entry point for further formalization qua  crystallization of emergent features. In less rigorously formalized systems like humans, this is much harder to accomplish. Thus, we must not forget the 'machine' part of the machine-human-nature interrelation.


On the other hand, it is possible to argue that the questions the weavr answers are not a part of the local system per se, but emerge through the way in which humanity interacts and responds to it a la Jon Ronson. I agree with this, perhaps, as a third point. However, even if this is the case, then there still needs to be a method in which we can examine these features. Perhaps a prosthetic that maps global patterns of behavior across different feature sets (e.g., other prosthetics). Perhaps one that allows a weavr to look through various search engines for reference to itself and comment on it. The more information that is mapped, the greater the number of relations, the better as far as I am concerned.

I choose to shirk the discussion of evaluation or quality because of the necessary context that must be presupposed. If we take information generically in whatever limited way we can, then sheer volume is beneficial as it allows for a multiplicity of contexts. It places less restriction on the questions that might be asked. In this case, more is better. But, this 'more' still requires a method of interpretation: a way to 'see.'

Data visualization is an area of study that fits perfectly into the framework in question. A Ted talk by David McCandless offers an excellent introduction and illustration of the field. In a nutshell, McCandless demonstrates that graphical metaphors offer an incredible way to condense massive amounts of data into comprehensible packages. It offers a clever method to make implicit phenomena blatantly explicit. It allows our natural processes to integrate our visually dominant, human-centric world with one of probabilities, statistics, and mass-scale data patterns: the machinic level of organization. Thus, data visualization or perhaps data design is the perfect language for the future sapiens machina.

One design framework or technique I commonly use to conceptualize abstract spaces, especially if they are highly interconnected or system-based, is an intersection of graph and set theory. I 'see' nodes and edges or bubbles and lines. Yet, I also see more than that. I 'see' sets of nodes and edges denoted by any type of pattern in the graph (e.g., a node, a cluster of nodes, a clusters of clusters of nodes, an edge, potential edges, external data sets/properties, etc.).

One way in which I could see an implementation of all of the ideas discussed here is through this framework. That is, rather than boxes or categories into which the user drops various words and still further categories that draw the relations between these words, give the user an elementary graph. Let them drop their words into bubbles and connect them via lines to other bubbles. When you want to add sophistication, allow the bubbles to represent clusters of bubbles (i.e., filter or restrict the current domain of inquiry). I like to think of this as collapsing dimensions in phase space. Then, as a second feature, allow the user to check back on this graph in future states and 'see' what new connections have developed or new nodes have appeared. Searching for self-references is but another way to further this map. And, allowing the maps to feed into one another (i.e., accessing another weavr's map through a node) would allow for even larger gradations of abstraction as you move up or down the ladder of organization (i.e., micro or macro patterns). In some way, I can see this as a development of a social semantic web.

In case this idea interests, there are a variety of python graph APIs that might be useful. This site has a link to a bunch of them. Not all have visualization features.





Pictures courtesy of:

Tuesday, June 26, 2012

Machinic: An illustration through Bausola's Weavr

Inspired by a podcast of the CBC radio show Spark, especially given my previous post, I have decided to expand the idea of machinic organization as it relates to David Bausola's weavr: a social bot. 

Nora of Spark starts her discussion with the observation that traffic on the internet is shifting from a predominantly user-based environment to one that is dominated by bots and their ilk. That is correct. Humans are no longer central in the framework of the internet. In some sense, we have been replaced by bots and not with a resulting decrease in quality. In fact, given that these bots aid in the creation of networks that support things like Google's search engine, one could argue that things have improved. A great deal of these bots are also maliciously related (e.g., spam bots) so one could argue in the other direction as well. It is a moot point whether this is for better or worse as it is happening regardless. The point is that not only was the persistence and functioning of the internet not tied to any particular individual, but it was not even tied to any particular system--where 'system' is used very abstractly to represent any organized assemblage of parts including humans and bots. Thus, the shift emphasizes or highlights what some have described as a decentration and one in which both humanity and individualism must be replaced by a framework of broader scope. In this ever changing landscape, the weavr comes to the fore.

The weavr is a strange bot that operates in social networks of various kinds. It defaults to having a blog and can be interfaced with Twitter. It dialogues, wanders around with Google maps, and draws associations between its 'interests,' 'emotions,' and various other associations (e.g., its position on Google maps and the position people are posting various materials from). On the broad side, it even dreams.

I simply adore this little creature and Bausola's emphasis on the idea of emergence is certainly invigorating. However, I recently had a shift that changes my relation to this idea as it relates to AI. The shift occurred with a thought that was similar to the following:

If a 'truly' novel intelligence on par with humanity were to be created, what benefit would come to humanity?


The thought stemmed from the work of Mark Bickhard. I briefly commented on a similar element of Bickhard's work in the latter part of this post. Briefly, Bickhard's critique of representation in the Encodingist framework results in the following dilemma: any construction qua representation that I overlay over this hypothetical 'super' AI must necessarily be separate from the functioning of that AI.

It is worth noting that I am neither being a phenomenologist nor an epiphenomenalist when I make the previous claim. It is an entirely different framework. To emphasize this, I will switch my use of the Encodingist 'representation' to the Interactivist 'anticipation' while relying, somewhat, on the common sense view of anticipation to get me through the analogy. The result follows: my anticipations of the AI are separate from the functioning of the AI much like my anticipations of other people are separate from the functioning of other people. The key point here is that my anticipations can be wrong and hence have to be separate. This "have to" is crude, but a more sophisticated discussion is beyond the scope of this post. I urge anyone who is interested to read Bickard's text for a much more detailed and eloquent rendition of the problem, especially Chapter 7, p. 55 and onward.

Given this framework, the 'super' AI, at the moment of its attaining this level of sophistication, becomes inherently 'Other' to me. But, this degree is just the beginning as even other humans can be 'Other.' There is also the difference of species: my framework of anticipations was built in interaction with other humans. And, though my association between the AI and humanity was originally justified in the construction of the 'AI as tool,' the 'AI as self-organizing/maintaining system' is outside of this domain. Thus, it warrants the description as 'truly alien.'


One could argue that we have at least elementary forms of such self-organizing systems and, as such, the transformation would not warrant the degree of 'Otherness' that I am proposing. However, I would argue that this is false. At most we have more sophisticated forms of 'AI as tool' that allow for modest degrees of self-organization in respect to a specific task. Simultaneously, then, I can push the requirements for this purely hypothetical 'super' AI further out by requiring that they posses the ability to be "recursively self-maintaining" a la Bickhard (p. 21).

Regardless, my point is that this transition of the AI from a tool to a functioning entity is not useful. First, the very idea that there could be a transformation is Encodingist: it is the magical transformation that takes a material substrate, 'AI as tool,' into the efficacious realm of a symbol manipulator, 'AI as individual or recursively self-organizing system.' In Interactivism, there is no such transformation. If anything is problematic, in the Interactivist context, it is systems that are more than locally self-organizing, which are more likely to be unwieldy. Thus, and to my second point,  I can only imagine how problematic it would be if I had to convince my calculator  to crunch numbers for me.

To return to the discussion of weavrs but in this new context, we can work towards a better conceptualization that does not have the Encodingist overtones of Bausola's infomorph while maintaining its machinic qualities. Weavrs are a new type of social tool. They emphasize the growing shift on the internet away from users and towards pseudo-autonomous functions by invading into a domain that previously excluded bots by definition: the social sphere. They also give us insight into some elements of how we as humans work, but not by possessing the individualistic properties of humans (e.g., intention). Rather, it is by showing that humans do not have those properties either.

This is the decentration. This is why it is called "machinic" organization. This is also probably why Jon Ronson got so upset about the weavr of the same name: not only does the weavr partially delegitimate the particular individual, it delegitimates all individuals even if just potentially (i.e., even if some future update may take it to this degree entirely but the current one is still too limited). Thus, I believe I can answer both Olivia Solon of Wired's question, "what do you think of weavrs?" and Bausola's question about what weavrs are in a single comment:

Weavrs are simply a tool for social exploration. But, by being such, they anticipate a time when all such exploration is relegated to their ilk. Through this anticipation they mark the end of humanity as organism... as 'system' par excellence and in place they speak of a time when a human-function is no more valuable than an AI-function and no less replaceable. This is of the utmost significance to both the study of AI and humanity as it relates to itself.



Pictures courtesy of:
http://www.goldrootherbs.com/2010/10/11/the-systemic-theory-of-living-systems-and-relevance-to-cam/
http://twitter.com/#!/PixelNinjWeavr
http://www.myjewishlearning.com/blog/rabbis-without-borders/2012/02/14/the-singularity-vs-the-gift-of-death/
http://www.evolo.us/architecture/architecture-designed-to-simulate-self-organizing-biological-systems/
http://www.flickr.com/photos/philterphactory/6829175342/