<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AT Protocol on kenji.blog</title><link>http://kenji.blog/en/tags/at-protocol/</link><description>Recent content in AT Protocol on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Sat, 12 Sep 2026 12:00:00 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/tags/at-protocol/index.xml" rel="self" type="application/rss+xml"/><item><title>Can Technology Bridge the Social Divide? (A Proposal from an Engineer)</title><link>http://kenji.blog/en/p/technology-and-social-divide/</link><pubDate>Sat, 12 Sep 2026 12:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/technology-and-social-divide/</guid><description>&lt;img src="http://kenji.blog/p/technology-and-social-divide/img/eyecatch.jpg" alt="Featured image of post Can Technology Bridge the Social Divide? (A Proposal from an Engineer)" />&lt;h1 id="introduction-on-the-occasion-of-my-memorable-100th-post">Introduction: On the Occasion of My Memorable 100th Post
&lt;/h1>&lt;p>It has been several years since I started this blog, during which I have repeatedly shared technical explanations, daily development memos, and occasionally reflections on the relationship between technology and society. And now, this article marks the memorable &amp;ldquo;100th&amp;rdquo; post. I would like to express my deepest gratitude to all the readers who have continued to read up to this point.&lt;/p>
&lt;p>On this milestone of the 100th post, there is a theme I desperately wanted to write down. That is the extremely significant and fundamental question in modern society: &amp;ldquo;Can technology bridge the social divide?&amp;rdquo;&lt;/p>
&lt;p>The early internet (Web 1.0) was spoken of as a utopia of &amp;ldquo;democratization of knowledge,&amp;rdquo; where anyone could freely broadcast and access information. The subsequent era of social media (Web 2.0) was supposed to connect people around the world and realize a &amp;ldquo;flat world.&amp;rdquo; However, as of 2026, what is the reality we face? Political polarization, the spread of conspiracy theories, the proliferation of fake news, and the formation of &amp;ldquo;echo chambers&amp;rdquo; and &amp;ldquo;filter bubbles&amp;rdquo; that reject mutual understanding. Rather than connecting people, technology seems to have become a powerful engine accelerating Social Divide.&lt;/p>
&lt;p>We engineers are not just entities who write code and build systems. Behind the architectures we design, the algorithms we select, and the objective functions we optimize, lie the &amp;ldquo;rules&amp;rdquo; that govern how society should be. In this article, from the perspective of an engineer, I would like to deeply explore and discuss how the current social divide is technically generated using mathematics and network theory, and simultaneously, the concrete technical approaches (bridging algorithms, decentralized SNS protocols) to overcome it.&lt;/p>
&lt;hr>
&lt;h1 id="chapter-1-the-mathematical-structure-of-echo-chambers-through-the-lens-of-network-theory">Chapter 1: The Mathematical Structure of &amp;ldquo;Echo Chambers&amp;rdquo; through the Lens of Network Theory
&lt;/h1>&lt;p>When discussing the social divide, the structural analysis of communities using &amp;ldquo;Network Theory (Graph Theory)&amp;rdquo; is an unavoidable starting point. Human relationships on social media can be modeled as a giant graph where users are &amp;ldquo;nodes (vertices)&amp;rdquo; and follows or interactions between users are &amp;ldquo;edges.&amp;rdquo;&lt;/p>
&lt;p>One of the most important metrics characterizing division is the &amp;ldquo;Clustering Coefficient.&amp;rdquo; The clustering coefficient $C_i$ of a certain user $i$ represents the probability that the friends of user $i$ are also friends with each other, and is defined by the following formula:&lt;/p>
$$ C_i = \frac{2e_i}{k_i(k_i - 1)} $$&lt;p>Here, $k_i$ is the degree (number of friends) of user $i$, and $e_i$ is the actual number of edges existing among those $k_i$ friends. On social media, the phenomenon where local networks (dense subgraphs) with abnormally high clustering coefficients are formed becomes the foundation of so-called &amp;ldquo;echo chambers.&amp;rdquo;&lt;/p>
&lt;p>Behind the formation of echo chambers works the principle of &amp;ldquo;Homophily&amp;rdquo; in sociology. As the saying &amp;ldquo;birds of a feather flock together&amp;rdquo; goes, humans have a tendency to easily connect with others who have similar attributes or ideologies. Expressing this as a probabilistic model, the probability $P(u, v)$ that an edge is formed between user $u$ and user $v$ can be assumed to be inversely proportional to their ideological distance $d(u,v)$.&lt;/p>
$$ P(u, v) \propto e^{-\beta \cdot d(u,v)} $$&lt;p>The parameter $\beta > 0$ is a constant indicating the strength of homophily. When a platform&amp;rsquo;s recommendation algorithm continuously presents &amp;ldquo;content and users that the user likes (= similar to themselves),&amp;rdquo; the value of this $\beta$ is artificially pushed up. As a result, edges (Weak Ties) between groups with different ideologies drastically decrease, and the entire network splits into multiple mutually isolated clusters.&lt;/p>
&lt;p>The following Mermaid diagram visualizes the concept of a divided network and the bridging that connects it.&lt;/p>
&lt;pre class="mermaid">
graph TD
subgraph &amp;#34;Cluster A (Conservative Echo Chamber)&amp;#34;
A1[&amp;#34;User A1&amp;#34;] --- A2[&amp;#34;User A2&amp;#34;]
A2[&amp;#34;User A2&amp;#34;] --- A3[&amp;#34;User A3&amp;#34;]
A3[&amp;#34;User A3&amp;#34;] --- A4[&amp;#34;User A4&amp;#34;]
A4[&amp;#34;User A4&amp;#34;] --- A1[&amp;#34;User A1&amp;#34;]
A1[&amp;#34;User A1&amp;#34;] --- A3[&amp;#34;User A3&amp;#34;]
end
subgraph &amp;#34;Cluster B (Liberal Echo Chamber)&amp;#34;
B1[&amp;#34;User B1&amp;#34;] --- B2[&amp;#34;User B2&amp;#34;]
B2[&amp;#34;User B2&amp;#34;] --- B3[&amp;#34;User B3&amp;#34;]
B3[&amp;#34;User B3&amp;#34;] --- B4[&amp;#34;User B4&amp;#34;]
B4[&amp;#34;User B4&amp;#34;] --- B1[&amp;#34;User B1&amp;#34;]
B2[&amp;#34;User B2&amp;#34;] --- B4[&amp;#34;User B4&amp;#34;]
end
A2[&amp;#34;User A2 (Bridge Node)&amp;#34;] -. &amp;#34;Cross-cutting Edge (Bridging)&amp;#34; .- B2[&amp;#34;User B2 (Bridge Node)&amp;#34;]
classDef cluster fill:#f9f9f9,stroke:#333,stroke-width:2px;
classDef node fill:#e1f5fe,stroke:#01579b,stroke-width:2px;
classDef bridge fill:#ffecb3,stroke:#ff6f00,stroke-width:2px,stroke-dasharray: 5 5;
class A1,A3,A4,B1,B3,B4 node;
class A2,B2 bridge;
&lt;/pre>
&lt;p>In this way, as long as the algorithm continues to adopt the objective function $J(\theta) = \sum \log P(\text{engage} | \text{user}, \text{content})$ that only optimizes for engagement (click-through rate, dwell time), the system will fall into a local optimum (strengthening of echo chambers) and move further away from the global optimum (formation of a healthy public square).&lt;/p>
&lt;hr>
&lt;h1 id="chapter-2-acceleration-of-polarization-by-algorithms-and-the-information-diffusion-model">Chapter 2: Acceleration of Polarization by Algorithms and the Information Diffusion Model
&lt;/h1>&lt;p>To think about how information spreads within an echo chamber, let&amp;rsquo;s apply the &amp;ldquo;SIR model,&amp;rdquo; a mathematical model for infectious diseases, to information diffusion.&lt;/p>
&lt;ul>
&lt;li>$S$ (Susceptible) : Users who have not yet been exposed to the information&lt;/li>
&lt;li>$I$ (Infected) : Users who believe the information and are spreading it&lt;/li>
&lt;li>$R$ (Recovered/Removed) : Users who have lost interest in the information or realized it&amp;rsquo;s fake and stopped spreading it&lt;/li>
&lt;/ul>
&lt;p>The differential equations for information propagation are expressed as follows:&lt;/p>
$$ \frac{dS}{dt} = -\alpha S I $$$$ \frac{dI}{dt} = \alpha S I - \gamma I $$$$ \frac{dR}{dt} = \gamma I $$&lt;p>Here, $\alpha$ is the &amp;ldquo;infection rate (ease of information spread),&amp;rdquo; and $\gamma$ is the &amp;ldquo;recovery rate (information saturation/forgetting).&amp;rdquo;
What&amp;rsquo;s interesting is that empirical studies show polarizing content that incites anger or fear has a significantly higher $\alpha$ compared to general information. Furthermore, since there are fewer opportunities to encounter contradictory information within an echo chamber, $\gamma$ becomes extremely low. In other words, when an algorithm tries to maximize engagement, it inevitably learns to preferentially distribute content with high $\alpha$ and low $\gamma$—namely, &amp;ldquo;extreme views and fake news.&amp;rdquo; This is the mechanism by which AI unintentionally accelerates social division.&lt;/p>
&lt;hr>
&lt;h1 id="chapter-3-technical-solution-1-bridging-algorithms-and-community-notes">Chapter 3: Technical Solution (1) Bridging Algorithms and Community Notes
&lt;/h1>&lt;p>So, how should we confront this structural flaw? The first approach is the introduction of a &amp;ldquo;Bridging Algorithm.&amp;rdquo;&lt;/p>
&lt;p>If engagement-based recommendation algorithms reward &amp;ldquo;homogeneity,&amp;rdquo; bridging algorithms reward &amp;ldquo;bridging heterogeneity.&amp;rdquo; A prime successful example of this is the &amp;ldquo;Community Notes&amp;rdquo; algorithm introduced on X (formerly Twitter).&lt;/p>
&lt;p>Community Notes is not a simple majority vote. In a majority vote, the opinion of the echo chamber with the most people would always win. The revolutionary aspect of Community Notes is that it highly evaluates &amp;ldquo;notes that people who usually disagree (belonging to different clusters) happen to uniformly rate as &amp;lsquo;helpful&amp;rsquo;.&amp;rdquo;&lt;/p>
&lt;p>To realize this, a machine learning technique called Matrix Factorization is used. The predicted score $\hat{r}_{u,n}$ of the rating (helpful or not) that user $u$ gives to note $n$ is modeled as follows:&lt;/p>
$$ \hat{r}_{u,n} = \mu + i_u + i_n + \mathbf{f}_u \cdot \mathbf{f}_n $$&lt;ul>
&lt;li>$\mu$ : Overall baseline (average rating tendency)&lt;/li>
&lt;li>$i_u$ : Rating bias of user $u$ (e.g., a person who always gives high ratings)&lt;/li>
&lt;li>$i_n$ : General quality of note $n$ (whether it&amp;rsquo;s easy for anyone to understand)&lt;/li>
&lt;li>$\mathbf{f}_u$ : Latent feature vector of user $u$ (e.g., ideological stance)&lt;/li>
&lt;li>$\mathbf{f}_n$ : Latent feature vector of note $n$&lt;/li>
&lt;/ul>
&lt;p>The algorithm learns each parameter to minimize the error between the actual rating data and the predicted scores.
What is crucial here is that the final decision to display a note is not based on a simple average rating, but on &amp;ldquo;the parameter $i_n$ indicating the general quality of the note.&amp;rdquo;&lt;/p>
&lt;p>If a certain note receives a massive number of high ratings from a specific biased group (e.g., only right-wing or only left-wing), those high ratings are absorbed by the latent vector term $\mathbf{f}_u \cdot \mathbf{f}_n$, and $i_n$ does not become high. However, if it receives high ratings from both the right ($\mathbf{f}_u > 0$) and the left ($\mathbf{f}_u &lt; 0$), it can no longer be explained solely by the dot product of the latent vectors, and as a result, the algorithm learns that &amp;ldquo;this note itself is universally excellent ($i_n$ is high).&amp;rdquo;&lt;/p>
&lt;p>Through this mathematical approach, it becomes possible to algorithmically discover and evaluate &amp;ldquo;consensus formation across echo chambers.&amp;rdquo; This is a highly powerful technical breakthrough for bridging social divisions.&lt;/p>
&lt;hr>
&lt;h1 id="chapter-4-technical-solution-2-decentralized-sns-protocols-at-protocol--activitypub">Chapter 4: Technical Solution (2) Decentralized SNS Protocols (AT Protocol / ActivityPub)
&lt;/h1>&lt;p>While bridging algorithms are powerful, the structural issue remains that a single giant corporation (centralized platform) monopolizes the algorithm. The algorithm can be changed at any time by a single management policy of the platform.&lt;/p>
&lt;p>The second approach to this is a paradigm shift at the architecture level via &amp;ldquo;Decentralized Social Protocols.&amp;rdquo; Currently, ActivityPub (adopted by Mastodon, etc.) and AT Protocol (adopted by Bluesky) are attracting significant attention.&lt;/p>
&lt;p>AT Protocol (Authenticated Transfer Protocol), in particular, has an extremely beautiful design philosophy of &amp;ldquo;separating data and algorithms.&amp;rdquo;&lt;/p>
&lt;pre class="mermaid">
graph TD
subgraph &amp;#34;User Control Layer&amp;#34;
Client[&amp;#34;Client App (Bluesky etc.)&amp;#34;]
end
subgraph &amp;#34;Data Layer (Federated)&amp;#34;
PDS1[&amp;#34;PDS (Personal Data Server) A&amp;#34;]
PDS2[&amp;#34;PDS (Personal Data Server) B&amp;#34;]
end
subgraph &amp;#34;Indexing &amp;amp; App Layer&amp;#34;
Relay[&amp;#34;Relay (Big Graph Server)&amp;#34;]
AppView[&amp;#34;AppView&amp;#34;]
end
subgraph &amp;#34;Algorithmic Layer (Composable)&amp;#34;
FeedGen1[&amp;#34;Feed Generator (Chronological)&amp;#34;]
FeedGen2[&amp;#34;Feed Generator (Bridging Algorithm)&amp;#34;]
Labeler[&amp;#34;Moderation Labeler (Fact Checkers)&amp;#34;]
end
Client --&amp;gt;|&amp;#34;Reads/Writes&amp;#34;| PDS1
Client --&amp;gt;|&amp;#34;Views&amp;#34;| AppView
PDS1 --&amp;gt;|&amp;#34;Syncs via WebSocket&amp;#34;| Relay
PDS2 --&amp;gt;|&amp;#34;Syncs via WebSocket&amp;#34;| Relay
Relay --&amp;gt;|&amp;#34;Indexes&amp;#34;| AppView
AppView -.-&amp;gt;|&amp;#34;Requests Feed&amp;#34;| FeedGen1
AppView -.-&amp;gt;|&amp;#34;Requests Feed&amp;#34;| FeedGen2
AppView -.-&amp;gt;|&amp;#34;Gets Labels&amp;#34;| Labeler
&lt;/pre>
&lt;p>The greatest achievement of the AT Protocol is that it has decoupled &amp;ldquo;feed generation (algorithms)&amp;rdquo; and &amp;ldquo;moderation (labeling)&amp;rdquo; from the main platform, making them freely selectable and composable by the users themselves (Custom Feeds / Stackable Moderation).&lt;/p>
&lt;p>Until now, we could choose &amp;ldquo;which SNS to use,&amp;rdquo; but we could not choose &amp;ldquo;which algorithm will bathe us in information.&amp;rdquo; In the world of AT Protocol, one person can choose a &amp;ldquo;chronological&amp;rdquo; feed, another can install an &amp;ldquo;academic feed that provides counterarguments to their opinions,&amp;rdquo; and yet another can subscribe to &amp;ldquo;moderation labels from a third-party organization that hides inappropriate words.&amp;rdquo;&lt;/p>
&lt;p>Backed by cryptographic technology (DID: Decentralized Identifiers) and data structures (Merkle Search Trees: MST), this protocol restores &amp;ldquo;informational self-determination&amp;rdquo; to users. As algorithms are no longer black boxes but compete and are selected in an open market, it holds the potential to transform the incentive structure from engagement-supremacy algorithms to ones that prioritize the mental health of users and the soundness of society.&lt;/p>
&lt;hr>
&lt;h1 id="chapter-5-the-philosophy-of-open-source-and-the-social-responsibility-of-engineers">Chapter 5: The Philosophy of Open Source and the Social Responsibility of Engineers
&lt;/h1>&lt;p>Thus far, I have described the analysis using network theory and the concrete technologies to overcome it (Matrix Factorization in Community Notes, decentralized architecture of AT Protocol). However, ultimately, what bridges social divisions is not mere code or mathematical formulas. It is the &amp;ldquo;human will and philosophy&amp;rdquo; that creates them.&lt;/p>
&lt;p>In the world of software engineering, there is a great culture called &amp;ldquo;Open Source.&amp;rdquo; Starting with Linux, most of the foundational technologies that build the internet have been created by strangers around the world cooperating, debating, and merging code across ideologies and borders. The open-source community possesses a mechanism not to eliminate conflicts, but to elevate them into constructive consensus building through &amp;ldquo;pull requests&amp;rdquo; and &amp;ldquo;code reviews.&amp;rdquo;&lt;/p>
&lt;p>I believe that this open-source philosophy itself will serve as a hint to repair our divided modern society. Making systems transparent, entrusting the choice of algorithms to users, and designing a decentralized public space (Public Square) where diverse values can coexist. That is a critically important social responsibility imposed on modern engineers.&lt;/p>
&lt;p>Code is law, and architecture is politics. A single line of code we write, a single API endpoint we define, or a database schema we design shapes the cognition of millions or hundreds of millions of users; it can accelerate social division, or it can build bridges that encourage dialogue.&lt;/p>
&lt;hr>
&lt;h1 id="conclusion-finishing-the-100th-article">Conclusion: Finishing the 100th Article
&lt;/h1>&lt;p>&amp;ldquo;Can technology bridge the social divide?&amp;rdquo;&lt;/p>
&lt;p>My answer to this question is: &amp;ldquo;Technology alone cannot bridge it, but properly designed technology can become a &amp;lsquo;scaffolding&amp;rsquo; for humans to overcome the divide.&amp;rdquo;&lt;/p>
&lt;p>It is impossible to completely erase fundamental human biases (homophily and confirmation bias). However, it is possible to stop the rampage of algorithms that solely pursue engagement, introduce mathematical models like Community Notes that evaluate &amp;ldquo;bridging,&amp;rdquo; and return choices to users through autonomous decentralized architectures like the AT Protocol.&lt;/p>
&lt;p>This blog marks its 100th post with this entry. In previous articles, I have focused on the so-called &amp;ldquo;How,&amp;rdquo; such as language specifications and how to use frameworks. However, in the coming era where AI automatically generates code and all technologies become commoditized, what is most important for us engineers are the ethical and philosophical questions of &amp;ldquo;What (what to make)&amp;rdquo; and &amp;ldquo;Why (why make it).&amp;rdquo;&lt;/p>
&lt;p>Technology is not magic. It is a mirror of humanity. If society is divided, it is because the systems we built are reflecting and amplifying that division. That is precisely why I believe that by rewriting the systems, we can slightly, but surely, change the state of society for the better.&lt;/p>
&lt;p>From the 101st post onward, as an engineer, I would like to continue standing at the intersection of code and society, deepening my thoughts. Thank you very much for reading this long piece to the end. I hope that the networks of the future will not be walls that divide us, but bridges for us to understand each other.&lt;/p>
&lt;p>(End)&lt;/p></description></item></channel></rss>