Variety, Part 1

The cybernetic concept of variety is enjoying some increase in usage. And that’s both in frequency and in a number of different contexts. Even typing “Ross Ashby” in Google Trends confirms that impression.RossyAshby_as_seen_by_GoogleTrends In the last two years, the interest seems stable, while in the previous six – it was non-existent, save for the lonely peak in May 2010. Google Trends is not a source of data to draw serious conclusions from, yet it confirms the impression coming from tweets, blogs, articles, and books. On the one hand, that’s good news. I still find the usage insignificant compared to what I believe it should be. Nevertheless, little attention is better than none. On the other hand, it attracts some interpretations, leading to a misapprehension of the concept. That’s why I hope it’s worth exchanging more ideas about variety, and those having more variety themselves would either enjoy wider adoption or those using them – more benefits, or both.

The concept of variety as a measure of complexity had been preceded and inspired by the information entropy of Claude Shannon, also known as the “amount of surprise” in a message. That, although stimulated by the development of communication technologies in the first half of the twentieth century, had its roots in statistical mechanics and Boltzmann’s definition of entropy. Boltzmann, unlike classical mechanics and thermodynamics, defined entropy as the number of possible microstates corresponding to the macro-state of a system.

Variety is defined as the number of possible states in a system. It is also applied to a set of elements. The number of different members determines the variety of a set. It can be applied to the members themselves, which can be in different states, and then the set of possible transitions has a certain variety. This is the first important property of variety. It’s recursive. I’ll come back to this later. Now, to clarify what is meant by “state”:

By a state of a system is meant any well-defined condition or property that can be recognised if it occurs again.

Ross Ashby

Variety can sometimes be easy to count. For example, after opening the game in chess with a pawn on D4, the queen has a variety of three: not to move or move to one of the two possible squares. If only the temporary variety gain is counted, then choosing D2 as the next move would give a variety of 9, and D3 would give 16. That’s not enough to tell if the move is good or bad, especially keeping in mind that some of that gained variety is not effective. However, in case of uncertainty, in games and elsewhere, moving to a place that both increases our future options and decreases those of the opponent seems good advice.

Variety can be expressed as a number, as it was done in the chess example, but in many cases, it’s more convenient to use the logarithm of that number (in case that sounds like a distant memory from school years, nowadays there are easy ways to refresh it in minutes). The common practice, maybe because of the first areas of application, is to use binary logarithms. When that is the case, variety can be expressed in bits. It is indeed more convenient to say the variety of a four-letter code using the English alphabet is 18.8 bits instead of 456 976. There is an extra bonus. When the logarithmic expression is used, varieties of elements are combined by adding instead of multiplying.

Variety is sometimes referred to and counted as permutations. That might be fine in certain cases but as a rule it is not. To use the example with the 4-letter code, it has 358 800 permutations (26 factorial divided by 22 factorial), while the variety is 456 976 (26 to the power of 4).

Variety is relative. It depends on the observer. That’s obvious even from the word “recognised” in the definition of state. If, for example, there is a clock with two hands that are exactly the same or at least to the extent that an observer can’t make the difference, then, from the point of view of the observer, the clock will have a much lower variety than a regular one. The observer will not be able to distinguish, for example, 12:30 and 6:03 as they will be seen as the same state of the clock.

Clock with indistiguishable hands

This can be seen as another dependency. That of the capacity of the channel or the variety of the transducer. For example, it is estimated that regular humans can distinguish up to 10 million colours, while tetrachromats – at least ten times more. The variety of the transducer and the capacity of the channel should always be taken into account.

When working with variety, it is useful to study the relevant constraints. If we throw a stone from the surface of Earth, certain constraints, including those we call “gravity” and the “resistance of the air”, would allow a much smaller range of possible states than if those constraints were not present. Ross Ashby made the following observation: “every law of nature is a constraint”, “science looks for laws; it is therefore much concerned with looking for constraints”.

There is this popular way of defining a system as something which is more than the sum of its parts. Let’s see this statement through the lens of varieties and constraints. If we have two elements, A and B, and each can be in two possible states on their own but when linked to each other A can bring B to another, third state, and B can bring A to another state as well. In this case, the system AB has certainly more variety than the sum of A and B unbound. But if, when linking A and B they inhibit each other, allowing one state instead of two, then it is clearly the opposite. That motivates rephrasing the popular statement to “a system might have different variety than the combined variety of its parts”.

If that example with A and B is too abstract, imagine a canoe sprint kayak with two paddlers working in sync and then compare it with a similar setting, with one of the paddlers rowing while the other holds her paddle in the water.

Yet, “is more than the sum of” can be retained but then another modification is needed. Here’s one suggested by Heinz von Foerster:

The measure of the sum of the parts is greater than the sum of the measures of the parts. One is the measure of the sum; the other is the sum of the measures. Take, for example, the measurement function “to square,” which makes this immediately apparent. I have two parts, one is a, the other b. Now I have the measure of the sum of the parts. What does that look like? a + b as the sum of the parts squared, (a + b)2 gives us a2 + 2ab + b2. Now I need the sum of the measures of the parts, and with this I have the measure of a (= a2) and the measure of b (= b2): a2 + b2. Now I claim that the measure of the sums of the parts is greater than the sum of the measures of the parts and state that: a2 + b2 + 2ab is greater than a2 + b2. So the measure of the sum is greater than the sum of the measures. Why? a and b squared already have a relation together

Heinz von Foerster. The Beginning of Heaven and Earth Has No Name (Meaning Systems) (p. 18)

And now about the law of requisite variety. It’s stated as “variety can destroy variety” by Ashby and as “only variety can absorb variety” by Beer, and has other formulations such as “The larger the variety of actions available to control system, the larger the variety of perturbations it is able to compensate”. Basically, when the variety of the regulator is lower than the variety of the disturbance, that gives high variety of the outcome. A regulator can only achieve the desired outcome variety if its own variety is the same or higher than that of the disturbance. The recursive nature mentioned earlier can now be easily seen if we look at the regulator as a channel between the disturbance and the outcome or if we account for the variety of the channels at the level of recursion with which we started.

To really understand the significance of this law, it should be seen how it exerts itself in various situations, which we wouldn’t normally describe with words such as “regulator”, “perturbations” and “variety”.

In the chess example, the power of each piece is a function of its variety, which is the one given by the rules and reduced by the constraints at every move. Was there a need to know about requisite variety to design this game? Or any other game for that matter? Or was it necessary to know how to wage war? Certainly not. And yet, it’s all there:

It is the rule in war, if our forces are ten to the enemy’s one, to surround him; if five to one, to attack him; if twice as numerous, to divide our army into two.

Sun Tzu, The Art of War

Let’s leave the games now and come back to the relative nature of variety. The light signals in ships should comply with the International Regulations for Preventing Collisions at Sea (IRPCS). The agreed signals have a reduced variety to communicate the states of the ships but enough to ensure the required control. For example, if an observer sees one green light, she knows that another ship is passing from left to right. If she sees one red light, it passes right to left. There are lots of states – different angles of the course of the other ship – that are reduced into these two, but that serves the purpose well enough. Now, if she sees both red and green, that means that the ship is coming exactly towards her. That’s a dangerous situation. The reduction of variety, in this case, has to be very low.

The relativity of variety is not only related to the observer’s “powers of discrimination”, or those of the purpose of regulation. It could be dependent also on the context. Easop’s fable “The Fox and the Stork”comes to mind.

Fables, and stories in general, influence people and survive centuries. But is it that do you need a story instead of getting directly the moral of the story? Yes, it’s more interesting, there is this uncertainty element and all that. But there is something else. Stories are ambiguous and interpretable. They leave many things to be completed by the readers and listeners. To put it in different words, they have a much higher variety than morals and values.

That’s it for this part.

And here is the next.

Reasoning with Taskless BPMN

Was it Lisbon that attracted me so much or the word Cybernetics in the sub-title or the promise of Alberto Manuel that it would be a different BPM conference? May be all three and more. As it happened, the conference was very well organised and indeed different. The charm of Lisbon was amplified by the nice weather, much appreciated after the long winter. As to Cybernetics, it remained mainly in the sub-title but that’s good enough if it would make more people go beyond the Wikipedia articles and other easily digestible summaries.

My presentation was about using task-free BPMN which I believe, and the results so far confirm, can have serious benefits for modelling of both pre-defined processes and those with some level of uncertainty. In addition, there is an elegant data-centric way to execute such processes using reasoners. Enterprise Architecture (EA) descriptions can be improved if done with explicit semantics. Currently, EA descriptions are isolated from the operational data and neither the former is linked with what happens, nor the latter get timely updates from the strategy. More on this in another post. Here’s the slidedeck1You can watch on YouTube the slides with animations (no voice-over) and a 7 min compilation of the talk.:

Requisite Inefficiency

In his latest article Ancient Wisdom teaches Business Processes, Keith Swenson reflects on an interesting story told by Jared Diamond. In short, the potato farmers in Peru used to scatter their strips of land. They kept them that way instead of amalgamating them which would seem like the most reasonable thing to do. This turned out to be a smart risk mitigating strategy. As these strips are scattered, the risk of various hazards is spread and the probability to get something from the owned land every year is higher.

I see that story as yet another manifestation of Ashby’s law of requisite variety. The environment is very complex and to deal with it somehow, we either find a way to reduce that variety in view of a particular objective, or try to increase ours. In a farming setting an example of variety reduction would be building a greenhouse. The story of the Peruvian farmers is a good example of the opposite strategy – increase of the variety of the farmers’ system. The story shows another interesting thing. It is an example of a way to deal with oscillation. The farmers controlled the damage of the lows by giving up the potential benefits of the highs.

Back to the post of Keith Swenson, after bringing this lesson to the area of business process, he concludes

Efficiency is not uniformity.  Instead, don’t worry about enforcing a best practice, but instead attempt only to identify and eliminate “worst practices”

I fully agree about best practices. The enforcement of best practices is what one can find in three of every four books on management and in nearly every organisation today. This may indeed increase the success rate in predictable circumstances but it decreases resilience and it is just not working when the uncertainty of the environment is high.

I’m not quite sure about the other advice: “but instead attempt only to identify and eliminate “worst practices”. Here’s why I’m uncomfortable with this statement:

1. To identify and eliminate “worst practice” is a best practice itself.

2. To spot an anti-pattern, label it as “worst-practice” and eliminate it might seem the reasonable thing to do today. But what about tomorrow? Will this “worst-practice” be an anti-pattern in the new circumstances of tomorrow? Or something that we might need to deal with the change?

Is a certain amount of bad practice necessarily unhealthy?

It seems quite the opposite. Some bad practice is not just nice to have, it is essential for viability. I’ll not be able to put it better than Stafford Beer:

Error, controlled to a reasonable level, is not the absolute enemy we have been thought to think of. On the contrary, it is a precondition for survival. […] The flirtation with error keeps the algedonic feedbacks toned up and ready to recognise the need for change.

Stafford Beer, Brain of the firm (1972)

I prefer to call this “reasonable level” of error requisite inefficiency. Where can we see this? In most – if not all – complex adaptive systems. A handy example is the way immune system works in humans and other animals having the so called adaptive immune system (AIS).

The main agents of the AIS are T and B lymphocytes. They are produced by stem cells in the bone marrow. They account for 20-40% of the blood cells which makes about 2 trillion. The way the AIS works is fascinating but for the topic here of requisite inefficiency, what is interesting is the reproduction of the B-cells.

The B-cells recognise the pathogen molecules, the “antigens”, depending on how well the shape of their receptor molecules match that of the antigens. The better the match, the better the chance to be recognised as antigen. And when that is the case, the antigens are “marked” for destruction. Then follows a process in which the T-cells play an important role.

As we keep talking of the complexity and uncertainty of the environment, the pathogens seem a very good model of it.

The best material model of a cat is another, or preferably the same, cat.

N. Wiener, A. Rosenblueth, Philosophy of Science (1945)

What is the main problem of the immune system? It cannot predict what pathogens will invade the body and prepare accordingly. How does it solve it? By generating enormous diversity. Yes, Ashby’s law again. The way this variety is generated is interesting in itself for the capability of cells DNA to carry out random algorithms. But let’s not digress.

The big diversity may increase the chance to absorb that of pathogens but what is also needed is to have match in numbers to have requisite variety. (This is why I really find variety, in cybernetic terms, such a good measure. It is relative. And it can account for both number of types and quantities of the same type.) If the number of matches between B-cell receptors and antigens is enough to register “attack”, the B-cells get activated by the T-cells and start to release antibodies. Then these successful B-cells go to a lymph node where they start to reproduce rapidly . This is a reinforcing loop in which the mutations that are good match with the antigens go to kill invaders and then back to the lymph nodes to reproduce. Those mutations that don’t match antigens, die.

That is really efficient and effective. But at the same time, the random generation of new lymphocytes with diverse shapes continues. Which is quite inefficient when you think of it. Most of them are not used. Just wasted. Until some happen to have receptors that are good match of a new invader. And this is how such an “inefficiency” is a precondition for survival. It should not just exist but be sufficient. The body does not work with what’s probable. It’s ready for what’s possible.

(Note: This is the mainstream explanation of how the immune system work. There are other theories, and some of them  – this one for example – I find way more convincing, especially when  comes to the self/non-self problem. However, in all explanations the phenomenon of requisite inefficiency is equally prominent. )

The immune system is not the only complex system having requisite inefficiency. The brain, the swarms, the networks are just as good examples. Having the current level of study, the easiest systems to see it in are ant colonies.

When an ant finds food, it starts to leave a trail of pheromones. When another ant encounters the trail, it follows it.  If it reaches the food, the second ant returns to the next leaving trail as well. The same reinforcing loop we saw with the B-cells, can be seen with ants. The more trails, the more likely the bigger number of ants will step on it, follow it, leave more pheromones, attract more ants and so on. And again, at the same time there always is a sufficient amount of ants moving randomly which can encounter new location with food.

The requisite inefficiency is equally important for social systems. Dave Snowden gave a nice example coincidently again with farmers but in that case experiencing high frequency of floods. Their strategy was to build their houses not in a way to prevent the water coming in but to allow the water to quickly come out. He calls that “architecting for resilience”:

You build your system on the assumption you prevent what can fail but you also build your system so you can recover very very quickly when failure happens. And that means you can’t afford an approach based on efficiency. Because efficiency takes away all superfluous capacity so you only have what you need to have for the circumstances you anticipate. […] You need a degree of inefficiency in order to be effective.

It seems we have a lot to learn from B-cells, ants and farmers about how to make our social systems work better and recover quicker. And contrary to our intuition, there is a need for some inefficiency. The interesting question is how to regulate it or how to create conditions for self regulation. For a given system, how much inefficiency is insufficient, how much is just enough and when it is too much? May be for the immune systems and ant colonies these regulatory mechanisms are already known. The challenge is to find them for organisations, societies and economies. How much can we use from what we already know for other complex adaptive systems? Well, we also have to be careful with analogies. Else, we might fall into the “best practice” trap.

(See also More on Requisite Inefficiency)

Frameworks and rigour

This is in response to the recent article of Richard Veryard “Arguing with Mendeleev”. There he comments on Zachman’s comparison of his framework with the periodic table of Mendeleev. And indeed there are cells in both tables with labelled columns (called “groups” in Mendeleev’s) and rows (“periods” respectively). Another similarity is that both deal with elements and not compounds. The same way the study of properties of oxygen and hydrogen will tell you nothing about the properties of water, the study of any two artefacts from Zachman framework will tell you nothing of how the real things they stand for work together. In fact you may not even get much about the separate properties of what the artefacts represent. Anyway, if there are any similarities, this is where they end.

I’ll not spend much time on differences. They are too many. But let me just mention two. The periodic table is a classification based on the properties of the elements. The order is determined by atom numbers and electron configuration. Both groups and periods have commonalities which make them an appropriate classification scheme. Once the rules are established, the place of each element can be confirmed by independent experiments and observations. That’s not the case with Zachman’s framework.

Richard comments on the statement that Zachman’s scheme is not negotiable:

What makes chemistry a science is precisely the fact that the periodic table is open to this kind of revision in the light of experimental discovery and improved theory. If the same isn’t true for the Zachman Framework, then it can hardly claim to be a proper science.

I haven’t heard the claim that Zachman’s framework is a “proper science” before. In my opinion,  Zachman’s main contribution is not his framework as such but the fact that it created a new discipline and new profession. The scheme itself is arbitrary. The columns, as we know, are based on six of the interrogatives: what, how, where, who, when, and why. Whether is missing, also how much. In the old English there is also whither, which is similar to where but has an important specifics – it is related to direction (whereto). But I’m not questioning the number of columns. I have doubts about their usefulness in general.

Let’s just take three of the of the interrogatives: what, how and why and test some questions:
1. What do you do now? Answer: B
2. Why do you do B?  Answer: because of A
3. How do you do B? Answer: by means of C

And now with a simple example:

B = buy food

A = I’m hungry

C = going to the supermarket

Now let’s focus on the answers and ask questions to learn more. First on C:
I’m going to the supermarket.
Why? Answer: to buy food
Why you need to buy food? Answer: because I’m hungry

Now let’s focus on A:
I’m hungry. Well, this is a problem. So we can ask:
How can I solve A? Answer: by doing B
How can I do B? Answer: by doing C

So if the relativity of the focus is ignored then what is equal to why is equal to how. (Speaking of focus, or perspective, this is where the rows in the framework come to play. This is a nice game itself which we’ll play another time).

In this example the answer of what is related to activities and not to their object (food) which by itself questions how appropriate is to label the data column “what”.

But of course rigour is not imperative. And neither is logic. After all it shifted its function from a tool to win arguments into a tool to seek truth. And then logic is quite materialistic, while EA seems a spiritual practice. Which reminds me also of the mind over matter one-liner:

If you don’t mind, it doesn’t matter.

drEAmtime

In the Australian Aboriginal culture,  Dreamtime “is a complex network of knowledge, faith, and practices”. This definition can be reused for another human activity, Enterprise Architecture(EA), and Dreamtime fairly describes its current state1With this, I’d like to depart from further analogies as I respect the culture of Aboriginal people in general in the part related to Dreamtime. I’ll refer to drEAmtime in this article solely as to what I currently see as the EA’s state of play..

The drEAm of the common language

It is believed for a long time now that there is a widespread misalignment between ‘Business’ and ‘IT’. The IT in this context is used to refer to employees that carry out activities closely related to development, procurement and maintenance of information systems, and ‘Business’ – to those who don’t.

The division of labour, which is the predominant way of structuring organisations,  invites different specialists with different backgrounds.  Naturally, they use different terms or the same ones but with different meanings. Even if this is the same between accounting and production, the miscommunication between IT and the rest gets more attention. Maybe it is due to the increasing dependency on IT, combined with stories of spectacular failure. Or it might be because IT is an area with a high rate of innovation, and the sense of leading doesn’t go well with the need to follow orders from those belonging to somewhat lagging ones. In any case, there is a general agreement about the problem of miscommunication and the associated high cost.

Here comes Enterprise Architecture to the rescue. By doing what? Introducing a third language.

What’s even worse, this language is ostensibly similar to both ‘Business’ and ‘IT’. Just check some EA terms to see how people from ‘Business’ and ‘IT interpret them. Take, for example, the most common ones like service, capability, function, model, viewpoint and artefact. The resulting situation looks something like this:

How EA is helping Business and IT to understand better each other

It looks absurd, but let’s imagine for a moment that it’s not. At best, we would see the following vicious circle. The strong IT smell of the EA language decreases the chance of the Business believing that they would benefit from learning it, hence the low motivation and buy-in. Even though the cognitive load for IT is much lower, seeing the willingness of the Business to ‘improve’ its literacy, IT people find better things to be busy with. And another funny point. When there is some buy-in by the Business, EA is put under IT, not between business and IT. Then EA people complain they can’t do much from there. But maybe they are put there just because they can’t do much.

Closely related to the dream of a common language is

The drEAm of bridging the silos

That it is a dream should be already obvious from the previous, about the common language. But here is another aspect. The EA people build bridges between silos that turn into new silos. At a certain point, they find themselves in a position where neither business nor IT regards them as a bridge anymore. Business people trust EA people even less than IT because they see them as cross-dressed IT. IT people lose trust in EA as well because they are not sure they understand the Business and if they still remember what IT was. Further, IT managers need support, which EA does not have the authority to ensure.

And there is an additional effect. EA is often in the position to attract some serious budgets for reasons we’ll see in another dream, and this way, the new island becomes a safe territory for people who have either failed or lost interest in pure IT. This further decreases the credibility of enterprise architecture and in some organisations, they get the image of people who are not good enough for IT and prefer to hide under EA labels where things are vague enough and difficult to measure. The lost credibility either undermines the work of the good EA practitioners or pushes them out of the organisation or both.

But what part of the work of EA is quantifiable? One tangible result of successful EA seems to be the rationalisation of the application landscape. And as this brings efficiency, it is easier to measure. This I call

The drEAm of IT cost reduction

Big organisations in all sectors, especially in the service industries, tend to amass a huge number of applications until there are far too many to manage. A good number of them are not used at all. Others are underutilised. Most of the critical applications have high maintenance costs, high replacement costs, or both. Inevitably, there are many which automate different parts of the same process, but they don’t talk to each other. And this justifies new spending on building interfaces or buying application integration packages first and then replacing them with BPMS and then probably with something better than BPMS. As a result, there is more spending and more applications to manage.

Application integration problems are accompanied by problems of duplication of IT investments. Existing functionalities are duplicated in one or more applications to some extent or completely.

Yet another common situation is patchwork applications. Those are applications that have certain utility but don’t quite well meet the needs, or just the needs change. In any case it is found better to add the missing functionality instead of replacing the whole application. And then, again and again, layers of patches of additions and fixes until we have a real monster and the roles of the master and servant are swapped.

One day all these silo applications, functional redundancies, patchwork systems, and suchlike create a serious mess and shocking numbers in the financial statements that are serious enough to convince the top management that something has to be done rather soon.

But just when the situation seems really critical, the door opens with a kick and EA cowboys enter. They pull out frameworks and architecture tools from their holsters and in slow motion (a very slow motion), they shoot inefficiency after inefficiency until all of them lie dead on the floor. Then they walk out and go to shoot inefficiencies in some other town and when new inefficiencies appear in this town they come back again to kill them out.

Here is what actually happens. Some attempts to achieve IT rationalisation fail spectacularly. I’m not going to list out the reasons for that. It is maybe sad that such failures discredit EA as a management discipline as a whole. But sometimes, enterprise architects are really able to find ways to discover what’s not needed and how to remove it, what is underutilised, and how to achieve better ROI for it. After all,  most of them are smart people using good tools. And indeed, they shoot inefficiencies, and some get all the glory and the money to shoot more. However, as they rarely get to the cause of the inefficiencies or are in a position to influence the bigger system that produces these inefficiencies, the overall result is an increase in overall IT spending. Why? The success of such EA efforts justifies a bigger EA budget, which is almost without exception a part of the IT budget.

The drEAm of dealing with complexity

This dream has specifics of its own, but it can also be used to explain the whole dilemma.

If you are an Enterprise Architect, a popular way to deal with complexity is to arm yourself with a framework. It is believed that you can do two things with a good framework. First, reduce the complexity of the enterprise to just a few things that share the same properties, according to some classification theory and where things doesn’t fit, add more layers of abstraction. And second, reduce the things you can possibly do to just a few but well-defined and in a specific order, with well-prescribed inputs and outputs. That was common for so many organisations that did well that it became a best practice, and the chances are, if you follow this way, it will do you well as well. Now, because of the shared understanding of the beneficial role of the abstract layers, and the boundaryless imagination unconstrained by reality, there is a serious number of frameworks and, on top of them, other works on how to adapt and adopt them.

Then of course modelling itself is believed to help in dealing with complexity. But what kind of modelling? A very complicated architecture diagram does not show complexity. It just shows a lot of effort spent in denial of it.

The part related to complexity certainly deserves a separate post and maybe more than one. For now, let me just finish with the following: dealing with complexity is not reduced to finding ways to reduce it. It requires a different understanding of what happens when interactions are not linear when there is context, history, emergence, adaptation, politics and power. Complexity is a property of the enterprise, not a problem to be solved.

 

In summary, more often than not, when contemporary mainstream EA is trying to introduce a common language, it creates confusion and additional work to deal with it. When trying to bridge the silos, it creates new silos instead. When trying to reduce the IT spending, it, in fact, makes no change or increases them. When trying to deal with complexity,  it’s just pathetic.

  • 1
    With this, I’d like to depart from further analogies as I respect the culture of Aboriginal people in general in the part related to Dreamtime. I’ll refer to drEAmtime in this article solely as to what I currently see as the EA’s state of play. ↩︎

Modernising Job Titles

HR Manager: What do you do?

DB Designer: I work with databases.

HR Manager: More specifically?

DB Designer: I design them.

HR Manager: Good, so you are an Architect!

DB Designer: Well, yes, you can put it that way, I guess.

HR Manager: Who uses the databases you design?

DB Designer: Many departments, in fact a big part of the enterprise.

HR Manager: Great, so you are an Enterprise Architect. That’s your new title, congratulations!

DB Designer: …!?

 

(related post: Where to start?)

The Tagging Trap

Hashtags work. At least on Twitter. People sacrifice precious characters to tag their tweets.

Why do they work?  They are emergent1The power of Twitter comes also – in my opinion mainly – from the fact that many of the features are not envisaged and built, they just emerged, stabilised and then capabilities and apps appeared to utilise them. Not only the hashtag, but also the reply/mention was something that emerged.. Nobody owns them. And they have the fate they deserve.

A tagged micro-post immediately becomes a member of the set of all micro-posts with this tag. The main function is to direct the tweets to some attenuator, applied by the users in the form of a search, filter or some way of fixing a topic.

Some hashtags live shortly but can enjoy becoming micro-memes and the luckiest – trending topics. Some of these transient hashtags are very useful for live reporting of events.

Others live longer, serving as social bookmarks or creation/replication of virtual communities. These two roles are the subject of the article “We Know What @You #Tag: Does the Dual Role Affect Hashtag Adoption?”. The authors describe the second role as:

a hashtag defines virtual community of users with the same background, the same interest, or involved in the same conversation or task. A user joins such a community by simply including that hashtag in her own tweets.

Hashtags work, and I use them a lot when posting, reading, and organising. But sometimes they don’t serve the objective of a tweet well. For example, recently, I’ve read a very good article by Barry Clemson in the Systems Thinking World Journal. I immediately wanted to share it on Twitter and, when doing that, of course, hashtag it. The most natural hashtag to put was #systemsthinking. But then I thought, what would be the benefit to those who follow this hashtag? Of course, they’d learn new things, most of them reinforcing their beliefs. And that’s a normal effect of hashtags coming from their role to gather “virtual communities of users with the same interest”. But is that always a good thing? It’s natural to follow those that we agree with, and we are followed back by them and others who are like-minded. When we read a tweet that we agree with, it reinforces our views often by adding new testimonials or a new piece of knowledge that nicely fits in. Then we re-tweet or favour it, and by doing so, we support the author of the micro-post, reinforce their beliefs and deafen their doubts. Along with some learning and the satisfied instinct of belonging, this birds-of-a-feather effect could, in fact, reduce our opportunity to challenge our assumptions, destroy our fallacies and decrease the chance of really innovative insights and discoveries. The technologically increased potential of serendipity is reduced by our tribal behaviour.

Back to the choice of hashtag for the shared link to that particular article, what I really wanted was to give it a better chance to reach people whose thinking is part of the described in the article problems. In that particular case, the chance of reading was increased by the almost jargon-free style and simple metaphors. If the worst thing is not to tag it, the better would be to put a tribal tag and count on the chance that by RTs, it will be amplified and have a statistically better chance of reaching some small part of the “actual” target audience. The third and probably best option would be to spend time to find out what the trending hashtags of that target audience are and use exactly those hashtags that would be inadequate for the tweet but adequate for the tweet’s objective. That seems to be indeed the right thing to do but the one with the smallest chance of being done as it would require time and effort, while one of the things I mostly appreciate in Twitter is that it doesn’t cost you much of those for the value it brings.

  • 1
    The power of Twitter comes also – in my opinion mainly – from the fact that many of the features are not envisaged and built, they just emerged, stabilised and then capabilities and apps appeared to utilise them. Not only the hashtag, but also the reply/mention was something that emerged. ↩︎

The efforts spent on definitions

Definitions are attention-seekers. And good ones. They get much more attention than they deserve.

I’ve just read a post by Nick Malik called Many (flawed) Definitions of Business Architecture. There, he does a very good job of analysing the existing definitions of Business Architecture. He comes to the conclusion that all of them need to be improved, including his own one.

Tom Graves recently wrote about the Meaning of process. In my comment, I asked why we need to agree on a process definition. For similar reasons, I doubt that we need to spend too much effort on arriving at a better definition of Business Architecture.

Would a better definition, being some-body’s statement or many-body’s convention, make a definition-compliant Business Architecture better? Would making Business Architecture better make the business better? The business may get better without a good Business Architecture, and having a good one would not necessarily make it better. Quite similar reasoning applies to definitions. You can have a good Business Architecture with a wrong definition and vice versa.

Nick Malik listed and categorised 20 definitions of Business Architecture. The fact that there are so many speaks about the amount of effort spent on them, including on discussing them. Not that I’m not tempted as well. Especially by some of them. Let’s quickly check, for example, the definition of TOGAF, starting not with the explicit statement, but the implicit meaning taken from the TOGAF content. (Here I go, I could not resist) If something belongs to the Business Architecture domain, it doesn’t belong to Application Architecture unless I’m misreading something. For example, applications are not part of the Business Architecture. Well, if we strip down the Architecture dress, applications do not belong to the business. Although the business paid for them. Nice. Business is practising Aparigraha. I’m all for.

If the business is split into social and technical parts, then applications would rather be in the technical than in the social. That I can understand. But when we distinguish business and application domain… Or maybe when ‘business’ is used as an adjective for architecture, things are different? Anyway, it seems that this type of abstraction works in some contexts. Or at least I hope so, otherwise why so many smart people are following TOGAF? Still, some deductions from the Architecture of TOGAF make it not a very reliable tool for the Architecture of the Enterprise.

If we take the explicit definition itself, things get even worse: “The Business Architecture defines the business strategy, governance, organization, and key business processes.” Business architecture does not define strategy; people define strategy. It might be that there are models used to support the strategy, and these models are classified as belonging to Business Architecture. But that doesn’t help the statement make more sense.

Now again, back to content, there is very little mentioned about strategy in the TOGAF Architecture Development Method, although it deals with Business Architecture to support the claim that it is an Enterprise- and not an IT-architecture framework. Then, in the Architecture Content Framework, things such as driver, goal, objective and measure appear (recently!) in something called ‘Motivation Extension’. Isn’t it odd to have goals and drivers in an extension? Shouldn’t we rather place them in a… more central place?

Maybe it’s better to determine things by their relation with other things, such as relating talk with a walk (the above example refers), a model with reality, and sense with common-sense…

On the other hand, definitions are important. They really are, though a bit less in the areas such as Enterprise Architecture. It’s just that spending too much effort on them often has high opportunity costs.

Beliefs and Capabilities

Beliefs are powerful. Sometimes, all we need to achieve something is to hold on to our beliefs. However, there are times when we can’t get where we want to be unless our beliefs are shaken and eventually changed.

Beliefs can influence our capabilities. And the evidence of our capabilities can change our beliefs.

Let’s explore this a bit.

Beliefs

Our conscious actions are based on conscious decisions and unconscious determinants, and all of them are based on our beliefs. Our actions change the environment and ourselves, and we then sense and interpret those changes, which in turn influence our beliefs and actions. One way to see these interdependencies is by using Chris Argyris’s ladder of inference. You can easily find many resources based on the original model online. Here, I’ll build on Gene Bellinger’s interpretation, which represents it not as a ladder but as a reinforcing inference cycle.

From the observable data and experience, we select some and affix meaning to them. This feeds our assumptions. Then we draw conclusions that, in turn, influence our beliefs. Our beliefs determine our actions. Our actions bring more data and experience from which we select some, affix meaning, and the cycle repeats. We tend to believe that we affix meaning to the observable data, oblivious to the selection we always make. In a similar way, we believe we draw conclusions through clear reasoning, but we always make assumptions.

I’ve made a few modifications to this cycle. The first one is making some of the choices explicit. We make choices in several places in the cycle, notably before Actions, but also after Observable data, where we choose what to pay attention to. We also make choices when we try to make sense of them. For now, I added only one more variable: Decisions. It comes before Actions and after Beliefs. Our Actions are based on Decisions that are influenced by our Beliefs.

Now, the cycle looks like this:

The second modification is the addition of another direct influence, the one between Beliefs and the sense we make out of the selected experience. Our beliefs narrow our perception range (the balancing loop B2) and how we select which meaning to affix to what we have chosen to pay attention to (the balancing loop B3). Thus, Beliefs affect three types of choices we make: on actions, on the selection and on the interpretation of data and experience. Now we have three loops, and depending on which one of them is stronger, the system can work in different ways. It can work as a learning cycle or as an obsession. It can also work as something that I call a sustainable system of fallacies.

Yes, Beliefs influence directly action, selection, and interpretation but they go even further than that.

…and Capabilities

As with beliefs above, it’s easier to use something that has proven to work than to start from scratch. My choice of model here is Robert Dilts’s logical levels. Again, I made a small modification, but only to the style:

Apart from refocusing, this modification makes it look like a tornado. And I like it like that.

This model is useful in a range of domains, from communication and therapy to management and leadership. Dilts gives an example with the different choices a teacher has for commenting on a student’s poor results on an exam. The suspected cause may be a noisy room, thereby providing feedback at the environmental level. Alternatively, the teacher can point out that particular performance instance, thus addressing the student at the level of behaviour, or comment on the student’s current skills on the examined subject, which are at present less developed than in other subjects. That is an example of communication at the level of capabilities. Yet another option is to discuss the importance of this subject and, by doing so, to touch on the value system (level of beliefs). And last, of course, is the worst choice, calling the student “stupid,” hitting the student at the level of identity.

According to Dilts, “a belief is a generalization about a relationship between experiences.” He points out more specifically those about causal relationships, meaning and limits. The latter seems highly pertinent to how beliefs influence capabilities. But there are other ways as well.

An insight into those comes when we merge the two models. All variables in the cycle of inference, with the exception of Observable data and experience, are influenced by a certain type of capability. The most obvious one is our capability to carry out the chosen Actions. It may be an existing one that we have access to and can use, or one that exists but we are not conscious of and don’t have access to. The third case is when the chosen actions need capabilities that we have to build or buy.

In a similar way, we need capabilities for data selection and sense-making. Next comes our capability to challenge assumptions. Like all reinforcing loops, this one can be vicious or virtuous. Sometimes the difference between one or the other may depend just on our capability to challenge assumptions.

While looking at this model, we shouldn’t forget that one’s inference cycle is linked with the inference cycles of others. One such influence can be easily seen when we look at Decisions. When a politician makes certain promises during elections, that would create experience for others and expectation, for example, that the promise will be kept. Many cycles later, that politician may have other beliefs, based on new experience, but decide to take actions based on old promises to maintain the perceived trust, although she may believe that these actions would not have a positive outcome for those whose expectations should be met. Or the opposite. She may follow her new beliefs, which would fulfil the expectation of those who did not believe in initial promises and disappoint those who did, thus having less support to carry out the chosen actions, although they might be those that would bring a better outcome for both groups. The choice would depend on values. Beliefs and values are closely connected.

There are more findings to share about all the variables in the cycle and those representing some types of capabilities. But let’s first apply it to itself and try to put it in a learning loop:

I believe that this model, which is based on some filtering and sense-making choices, now that is published, will add to the available data and experience, which will hopefully provoke some feedback to add more data, on which we’ll make new selections and will probably change our assumptions, conclusions and eventually beliefs. Then, based on what we’ve learned, we might come up with a better model.

On Semantic Technologies

A conversation with Eddy Vanderlinden

Semantic technologies have been a temptation for me for quite some time. That was mainly due to my growing frustration with how data is managed both inside and outside corporations. Then all mainstream modelling methods used for analysis or for database design and application development, with all their charms and weaknesses, often leave me feeling that they put too many constraints for people to express things and too little for computers to understand them. That and the suspicion about the potential of Semantic Technologies is not new to me. What is new is the experience of their pragmatic application and the opportunity to see some familiar areas through ST lenses. I owe both of these to Eddy Vanderlinden. In this sort of interview, I asked him a few questions, the answers to which might be of interest to the readership of this blog.

Ivo: When was your first meeting with ST?

Eddy: In 2007, when searching for possibilities to avoid the registered dysfunctions.

Ivo: What was the most fascinating thing for you in the beginning, and how did this change? I mean, which part or capability of the ST is the main driver for you now, after so many years of practice?

Eddy: The most fascinating aspect was the data modelling aspect, which made data real information. The upgraded function for data towards information covered the common and precise understanding of concepts for all stakeholders through their relationships with other concepts. Also, the flexibility of the data model was contributing to the great benefit.

There are two main drivers added later on:

  1. The knowledge discovery possibilities through the open-world assumption. Under the condition, we adapt our state of mind from comfortably categorising “things” into a state whereby we discover through the ST technique new aspects. In philosophical terms, we should become a bit Tao: flexible, accept change as the only certainty and be attentive to capture change and utilise it for our benefit.

  2. The possibility to convert knowledge models straight into running applications so that unambiguous goals are obtained through commonly understood and mastered methods.

Ivo: There are people over-enthusiastic about Semantic Web, calling it “Web 3.0”, “the next big wave”, “the gigantic …. graph” and so forth. At the same time there are many sceptics and even people that had been once enthusiastic about it, and now seem rather disappointed. What do you think about this? Is ST rather overrated or undervalued or somehow both? And why?

Eddy: ST is to my understanding by far undervalued. Let’s see first why one could be disappointed. One reason might be because lots of people bet on the possibility that web publishers would start to use HTML tagging techniques massively so that slightly adapted search engines could simply exploit the semantics in the text. So, the search engines would not only have keywords (from the HTML header) and page titles but also tags from within the text as sources for semantic searches. The most popular standard which was proposed to execute this is RDFa. Personally, I never believed this would be a success. Not only because the user needs to put in additional effort but also because tagging does not provide relationship information between the tags. So, these people may be disappointed but can consider text analysis, spongers for email and spreadsheets as alternative approaches (see IBM‘s DeepQA).

Another group of disappointed people could be the ones who thought that putting all information on a subject into an ontology would solve all their problems. This is by far not the case. Modelling should be done with a purpose in mind. As Dean Allemang writes, it is a craft. Don’t underestimate the power of the models but accept they provide answers to the questions you want to be answered. If more than that is needed, ST has to be combined with probabilistic methods (see earlier on IBM’s DeepQA project).

Another disappointed group could be people who want massive amounts of data treated with today’s reasoners. Although reasoners became much more performing, industries with huge amounts of data (like the finance industry) should approach that data in specific ways, sometimes emulating the reasoners with alternative technologies (e.g. SPIN and rules engines of triple store suppliers). Honestly, if we don’t know what the reasoner should deliver, we cannot model effectively. It would probably mean we are not rightly involving ST.

The reason for my conviction of undervaluation is that for the above objections there are far-reaching alternatives that are opening new horizons in all fields of applications. Furthermore, there are new domains starting to adopt semantic technologies. Artificial intelligence is such a domain. To my knowledge, the most impressive result of this is IBM’s DeepQA project. I know the reluctance of ST people being associated with AI because they feel AI did not bring them much, on the contrary, they brought a lot to AI. In my opinion, implementing the probabilistic approaches, besides other AI techniques, with ST brings a lot of added value to ST. Let’s not forget ST is strongly domain-oriented, while probabilistic approaches may help generalise solutions from combined domains. I expect a lot of input also from the KM community. While this community used ontologies from the beginning (in different ways than web ontologies), the love between the ST and KM communities is not to be called ideal. When the KM community will embrace the possibilities offered by ontologies in Descriptive Logic (OWL-DL compliant), the benefits will contribute to both communities. See http://semanticadvantage.wordpress.com/category/semantic-technology/

Ivo: It seems that you don’t much associate yourself with the Semantic Web community. Is that so? What do you think are the main mistakes, or fallacies of the Semantic Web movement that would actually jeopardise or postpone Semantic Technologies getting more tangible traction?

Eddy: First, I would like to stress that the solution proposed for the operational dysfunctions owes everything to the SEMWEB community. I cannot thank them enough. If I am less associated today, the reason might be laziness. I have to update my vision of their activities again. You see, when these technologies became of strategic importance for USA and for Europe, lots of financial means were directed to the development of standards. In the beginning, the SEMWEB community was mainly busy developing standards complying with Tim Berners-Lee‘s architecture vision.

Later came the tools with pioneers as Clarks & Parsia (Pellet reasoner), Stanford University (Protégé), Berlin University (software language adaptations for ST), Zurich university (Controlled English communication), HP with Jena Laboratories (triple stores and SPARQL). Very rapidly a vast community of tool producers followed. This was really exciting. I could only participate as a tester, a commenter in small fields since the main discussion point then was on tool development.

Later commercial players joined the community: Topquadrant with a software development platform including the creation of services and web server, OpenLink Software for heavy-duty triple and quad stores and a few more. The problem is the applications are mainly being adopted by the academic and scientific world, not yet by business users. I’ll check this for updates again.

Ivo: A recurring pattern in the lessons learnt you share on your site is related to losses when conceptual data models are transformed into physical. And another is related to the missing time dimension. Can you please tell us more about those two and how they are solved by applying ST?

Eddy: On the transformation conceptual to physical, Business analysts have different tools at their disposal to represent the real-world operations in a conceptual manner. They are mainly grouped in what we know as the UML diagrams, a collection of diagramming methods. Starting from these conceptualisations, technical analysts, programmers and a collection of other specialised people (data engineers, interface designers, service engineers, …) start developing a functionality involving those concepts. I will not repeat the classic picture of the swing illustrating the difference for the user, anyone can make his own version here. This is solved in ST by software using the ontology as their data source. A perfect example is the Topbraid suite. Another popular tool is provided by Openlinks Software, not to forget the Fresnel lenses.

On the time dimension. There are only a few universal laws. Knowledge about facts is merely related to and valid for a portion of time. Meaning, an assertion is true at a certain moment or time period. E.g. an organisation, the price of an item, the specification of a product. Whoever has been involved in data mining will recognise 2 main challenges: denormalization of related data and time-dimensional information. The purpose is to reconstruct any state of the company at any moment in time. The reason is that we cannot find out cause and effect information if we can’t partition facts into the time dimension. This is done in ST, mainly in a similar way as with conventional data-management systems: adding a time-dimension property to any individual member of a class.

Ivo: What are currently the best examples of using ST?

Eddy: Cancer research, DBPedia, NASA has database of metrics methods, linked Data analysis, US government enterprise models, search engines.

Ivo: Is there something that you see as a big potential of ST which has not come to fruition, which, for some reason, nobody was able to realise so far?

Eddy: To me, it is strange the possibilities for application development are not really applied.

Ivo: You have been and are currently involved in BPM activities. What do you think ST can bring to BPM? Do you see it as a flavour of BPM (there is something called Semantic BPM already) or as an alternative approach to what most companies use BPM for?

Eddy: I am not in favour of “semantic BPM”. The reason is linked to my answer in the beginning: it requires tagging the models and their objects. I certainly see it as an alternative approach to what most companies use BPM for.

Ivo: You worked in banking for a long time. Let’s talk about Semantic Technologies as an investment. It seems that many types of innovation, if judged using DCF or other popular methods, look riskier than do-nothing strategies. What type of evaluation would convincingly justify investment in Semantic Technologies today?

Eddy: The answer focuses on semantic technologies as an investment, not as a banker investing in companies with an expected DCF of X EUR/USD. The latter requires a much broader approach than just DCF, RONIC, or similar. Notably what we may understand by “expected” cash flows, introducing Beta factors, sector and currency valuation of future trends, market valuation in an economic context,… So working in the banking sector will not help provide an answer here. Prior to the investment selection step, the proposal is to position ST in a strategic perspective analysis. That analysis would answer the questions:

A. On the portfolio management issues: A1. What new products can be offered in our portfolio with ST? A2. How will ST affect existing products in our portfolio? A3. Which new markets can be explored with the products discovered in A1 and A2? A4. How are these new markets evolving from the strategic time perspective? A5. How are the products discovered in A1 and A2 influence our competitive position in the new markets discovered in A3? A6. How is our competitive position evolving compared to A4? Suggested method: portfolio management matrix of the Boston Consulting Group.

B. On the strength of the organisation: B1. How does the application of ST reduce the risk of new competitors coming in the market? Where can the organisation start competing in new markets? B2. How does ST application affect our negotiating power with suppliers? B3. How does the ST application affect our negotiating power with customers? B4. How is the threat of substitute products in our markets mitigated through ST application? How can we form a defence against substitutes in existing markets? B5. How is our strength affected by competitors considering the price of our products and services, the quality of our products and the service level? (Inspired by Porter’s 5-forces model.) After thorough SWOT analysis, when the product/market matrix is finalised, the production simulations ran and the investments are figured out, cash flows can start to be projected on a strategic horizon (3-5 years). Eventually, other analysing techniques may be needed. Choosing semantic technologies gets a completely different perspective when compared to “do nothing” scenario if we make the exercise as mentioned above compared to a pure accounting approach.

Ivo: Now, about reasoners. Why are there so many of them? How do they differ from each other? How to choose? When to use which?

Eddy: I wished I had a clear-cut answer to that question. When building the finance ontology in 2007-2009, I tested 5 reasoners. On the correctness of the inferences: for an expected inference, I could get 4 different answers. The conclusion at that time was, the best reasoners depended on the inference needed. The reason might have been for a part of the shift from OWL 1 to OWL 2 but it makes me test the inferences at each construction of a model with different reasoners. On the speed of the inference: in the beginning, some very well-performing reasoners went commercial only. Meanwhile, some free reasoners upgraded their version, and new players entered the field. Further, I would like to remind you of the relative importance of reasoners in heavy life applications: see higher under SPIN and rule engines.

Ivo: If I start asking about ST languages, the answer might be much bigger than all answers combined so far. Maybe we can post a separate conversation about that. Still, this one could not be done completely without it. About the OWL then… OWL is (arguably) the leader in knowledge representation. Some think that the main advantage is that it is decidable, not probabilistic. Others state that the best thing about OWL is that it’s based on a solid mathematical foundation, unlike all OMG standards, which are criticised for lacking it. What do you think are the main strengths of OWL, and the main weaknesses?

Eddy: to me it is the mathematical foundation when this enables advanced inferencing. On the other side, I very much appreciate the profiles with the different syntactic subsets. There is no clear-cut solution and OWL has to be tailored. This strength is also its weakness, together with the fact we cannot reason with classes (for the moment?).

Ivo: Thank you, Eddy! Maybe there will be some more questions put here from others. Now, instead of a conclusion, and for those wondering why Web Ontology Language is abbreviated as OWL and not WOL, one familiar passage:

He [Owl] could spell his own name WOL, and he could spell Tuesday so that you knew it wasn’t Wednesday, but his spelling goes all to pieces over delicate words like measles and buttered toast.

A. A. Milne, Winnie the Pooh

BPMN vs. EPC revisited, part 2

The previous part focused on areas such as expressive power, readability and enterprise architecture. This one, written jointly with Roland Woldt, dwells on a few more aspects such as semi-structured processes, exceptions, loops and data handling. Some of them could be sorted well under the ‘expressive power’ heading but as stated in the previous post, the intention is just to put some structure to the ideas and experience shared, not to give a list of criteria. If in spite of that the sections are regarded as comparison criteria, then each should get some weighting based on the application objectives. Additionally the ‘points’ should be reduced by the ‘cost’ of the advantage. For example, more expressive power brings increased complexity.

But again, as this was not the intention, the content is not suitable for such usage.

Semi-structured processes

A business process model is meant to show some structure and behaviour patterns that are known or at least expected with a good degree of certainty. For processes with high uncertainty, using a notation – no matter how good – would not be as useful as for well structured processes.

There are processes for which activities are known but not their sequence or number of performances. These types of processes are supported by BPMN via ad-hoc sub-process. No similar construct is offered by EPCs.

Advantage: BPMN

Business process notations are used in some way even for managing unpredictable processes. Interestingly, Adaptive Case Management systems such ISIS Papyrus, support both EPC and BPMN which is yet another example that each one has strengths in different application areas.

Exceptions, transactions and compensations

Both EPC and BPMN can support exceptions. However, there is no way to show that something happens during the activity execution in an EPC. Conversely, BPMN is rich in constructs that support exceptions. Those include the boundary events in combination with catch/throw semantics. Situations where an exception could happen everywhere within a process fragment are also well supported by putting the fragment in a sub-process with an exception boundary event. Additional benefits are provided by event sub-processes.

Exception handling is really important. Some claim that this is so only from IT perspective, but I doubt that. However, it is true that some modelling limitations tend to support wishful thinking and many processes are suffering of the ‘happy path syndrome‘. Now, the mere existence of so many exception handling constructs in BPMN might – well, at first frighten but then – prompt some more realistic business representations.

If we are completely fair with EPC, we should admit that there some activity interruption is supported. But this will mean to depart the pure notation discourse. There is an attribute ‘interruptible’ which, when set to “true”, will allow activity execution to be interrupted based on specific resource assignment. This capability is supported by ARIS Business Simulator. A token arriving at an activity will trigger it but when this activity is interrupted (attribute ‘interruptible’=true), it will wait until the activity performance is resumed. The reason for such interruption could be that the resource carrying out the activity has stopped working because of a break.

However, in addition to “interrupting” events BPMN supports “non-interrupting” events that trigger an exception while the process continues – you can show this in EPC with rules (“and” rule) and events, but the solution in BPMN is more elegant.

Transactions and compensations are supported by BPMN and not at all by EPC.

Advantage: BPMN.

Loops

Loops -either standard, parallel or sequential- are a powerful construct in the BPMN notation. They allow to show that a process can run multiple times without the need to draw confusing lines in a model or to repeat process fragments over and over again. In combination with using events or attributes that hold the number of repetitions this is a clean and easily understandable way to model.

Loops can also be shown in EPC notation, even though there are no special markers in the functions that shall be repeated. A modeller has to work with multiple events that are coordinated by rule objects (e.g. “and”) to describe the conditions when a loop or repeating activity has ended. This is not impossible but a less elegant solution when the process becomes more complex.

Additionally, BPMN provides 11 standard attributes for handling loop behaviour. When such formalization is needed, things like loop cardinality, data-based conditions and how multi-instances a produced by the activity can be specified.

Advantage: BPMN

Managing data

BPMN assumes that all data is freely available within a process and can be used in the tasks whenever needed. In addition to this data highlights can be shown by either using the data object or the data store for persistent data (even though persistence means “only for this process instance”). The notation is not meant to allow data modelling and the breakdown of data information in specific data models > see chapter 7 of the specification.

In opposite to this the EPC notation allows multiple ways to show data in a process: either as abstract clusters or technical terms, that describe an information, or depicted as information carriers, such as documents, CDs, etc. And even as fine as showing relations to classes and attributes. The biggest advantage of using an abstract data object lies in the capability of the ARIS overall method -not only the EPC notation- to decompose a cluster into entities and then into its attributes. These can then be mapped to tables or even synchronized with other dedicated data modelling tools like ERWIN (via a 3rd party interface). Strangely, EPC allows better integration between process models and UML Class Diagrams than BPMN do, while both UML and BPMN are maintained by OMG.

Advantage: EPC

Process notation for ERP Systems

As mentioned earlier the EPC notation became very popular when the ERP wave took off and companies had the need to figure out and model their processes. The most popular example here is SAP and until today all SAP ARIS customers use this notation to synchronize three levels of process models directly with SAP’s Solution Manager. In addition to this, EPCs can be used to create test cases that get synchronized with HP’s Quality Center for testing (either through Solution Manager or directly via export from ARIS). There is no BPMN synchronization in place as of today.

To further accelerate the modelling efforts SAP provides two sources of process information that can be included into the blueprint models: The “Business Process Repository” (the transactions) and the “Enterprise Service Repository”. Both sources will be enhanced by non-SAP and manual steps in the blueprinting phase of the ERP implementation.
But SAP is not the only ERP system on the market – its largest competitor Oracle OEM’ed ARIS in its “BPA Suite” tool and in that, the EPC notation is also the standard notation. Opposite to the SAP synchronization, the EPCs will be transformed into BPEL models that then will be exported as BPEL and WSDL files that can – after running an Oracle-specific script that transforms the standard BPEL export file into an Oracle-specific format – then be imported into the Oracle ERP system.

Similar approaches to the BPEL export have been implemented in process modelling for Microsoft BizTalk and IBM’s WebSphere products.

An interesting way was presented by Software AG in the “Enterprise BPM” approach at CEBIT this year. Here it is also recommended to model the business processes in EPC notation, since it is easier to understand for business users and fits into an Enterprise Architecture without workarounds. After the business model is approved it can be transformed into a logical BPMN 2.0 model and then enhanced with technical information, for example to show a split of a business process step like “check inventory” in multiple service steps. After the logical BPMN model is ready it can be pushed into webMethods where the physical BPMN model then gets implemented.

The last use case shows an implementation of the original purpose of the BPMN notation. I expect similar approaches for creating a true business process architecture, while being able to execute the lower level models from other vendors too.

Advantage: EPC

Tools support

An interesting observation nowadays is the marketing hype around BPMN. To a new user, who is investigating which notation/which tool should be implemented the options and sometimes conflicting marketing information are confusing. On the one side you hear that EPC is a proprietary notation (which is not true) that is only supported by ARIS, on the other side, the EPC templates ship with a standard MS Visio installation for years now, while BPMN (in the old version 1.2) was just introduced to the latest version Visio 2010. In addition to this a quick Google search will show dozens of tools for either notation.

I think the best approach to choose the right tool is to ask yourself about the goals of a BPM/EA implementation. Do you “just” want to model simple processes, shall they be executed in a BPMS or used in an ERP implementation, or is the procurement of a tool just the start of a larger, enterprise-wide implementation with the goal of creating and measuring a performance-driven organization, while using enhanced capabilities such as simulation, process costing or process performance management. Both cases depend heavily on the maturity of the organization and luckily the established vendors provide import capabilities for existing information.

 

By Ivo Velitchkov and Roland Woldt

BPMN vs. EPC revisited, part 1

There were several posts and discussions on the topic of “BPMN vs. EPC”. One of them is quite comprehensive and its discussion thread very interesting. But there are still many important points untouched and I’d like to share some of them for those facing a choice of business process notation.

That doesn’t mean that there aren’t other options. But they have quite lower utilisation potential and/or address different needs. Certainly if UML is used, a combination of activity, statechart and sequence diagrams would do, more or less. And then most of what EPC offers could be expressed with ArchiMate. Speaking of process modelling notations it’s worth mentioning also Petri-Net which has better execution semantics than BPMN (while that’s the main claim of BPMN) but is not at all adopted by the business and generally gets little attention outside academia.

So, having the long and successful history of EPC usage and the current growing popularity of BPMN, it seems a valid set of options. And there is a demand for more information to support decisions related to the choice of process notation, especially (naturally) among ARIS users.

The ideas here are based on the conviction that a single notation for business processes which can equally serve the requirements for analysis, process automation and enterprise architecture is achievable. There are some strong points by the advocates of the concept that the choice of the notation should be based on the modelling objective and it’s fine to have many languages. However, if one notation is able to serve the majority of applications, then it would eventually be a better means for communication and will require less learning and maintenance.  Furthermore, when efforts for improvement are focused on one language, there is higher probability of getting it better sooner.

Having said that, I still hope that the information in this article would support not only XOR but also AND decisions. Another way to help such decisions would be to make a condition comparison, with a lot of “it depends”, if-clauses and suchlike. That is a valid approach but it will be avoided here leaving the “it depends” as conclusion for the readers, rather than using it as a way to structure the comparison. And speaking of structure, it would be quite loose – a dozen of short sections that could be read in any order.

One more thing before the actual comparison. I assume the readership of this article is familiar with BPMN and/or EPC. And, unless explicitly stated, by ‘BPMN’ I would refer here to its version 2.0 and ‘EPC’ would mean the extended Event-driven Process Chain. And when referring to EPCs I’ll use ‘gateway’ instead of ‘rule’ and ‘activity’ instead of function just for the sake of easier comparison. Hope you don’t mind.

Expressive power

BPMN features over a hundred modelling constructs. Most of them are sub-types of the three main flow elements. They are primarily focused on describing workflow and collaboration. As it can be expected, BPMN has much more expressive power than EPC in these two areas. The control flow elements of EPC are only five.

There are different ways (and viewpoints) to measure the expressive power of modelling languages. One of them is by workflow pattern analysis, another by ontology-based analysis and yet another by measuring the ability to integrate different aspects of Enterprise Architecture.

Workflow pattern analysis has been applied for comparison of BPMN 1.1 and EPC among other modelling languages by Nick Russell et al in 2006. According to this research, BPMN natively provides clear support for 24 of 43 patterns, while EPC supports only 10. Of course the real implications of that could be seen if there is a reliable statistic on the frequency of occurrence and the importance of unsupported patterns. Still, when you need to describe a workflow with more rigour and provide a model that is closer to reality, BPMN is the way to go. This is also confirmed by a more recent comparison between BPMN and EPC on the twenty main workflow control patterns.

Applying ontology-based analyses like the representational analysis of process modelling techniques, confirm expressive superiority of BPMN over EPC on the way it facilitates clear descriptions of real-world domains. (For those who don’t know and/or don’t care about this type of analysis, let’s just say that evaluation support of workflow control patters is not the only way to measure expressive power.)

However, if measured by the ability to integrate different aspects of Enterprise Architecture, EPC is much more expressive than BPMN. There will be some more information about this further in the post.

When evaluating the expressive power, it’s worth reminding that expressiveness comes with the price of increased apparent complexity. This reduces comprehension and communication effectiveness, especially among model readers that are not experts in process modelling.

Readability and efficiency

Which one is easier to read? And by whom?

That’s probably quite subjective. Some find BPMN event symbols more intuitive than the big hexagonal symbols for EPC events. Others defend EPC events for they somehow make you put a name unlike ‘none’ BPMN start and end events which are quite often left unnamed. Both are valid points and worth considering.

There is some research on the subject of process diagram readability but not much. This one applies cognitive effectiveness criteria based on the 5 principles introduced by Moody and Hillegersberg: representational clarity, perceptual discriminability, perceptual immediacy, visual expressiveness, and graphic parsimony. It seems EPC is doing a bit better there than BPMN.

When it comes to efficiency, BPMN diagrams are more compact than those of EPC expressing the same content. That’s not only because of the relatively smaller event symbols. EPCs require events after OR and XOR gateways, while in BPMN their semantics is conveyed by the attributes of the sequence flows following the splits. Moreover, the allowance of implicit events in BPMN as well as conditional sequence flows can make some diagrams really compact. Sometimes, however, this increased efficiency can lead to erroneous comprehension.

A smaller number of visual elements can indeed increase readability simply because there is smaller amount of things to comprehend.  In other cases more compact diagrams such as the ones using implicit events and/or conditional sequence flows are not necessarily easier to read. They can take more time to understand and are prone to misinterpretation.

Resources assigned to activity

Quite often one single activity involves more than one participant at the same time. EPC not just supports this but offers more than ten different connection types between participant (organisation unit) and activity (function).

In BPMN on the other hand, assignment of multiple resource to one activity is natively not supported at all. There are some attempts to do it like those proposed by Michele Chinosi in one of the chapters of BPMN 2 Handbook. I’m not convinced by those workarounds.

Generally EPC is superior to BPMN when it comes to resource analysis, not just of human resources, but also in integrating data and system objects that can be further detailed in other Enterprise Architecture views. More on that in the next section.

One good solution offered in ARIS to solve this is to assign Function Allocation Diagrams (FAD) to BPMN activities. FADs can contain objects like organisational units, application systems, services, risks, data and more than one hundred other objects. But that’s a specific extension and it’s more or less barrowed from EPCs as FADs are introduced to reduce the complexity of rich process chains.

Enterprise architecture

EPC is a process-centric Enterprise Architecture method in itself. I personally don’t see the point of separating BPM and EA. And at the time there was only EPC (sorry, I don’t count flow-charts and suchlike as a way to describe processes), there wasn’t any separation between BPM and EA. And it’s strange when aiming IT/business coherence how first EA was separated from BPM and then how BPM became BPA to allow for business process execution to get the BPM label. Anyway, let’s not go into this here. The talk is about business process notations. Those who believe there should be a rigorous way to integrate process control flow with data, systems, products, services and infrastructure, will have that natively supported by EPC.

BPMN is not made for that. But we can’t say it as an objective not achieved. There wasn’t such objective in the first place. One way to partially support some EA aspects is by adding artifacts (but unfortunately not different types of associations). Another is to integrate with some EA notation such as ArchiMate. What would still be missing is the support of the motivational domain. And that’s another advantage of EPCs. There you can link activities to requirements, objectives and KPIs.

 

Well, that (+comments, hopefully) should be enough for Part 1. Next one will deal with handling of end-to-end processes, exceptions, sub-processes, messages, unstructured processes, loop, data and more.

 

Special thanks to Roland Woldt who reviewed the draft of this post and provided some valuable advice.

Where to start?

The Developer: “Let’s start coding. We don’t have time for solution design.”

The Designer: “No, we should design first. It’s not a waste of time. It will reduce rework.”

The Analyst: “Guys, please! How to start designing, if we don’t know what the problem to be solved is?”

The Tool-lover: “But how to diagnose the problem without a tool? Let’s choose the tool first.”

The Architect: “Yes, but to choose a tool, we first need to make sense of the context, and only when we know where we are, can we have criteria for choosing the right tool.”

The Tool-lover: “Doesn’t that mean we need a sense-making tool? Again, as I told you, we need a tool first.”

The Analyst: “No, this just means that we have first to analyse the context of the context. Let’s focus on that.”

The Developer: “20 lines of code ready while you are discussing.”

The Designer: “That’s a waste of time. But you, developers, don’t have a sense of time anyway.”

The Architect: “Time is an interesting thing. Good, you mentioned it.”

The Analyst: “Is ‘time’ the problem?”

The Tool-lover: “We probably need a stopwatch.”

The Architect: “What we rather need is to stop and watch.”

… and so on.

Integration of strategic, project and process KPIs

Some organisations, after straggling to implement Balanced Scorecard Systems (BSC), come to the conclusion that they need to at least map their processes. But then the challenge they face is how to link strategic with process KPIs. Others are practising some sort of BPM but have difficulties demonstrating its contribution to the bottom line. As Anatoly Belychook recently wrote:

business consultants know what should be done eventually but have vague understanding of how strategic goals can be achieved with the help of BPM

There are many ways to do that. One of them, usable in the ‘ordered’ domains, is to include process KPIs in the formula of certain KPI (or ‘KGI’, to conform CobiT’s terminology) of a strategic goal. It’s simple but not so straightforward so let’s first have the bigger picture.

There are basically three types of things in the motivational domain: goals, means and influencers. (If you need to dig deeper, Nick Malik’s EBMM is a good place for that. Interestingly, one of the things that had driven that extension to the BMM was the work of Alexander Osterwalder, one of the authors of the now popular Business Model Generation book) The means to achieve most ends, especially of those belonging to the classic ‘process’ perspective of the BSC, either require certain change to be managed or some parameter(s) to be kept within desirable range or both. Let’s illustrate this by combining it in a single case where a strategic goal is supported by certain process which is no yet implemented. Thus there will be another ‘means’ representing the project to implement that process.

KPIs are either primary or derived. In the example, the strategic goal is measured by a KPI 1 (derived) which is calculated by the value of KPI 1.1 (primary), KPI 1.2 (derived) and some specific attribute of their relations like weighting for example. KPI 1.2 is calculated from the values of the project KPI 1.2.1 and the process KPI 1.2.2. They are in reality more than one for both project and process management. If the project duration is shorter than the control frequency  of the strategic goal, then for ‘period 1’ KPI 1.2 will take KPI 1.2.1 and KPI 1.2.2 value times their respective weighting. For ‘period 2’ KPI 1.2.1 will be equal to the value of KPI 1.2.2.

Such an approach needs the support of a repository based tool for modelling and analysis. No matter if its primary focus is EA or BPM, it should support enterprise motivational domain and ideally project and program management.

Patterns of Informal Architecture

The CEO was referred to as ‘the architect of the enterprise’ long before ‘Enterprise Architecture’ was coined. The ‘architect’ metaphor was used in 60s and 70s and became quite present in the strategy management literature of the early 80s. And indeed, big part of the job of C-level executives is to manage (different domains of) the architecture of the enterprise. That part  is not labelled ‘enterprise architecture’ and probably shouldn’t be. But it must be recognised as such by the ‘formal’ Enterprise Architects. If formal enterprise architecture finds a way to play together with the informal one, this in turn would help the latter understand how to get more benefits from the former.

One way is to use less formal techniques to explain formal EA to the C-level and other practitioners of the informal EA. Storytelling looks like a good way to do that. Another way is to show how formal and informal can go hand by hand and best do it again in a story, the way Chris Potts did in ‘recrEAtion’. Yet a third way is to make it a habit for formal EA practitioners to recognise patterns of informal EA.

It’s not difficult to spot them in processes and cases such as creating/changing chart of accounts or profit/cost centre structure or product/service portfolio. (Or, is it?) Informal EA patterns are also easy to find in any standardization effort or planning a new business capability, opening a new branch or running an integration program after a merger. It’s easy because all those cases have some kind of formalisation, albeit not an EA one. That’s not the case with patterns of informal EA in people relations. But the effort is worth it. Relations between people are of primary importance both for the enterprise and for managing its architecture. This week it was the topic of some very good posts by Tom Graves and Nick Gall. So here, another touch in the context of informal EA.

Formal EA uses models a lot. All models represent certain aspects of the past or the future. (I put ‘as-is’ models in the ‘past’ category as well.) Models of people relations are no exception. Models of the past relations are basically two types: some are based on perceptions and decisions of the modeller about certain aspects of reality and others are visualisation of actual characteristics, registered using some technology:

All models, actual and perceived, belong to the formal EA tool-kit. If we superimpose the two pictures above, conceptual, logical and physical would go to the two ‘perceived’ quadrants, and ‘operational’ – to the ‘actual’ one. What is left is the ‘informal’ relations. They are relations, therefore fall in the EA domain. They work and could be very powerful, therefore are important. Moreover, they are adaptable and can easily cheat the formal one. Here’s an example:

Bill starts a new project and needs a team leader for one of the teams. He has to fill in a request form and send it to the HR Department. Then hope they could come up with the right person from the huge database of employees. Bill doesn’t want to leave things to chance. He calls his colleague and friend Kim and asks him if he knows somebody that has capabilities as that team leader, remember, from the project A which they were involved together last year, but at the same time can handle situations of the type they had three years ago and has that and that technical experience. And he/she should be available for the project period as far as Kim is informed. Kim doesn’t know such a person available but he knows Sarah. Sarah is in a different location. They never worked together but Kim trusts her and has reasons to believe she might be able to help. After a few hours Kim sends Bill a message with the CV of a person recommended by Sarah. Bill gets some specifics of the CV and sends them as requirements to the HR department.

Some may argue that this story is about Knowledge Management, not EA. I agree it’s KM and disagree that it’s not EA. It certainly is and belongs to the grey cloud in the picture above.