Introduction
The vision of the Semantic Web often founders on the "semantic deadlock." In traditional knowledge engineering, for two services to communicate effectively, they must agree on a universal, a priori global ontology. As peer-to-peer (P2P) systems scale, the cost of maintaining these exhaustive mappings becomes prohibitive. Furthermore, in open systems, services are ephemeral and their internal logic is private, making a single universal standard impractical.
This research proposes a paradigm shift from "service-centric" to "interaction-centric" semantics. Instead of requiring peers to understand the absolute meaning of every term, they only need to understand terms within the context of a specific interaction protocol. This is achieved through the Lightweight Coordination Calculus (LCC).
The Lightweight Coordination Calculus (LCC)
LCC is a compact, declarative language based on logic programming that treats interaction protocols as first-class citizens. An interaction is defined as a set of clauses where peers assume specific roles (e.g., buyer, seller, or auctioneer).
A key innovation is treating the protocol as "mobile code." Rather than a central server managing the state, the interaction model and its current state are passed along with the messages themselves. This allows the "context" of the conversation to travel between peers who may have no prior relationship.
As shown in the trace above, the interaction is grounded in the sequence of messages. The semantics of the terms (like canonS500 or price) are bound to the roles and the progression of the protocol.
Interaction as Grounding and Dynamic Mapping
The core insight of this approach is that the protocol is the semantics. If two peers successfully complete a "Purchase" protocol, they have effectively shared knowledge, regardless of whether their internal databases use identical schemas.
This enables Incremental Semantic Commitment. Rather than mapping entire ontologies upfront, peers perform Dynamic Ontology Mapping. They only resolve the meaning of a term when it is strictly necessary to satisfy a constraint in the current step of the LCC protocol. This reduces the complexity of ontology alignment from a global N-to-N problem to a localized, task-specific one.
Furthermore, LCC separates coordination logic (the message sequence) from constraint-solving logic (the peer's private decision-making). A peer can satisfy a constraint using a human operator, a database query, or an automated agent; the protocol remains agnostic to the internal implementation.
Experimental Validation
The LCC framework was validated through several complex scenarios, most notably a multi-stage procurement simulation. This scenario involved shopping, auctions, and direct negotiations between seekers and vendors, mediated by auctioneers and notifiers.
The trace in the figure above demonstrates how LCC handles sophisticated interactions, including conditional declines and supply offers. Beyond simulations, the framework was tested in the "OpenKnowledge System" (the OK Kernel), a prototype P2P implementation designed for distributed environments. The authors also used formal verification, mapping LCC models to PROMELA and using the SPIN model checker to ensure protocols were free of deadlocks and infinite loops.
Challenges and Future Work
While LCC offers a robust alternative to global ontologies, several challenges remain:
- Asynchrony: Much of the current work assumes a linear model where one message is in transit at a time. Managing global state in highly non-linear, asynchronous P2P systems is a continuing area of research.
- Protocol Resilience: P2P systems are inherently brittle. If a peer fails mid-interaction, "model patching" or fixing a protocol on the fly remains difficult. The authors suggest "Constraint Relaxation"—allowing peers to negotiate ranges rather than fixed values—to mitigate some of this brittleness.
- Trust and Reputation: Effective matchmaking relies on peers accurately reporting their historical success in specific roles. Developing robust reputation systems to prevent dishonest reporting is a classic P2P hurdle.
Conclusion
By grounding knowledge sharing in interaction rather than static ontologies, LCC provides a scalable path for open P2P systems. It allows for a "lightweight" approach where semantic agreement is reached dynamically and only when necessary, bypassing the deadlock of universal standards.
Citation: Robertson, D., et al. (2008). "Models of Interaction as a Grounding for Peer to Peer Knowledge Sharing." Advances in Web Semantics I, LNCS 4891, pp. 81–129.
Summary updated